--- Comment #23 from johnw at gnu dot org 2009-10-25 05:50 ---
I should also mention, this discrepancy only occurs when _GLIBCXX_DEBUG=1.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24196
--- Comment #22 from johnw at gnu dot org 2009-10-25 05:43 ---
A little more data:
With the stock compiler, g++ 4.2.1:
vulcan /tmp $ otool -L bug
bug:
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current
version 7.9.0)
/usr/lib/libSystem.B.dylib
--- Comment #21 from johnw at gnu dot org 2009-10-25 05:40 ---
I'm actually getting this same error on Snow Leopard (Mac OS X 10.6.0). It's
pretty easy to reproduce with Boost (1.40):
#include
#include
#include
int main()
{
std::ostringstream buf;
boost::variant da
--- Comment #3 from johnw at gnu dot org 2009-03-10 19:32 ---
Hmm... I have ensured that the #include chain in every source file results in
the given header appearing first. That is, whatever a file includes, it will
include utils.h, which includes system.hh. And so, it works with 4.2
--- Comment #1 from johnw at gnu dot org 2009-03-10 08:42 ---
Created an attachment (id=17435)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17435&action=view)
The file resulting from using -save-temps
This code uses Boost extensively, although I don't know if
RMED
Severity: normal
Priority: P3
Component: pch
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: johnw at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39420