aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2025-03-20 17:08:57 +0000
committerIain Sandoe <iain@sandoe.co.uk>2025-03-28 06:51:11 +0000
commit7ba5d70266107de7226e0a163305a17d8bd22331 (patch)
tree45b57ae847a4eabc62fe78869180b32727958801 /gcc
parentdebe66a1e29a7e615c8b79d97881accb088d8d21 (diff)
downloadgcc-7ba5d70266107de7226e0a163305a17d8bd22331.zip
gcc-7ba5d70266107de7226e0a163305a17d8bd22331.tar.gz
gcc-7ba5d70266107de7226e0a163305a17d8bd22331.tar.bz2
cobol: Do not include <cmath> (no longer needed)
Several of enumerators in parse.y conflict with ones declared in at least some versions of <cmath> .. e.g. "OVERFLOW". The header is no longer needed since the FE is not trying to do host arithmetic. gcc/cobol/ChangeLog: * cobol-system.h: Remove <cmath>. Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cobol/cobol-system.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/cobol/cobol-system.h b/gcc/cobol/cobol-system.h
index 81529bd..ff95835 100644
--- a/gcc/cobol/cobol-system.h
+++ b/gcc/cobol/cobol-system.h
@@ -53,7 +53,6 @@
#include <deque>
#include <numeric>
#include <limits>
-#include <cmath>
#include <unordered_map>
#include <unordered_set>