Hey all, this thread started on the libstdc++ list where I asked a
couple of questions about patching std::string for C++11 compliance. I
have figured how to do that and it yields a library that only works in
the C++11 mode. This is not an issue here as we deploy a versioned
runtime into a specific path. However, the whole thing is a bit
inconvenient to C++ devs as they have to pass -std=c++11 to get anything
done.
So, my question is - how do I patch the notion of the "default" C++
dialect that gcc has? I have patched "cxx_dialect" in
gcc/c-family/c-common.c, yet that is not enough. Is there some other
thing that overwrites the default?
Thanks in advance,
Oleg.