This is the mail archive of the gcc@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]

Re: Long-term plan for C++98/C++11 incompatibility


P.S. we already document how to link applications using two
incompatible versions of libstdc++:
http://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html#abi.testing.multi

(whether you can actually make that work in practice is another matter!)

The situation is similar for C++98 and C++11 code, if the incompatible
standard library types aren't used in the library interfaces then they
should be able to coexist and not interfere.

If in a future release we use namespace and/or symbol versioning to
keep the c++98 and c++11 code distinct then they could coexist in the
same library and won't interfere at all.


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