[committed] libstdc++: Add #error to some files that depend on a specific standard mode
François Dumont
frs.dumont@gmail.com
Thu Aug 12 14:22:39 GMT 2021
On 12/08/21 4:04 pm, Jonathan Wakely via Libstdc++ wrote:
> Give more explicit errors if these files are not built with the correct
> -std options.
>
> libstdc++-v3/ChangeLog:
>
> * src/c++98/locale_init.cc: Require C++11.
> * src/c++98/localename.cc: Likewise.
> * src/c++98/misc-inst.cc: Require C++98.
>
> Tested powerpc64le-linux. Committed to trunk.
>
Shouldn't they be moved to src/c++11 ?
I thought that things in src/c++98 were built with -std=c++98 making
your patch wrong but I see it is not the case.
More information about the Libstdc++
mailing list