aboutsummaryrefslogtreecommitdiff
path: root/gcc/cobol/genutil.h
diff options
context:
space:
mode:
authorBob Dubner <rdubner@symas.com>2025-03-18 07:47:39 -0400
committerRobert Dubner <rdubner@symas.com>2025-03-18 12:19:15 -0400
commitc49382fd221fd40bce35a954d64bbda0fd14edef (patch)
tree868361212a68821bfe4e0d3660149304b2197cf5 /gcc/cobol/genutil.h
parent563e6d926d9826d76895086d0c40a29dc90d66e5 (diff)
downloadgcc-c49382fd221fd40bce35a954d64bbda0fd14edef.zip
gcc-c49382fd221fd40bce35a954d64bbda0fd14edef.tar.gz
gcc-c49382fd221fd40bce35a954d64bbda0fd14edef.tar.bz2
cobol: Bring the code base into compliance with C++14
gcc/cobol * cdf.y: Make compatible with C++14. * copybook.h: Likewise. * dts.h: Likewise. * except.cc: Likewise. * genapi.cc: Likewise. * genutil.cc: Likewise. * genutil.h: Likewise. * lexio.cc: Likewise. * parse.y: Likewise. * parse_ante.h: Likewise. * show_parse.h: Likewise. * symbols.cc: Likewise. * symbols.h: Likewise. * util.cc: Likewise.
Diffstat (limited to 'gcc/cobol/genutil.h')
-rw-r--r--gcc/cobol/genutil.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/cobol/genutil.h b/gcc/cobol/genutil.h
index e252377..b2868f7 100644
--- a/gcc/cobol/genutil.h
+++ b/gcc/cobol/genutil.h
@@ -103,7 +103,11 @@ void get_binary_value( tree value,
tree hilo = NULL);
tree get_data_address( cbl_field_t *field,
tree offset);
+
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wpedantic"
__int128 get_power_of_ten(int n);
+#pragma GCC diagnostic pop
void scale_by_power_of_ten_N(tree value,
int N,
bool check_for_fractional = false);