diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2025-03-15 09:20:13 +0000 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2025-03-18 10:18:11 +0000 |
commit | 7865869b44d207ce7554305ce3368e1143028cf7 (patch) | |
tree | eccc6170cd11ba39d8325aafb93b891ac04c1ef9 /gcc | |
parent | 99a3f013c3bb8bc022ca488b40aa18fd97b5224d (diff) | |
download | gcc-7865869b44d207ce7554305ce3368e1143028cf7.zip gcc-7865869b44d207ce7554305ce3368e1143028cf7.tar.gz gcc-7865869b44d207ce7554305ce3368e1143028cf7.tar.bz2 |
cobol: Do not include C++ headers after system.h.
The headers mentioned in parse.y are already unconditionally included
by system.h (via cobol-system.h).
gcc/cobol/ChangeLog:
* parse.y: Remove c++ header includes appearing after
system.h.
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cobol/parse.y | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/cobol/parse.y b/gcc/cobol/parse.y index c901bd6..d8f5175 100644 --- a/gcc/cobol/parse.y +++ b/gcc/cobol/parse.y @@ -30,9 +30,6 @@ %code requires { #include <fstream> // Before cobol-system because it uses poisoned functions #include "cobol-system.h" - #include <cmath> - #include <algorithm> - #include <map> #include "../../libgcobol/io.h" #include "../../libgcobol/ec.h" @@ -216,9 +213,6 @@ new_literal( const char initial[], enum radix_t radix ); #pragma GCC diagnostic pop - - #include <list> - enum select_clause_t { access_clause_e = 0x0001, alt_key_clause_e = 0x0002, |