[Bug pch/40272] error using precompiled headers with extra debug info (-g3)

2010-06-08 Thread jay dot foad at gmail dot com
--- Comment #3 from jay dot foad at gmail dot com 2010-06-08 14:24 --- I've just seen this too: $ gcc --version gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3 [...] $ cat a.h void a(void); $ cat b.h #include a.h $ cat b.c #include b.h void b(void) {} $ gcc -c -g3 a.h $ gcc -c -g3 b.c /tmp

[Bug libstdc++/40160] -fno-rtti vs _GLIBCXX_DEBUG

2009-05-18 Thread jay dot foad at gmail dot com
--- Comment #8 from jay dot foad at gmail dot com 2009-05-18 09:46 --- Thanks Paolo! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40160

[Bug libstdc++/40160] New: -fno-rtti vs _GLIBCXX_DEBUG

2009-05-15 Thread jay dot foad at gmail dot com
Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jay dot foad at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40160

[Bug libstdc++/40160] -fno-rtti vs _GLIBCXX_DEBUG

2009-05-15 Thread jay dot foad at gmail dot com
--- Comment #2 from jay dot foad at gmail dot com 2009-05-15 14:37 --- I'm using debug mode to catch problems like v[i] where i = v.size(). I think it would be very nice if this worked with -fno-rtti. I don't see why RTTI should be required to make this work. But then, I have no idea

[Bug libstdc++/40160] -fno-rtti vs _GLIBCXX_DEBUG

2009-05-15 Thread jay dot foad at gmail dot com
--- Comment #4 from jay dot foad at gmail dot com 2009-05-15 15:39 --- typeid used in formatter.h only (please confirm, if you can) If I replace typeid(...) with 0 in formatter.h then I can at least compile the following with -fno-rtti -D_GLIBCXX_DEBUG: #include algorithm #include