This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- Comment #5 from ptsekov at gmx dot net  2005-10-05 08:36 -------
Paolo, I guess it is obvious to anyone around that _S_empty_rep_storage is
there to speed up things. What is not obvious to Cygwin users is that this
optimization actually makes their programs crash. And let me assure you that
the crash is not easy to track down unless you want to step trough assembler
code.

Anyway, what I meant was that it may be good to have
_GLIBCXX_FULLY_DYNAMIC_STRING undefined for the common case but not for the
current libstdc++ on Cygwin i.e. libstdc++ comes as a static library. Maybe
this question concerns only Cygwin and is not of general interest and as such
should be discussed only on the Cygwin mailing list.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24196


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]