]> gcc.gnu.org Git - gcc.git/commit
libstdc++: Define INSTANTIATE_FACET_ACCESSORS macro in compat source [PR103755]
authorJonathan Wakely <jwakely@redhat.com>
Fri, 11 Nov 2022 22:36:01 +0000 (22:36 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Sat, 12 Nov 2022 01:29:46 +0000 (01:29 +0000)
commita7f51059fb009dcd7d491d6b2164bce75dbd9975
tree8b7290aeb5acabe0c1a39da610c30d370b589d20
parent5b6ce16adece24e24a4980a22792b2cb2a84b6d5
libstdc++: Define INSTANTIATE_FACET_ACCESSORS macro in compat source [PR103755]

compatibility-ldbl-alt128.cc re-includes locale-inst-numeric.h and
locale-inst-monetary.h but wasn't defining the macros added in
r13-3888-gb3ac43a3c05744.

Put those macros in a new internal header that can be included everywhere
they're used.

libstdc++-v3/ChangeLog:

PR libstdc++/103755
* src/c++11/locale-inst-monetary.h: Include new header.
* src/c++11/locale-inst-numeric.h: Likewise.
* src/c++11/locale-inst.cc: Likewise.
(INSTANTIATE_USE_FACET, INSTANTIATE_FACET_ACCESSORS): Move
macro definitions to ...
* src/c++11/facet_inst_macros.h: New file.
libstdc++-v3/src/c++11/facet_inst_macros.h [new file with mode: 0644]
libstdc++-v3/src/c++11/locale-inst-monetary.h
libstdc++-v3/src/c++11/locale-inst-numeric.h
libstdc++-v3/src/c++11/locale-inst.cc
This page took 0.057008 seconds and 6 git commands to generate.