You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error in stdatomic_helper.h while compiling with gcc version > 5 #13
@firesurfer if you have a chance, can you try the above and let me know if it works? I don't have a GCC 5 machine handy. If not I can set one up later.
#elif defined(__clang__) && defined(__has_feature)
#if !__has_feature(c_atomic)
// If Clang and no c_atomics (true for some older versions), use the compatability header.
#include"stdatomic_helper/gcc/stdatomic.h"
#endif
Activity
wjwwood commentedon Jan 5, 2016
Interesting, thanks. I guess the evaluation of the conditional doesn't stop when
defined(__has_feature)is false.I suppose we can try something like this:
wjwwood commentedon Jan 5, 2016
@firesurfer if you have a chance, can you try the above and let me know if it works? I don't have a GCC 5 machine handy. If not I can set one up later.
firesurfer commentedon Jan 5, 2016
Hey,
if I change it to:
it compiles.
change preprocess logic to fix error with gcc5
wjwwood commentedon Jan 5, 2016
I proposed this as a fix: #14
Fix leak in test_logging_macros.cpp (ros2#152)
Fix leak in test_logging.cpp (ros2#153)
Merge pull request ros2#13 from mauropasse/mauro/use-void-ptr