]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Fix several preprocessor directives
authorFrançois Dumont <fdumont@gcc.gnu.org>
Fri, 28 Jul 2023 17:17:03 +0000 (19:17 +0200)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Sun, 30 Jul 2023 13:52:00 +0000 (15:52 +0200)
commitc9434ea40e20584a44a0b6fc8659ee983d5f2dd2
tree09f32928a0809042fd017df808c752e18762935d
parent861962eee1e7cefa163009941ee751288c08edef
libstdc++: Fix several preprocessor directives

A wrong usage of #define in place of a #error seems to have been replicated
at different places in source files.

libstdc++-v3/ChangeLog:

* src/c++11/compatibility-ldbl-facets-aliases.h: Replace #define with
proper #error.
* src/c++11/locale-inst-monetary.h: Likewise.
* src/c++11/locale-inst-numeric.h: Likewise.
libstdc++-v3/src/c++11/compatibility-ldbl-facets-aliases.h
libstdc++-v3/src/c++11/locale-inst-monetary.h
libstdc++-v3/src/c++11/locale-inst-numeric.h