[Bug libstdc++/24196] Using string instances to pass arguments to dlls fails

2009-10-24 Thread johnw at gnu dot org
--- 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

[Bug libstdc++/24196] Using string instances to pass arguments to dlls fails

2009-10-24 Thread johnw at gnu dot org
--- 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

[Bug libstdc++/24196] Using string instances to pass arguments to dlls fails

2009-10-24 Thread johnw at gnu dot org
--- 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

[Bug pch/39420] Using pre-compiled headers results in a bus error

2009-03-10 Thread johnw at gnu dot org
--- 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

[Bug pch/39420] Using pre-compiled headers results in a bus error

2009-03-10 Thread johnw at gnu dot org
--- 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

[Bug pch/39420] New: Using pre-compiled headers results in a bus error

2009-03-10 Thread johnw at gnu dot org
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