Dumb question w.r.t. thread safety...
Benjamin Kosnik
bkoz@cygnus.com
Sat Apr 1 00:00:00 GMT 2000
>
> Might it also make sense, in the context of the "real release" of
> libstdc++-v3 (the one where it gets put in with the compiler) to
> also request that the GCC folks change the compiler defaults?
>
> For example: -fnew-abi -fnew-exceptions -fno-honor-std
> as the new default?
I'm sure we will cross this bridge when we come to it.
I'd really be in favor of -fhonor-std on by default though. I believe it
is the consensus of this list to start using std:: as soon as possible.
Because libstdc++-v3's stdexcept.cc depends on exception, which is part
of libgcc.a, the c++ library and libgcc.a will have to be compiled with
flags that use the same ABI. As std:: changes mangling, this is one of
the things that I would hope to have on by default. (Or else we will have
to do something like the relibgcc flag, which is not very elegant.)
-benjamin
More information about the Libstdc++
mailing list