https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119769
Simon Sobisch <simonsobisch at gnu dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|FIXED |--- --- Comment #2 from Simon Sobisch <simonsobisch at gnu dot org> --- I agree that this provides a good fix in general and something that may be useful to fix this bug - but this bug is still open: * if "-dialect gnu" is used, then there should be no additional line needed * at least if the gcobc wrapper script is used, that should not be necessary (I'd prefer that to be implemented via -dialect, not via a hack that uses --include binary-c-long.cpy with the code suggested) * the suggested workaround only works correctly for 64bit gcc environments, in 32bit it would equate to BINARY-LONG (not sure if conditional compilation works again in gcobol and I haven't checked its manpage for implicit defined compiler constants that can be used to check for 32bit OS which may be used here)