[Bug libstdc++/8670] Alignment problem in std::basic_string
jamesc at dspsrv dot com
gcc-bugzilla@gcc.gnu.org
Tue Apr 3 15:30:00 GMT 2007
------- Comment #20 from jamesc at dspsrv dot com 2007-04-03 16:30 -------
I can see this problem, solaris 10 and gcc 4.1.1.
The workaround suggested by the following person works:
Margarita Manterola
http://www.mail-archive.com/debian-bugs-rc@lists.debian.org/msg67774.html
via Darren Long
http://mailman.dtnrg.org/pipermail/dtn-users/2007-January/000448.html
// include iostream before string to avoid stdc++ bug
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8670
#include <iostream>
#include <string>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8670
More information about the Gcc-bugs
mailing list