diff options
author | FX Coudert <fxcoudert@gmail.com> | 2024-07-12 15:39:50 +0100 |
---|---|---|
committer | Gaius Mulley <gaiusmod2@gmail.com> | 2024-07-12 15:39:50 +0100 |
commit | f4047a8614d2215e0d6acf071c521ac08ab1bbb2 (patch) | |
tree | 3cd5a4178a6a38f44324081d30583499f647d861 /libcpp/include | |
parent | ae829a27785307232e4db0df6a30ca275941b613 (diff) | |
download | gcc-f4047a8614d2215e0d6acf071c521ac08ab1bbb2.zip gcc-f4047a8614d2215e0d6acf071c521ac08ab1bbb2.tar.gz gcc-f4047a8614d2215e0d6acf071c521ac08ab1bbb2.tar.bz2 |
modula2: bootstrap fix for string and vector headers.
This patch fixes the include of headers (<string> and <vector>) which
are included after GCC's system.h has been included. It defines
INCLUDE_STRING before including "system.h". This allows gcc to
bootstrap with Apple clang 15.
gcc/m2/ChangeLog:
* gm2-gcc/m2linemap.cc (INCLUDE_STRING): Define before
include of gcc-consolidation.h.
* gm2spec.cc (INCLUDE_STRING): Define before include of
system.h.
(INCLUDE_VECTOR): Ditto.
Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
Diffstat (limited to 'libcpp/include')
0 files changed, 0 insertions, 0 deletions