diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2025-03-16 00:18:01 +0000 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2025-03-20 19:51:14 +0000 |
commit | 9e67a160553c7f06f32c5eb53867c935bc40510f (patch) | |
tree | 24169d1bbebe1e3e33f39ba3e542ba639db5fd1a /gcc | |
parent | 4f68873e0d2f590c575fb82d08da01c229ef6cb0 (diff) | |
download | gcc-9e67a160553c7f06f32c5eb53867c935bc40510f.zip gcc-9e67a160553c7f06f32c5eb53867c935bc40510f.tar.gz gcc-9e67a160553c7f06f32c5eb53867c935bc40510f.tar.bz2 |
cobol: Do not overload int64_t, overload long and long long.
Since the type that is ued for int64_t varies between platforms trying
to overload it creates ambiguous or conflicting overloads.
gcc/cobol/ChangeLog:
* cdfval.h (struct cdfval_t): Overload long instead of int64_t.
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cobol/cdfval.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cobol/cdfval.h b/gcc/cobol/cdfval.h index 1453f2a..4682db80 100644 --- a/gcc/cobol/cdfval.h +++ b/gcc/cobol/cdfval.h @@ -79,7 +79,7 @@ struct cdfval_t : public cdfval_base_t { cdfval_base_t::string = NULL; cdfval_base_t::number = value; } - cdfval_t( int64_t value ) + cdfval_t( long value ) : lineno(yylineno), filename(cobol_filename()) { cdfval_base_t::off = false; |