This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/49745] error: âint truncateâ redeclared as different kind of symbol
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 15 Jul 2011 10:53:13 +0000
- Subject: [Bug libstdc++/49745] error: âint truncateâ redeclared as different kind of symbol
- Auto-submitted: auto-generated
- References: <bug-49745-4@http.gcc.gnu.org/bugzilla/>
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.