This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: Using __gnu_cxx::__vstring everywhere


On 18 December 2013 04:14, Oleg Smolsky wrote:
> OK I've replaced std::string with a different (conforming) implementation
> which happens to use C++11 features. This is fine for our usecase as all C++
> users specify -std=c++11.
>
> My question is as follows: is it possible to force g++ to default to that
> dialect? What do I need to hack?

(That's not really a libstdc++ question).

You might be able to do it with a spec file, or if you are happy to
change the code then see the variable cxx_dialect defined in
gcc/c-family/c-common.c


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