[Bug libstdc++/25719] New: ostringstream::str().c_str() returns pointer to unallocated memory

2006-01-08 Thread lawless at spamcop dot net
piler. -- Summary: ostringstream::str().c_str() returns pointer to unallocated memory Product: gcc Version: 4.0.1 Status: UNCONFIRMED Severity: major Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu do

[Bug libstdc++/25719] ostringstream::str().c_str() returns pointer to unallocated memory

2006-01-08 Thread lawless at spamcop dot net
--- Comment #1 from lawless at spamcop dot net 2006-01-09 05:39 --- Created an attachment (id=10597) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10597&action=view) test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25719

[Bug libstdc++/25719] ostringstream::str().c_str() returns pointer to unallocated memory

2006-01-09 Thread lawless at spamcop dot net
--- Comment #3 from lawless at spamcop dot net 2006-01-09 16:15 --- The string object in the test case does not die until the 'main' function is exited. The destructor is not called before the 'return' statement, which is after the 'printit' function call.

[Bug libstdc++/25719] ostringstream::str().c_str() returns pointer to unallocated memory

2006-01-09 Thread lawless at spamcop dot net
--- Comment #5 from lawless at spamcop dot net 2006-01-09 16:29 --- Never mind. Your are correct. Got bit by the temporary object. I'd turn that language feature off if I could. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25719

[Bug c++/24272] strange link error with ACE

2006-03-10 Thread lawless at spamcop dot net
--- Comment #4 from lawless at spamcop dot net 2006-03-10 23:36 --- This bug is not a dupliate of bug 19664. I just applied 'gcc-push-pop-visibility.patch' to gcc 4.0.2 on 'x86_64' and the problem is still there: /usr/bin/ld: .shobj/Logging_Strategy.o: relocation R

[Bug c++/21142] New: inherited class member not visible in complex templated hierarchy

2005-04-20 Thread lawless at spamcop dot net
Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: lawless at spamcop dot net CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu

[Bug c++/21142] inherited class member not visible in complex templated hierarchy

2005-04-20 Thread lawless at spamcop dot net
--- Additional Comments From lawless at spamcop dot net 2005-04-21 06:09 --- Created an attachment (id=8696) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8696&action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21142

[Bug c++/21142] inherited class member not visible in complex templated hierarchy

2005-04-21 Thread lawless at spamcop dot net
--- Additional Comments From lawless at spamcop dot net 2005-04-21 20:25 --- STUPID! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21142