hi,
I have got problems using c++ 11 with tunables .compiling this snippet
code with -std=c++0x gcc option fails to next error messages:
#include <xenomai/init.h>
#include <xenomai/tunables.h>
/nfs/solaris/AFFAIRES_ECLIPSE/DEVELOPPEMENT/DEVELOPPEMENTS_RD/DEBIAN_64BITS/sancelot/KERNEL/TARGET/usr/xenomai-3.0-igb/include/boilerplate/tunables.h:40:43:
error: variable or field '__assign_cpu_affinity_config' declared void
void __tunable_set_call(__name, __scope)(typeof(__type) __val)
^
/nfs/solaris/AFFAIRES_ECLIPSE/DEVELOPPEMENT/DEVELOPPEMENTS_RD/DEBIAN_64BITS/sancelot/KERNEL/TARGET/usr/xenomai-3.0-igb/include/boilerplate/tunables.h:46:2:
note: in expansion of macro '__define_tunable'
__define_tunable(__name, __type, __val, config)
^
/nfs/solaris/AFFAIRES_ECLIPSE/DEVELOPPEMENT/DEVELOPPEMENTS_RD/DEBIAN_64BITS/sancelot/KERNEL/TARGET/usr/xenomai-3.0-igb/include/boilerplate/tunables.h:72:15:
note: in expansion of macro 'define_config_tunable'
static inline define_config_tunable(cpu_affinity, cpu_set_t, cpus)
^
/nfs/solaris/AFFAIRES_ECLIPSE/DEVELOPPEMENT/DEVELOPPEMENTS_RD/DEBIAN_64BITS/sancelot/KERNEL/TARGET/usr/xenomai-3.0-igb/include/boilerplate/tunables.h:40:56:
error: expected primary-expression before ')' token
void __tunable_set_call(__name, __scope)(typeof(__type) __val)
Regards,
S.ancelot
_______________________________________________
Xenomai mailing list
[email protected]
https://xenomai.org/mailman/listinfo/xenomai