This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Using __gnu_cxx::__vstring everywhere
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Oleg Smolsky <oleg dot smolsky at riverbed dot com>
- Cc: "libstdc++" <libstdc++ at gcc dot gnu dot org>
- Date: Thu, 19 Dec 2013 01:23:28 +0000
- Subject: Re: Using __gnu_cxx::__vstring everywhere
- Authentication-results: sourceware.org; auth=none
- References: <52A0B3AD dot 2010608 at riverbed dot com> <52B1210D dot 8090100 at riverbed dot com>
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