Problem with atomic_32.h when included from C++ source
Hello,
I'm seeing an issue when trying to compile a C++ application that includes native/task.h. It eventually winds up including atomic_32.h which has a function xnarch_atomic_cmpxchg which takes a function argument named 'new'. This conflicts with the C++ compiler's reserved keyword and generates compiler warnings.
-R
Quoted 8 lines · Rob Wheeler
Hello,
I'm seeing an issue when trying to compile a C++ application that includes
native/task.h. It eventually winds up includingatomic_32.hwhich has a functionxnarch_atomic_cmpxchgwhich takes a function argument named 'new'. This conflicts with the C++ compiler's reserved keyword and generates compiler warnings.
Fixed in trunk. Thanks.
Quoted 9 lines
-R
------------------------------------------------------------------------
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help
Signature · 1 line
Philippe.