[Bug libstdc++/49745] error: ‘int truncate’ redeclared as different kind of symbol

paolo.carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Fri Jul 15 10:53:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49745

--- Comment #17 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-07-15 10:53:11 UTC ---
Indeed, I was having the same thought... _GLIBCXX_HAS_GTHREADS is a bit
stricter though (doesn't allow 0), but would do. And I agree that in that case
we should use another name. Essentially, about the ordering, just double check
that, as should normally be, c++config.h is included before anything else.



More information about the Gcc-bugs mailing list