https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119331

--- Comment #3 from James K. Lowden <jklowden at gcc dot gnu.org> ---
This patch awaits work on the command-line interface for warnings and options.
As of now, ECs can be turns on and off via CDF, but can be enabled only via the
command-line.  That puts the compiler in compliance with ISO but out of
compliance with GCC convention.  

As a workaround, ECs can be turned on and off as COBOL CDF text in a prepended
file with the -include option.  

If the program (or command line) attempts to enable an unimplemented EC, the
compiler really has no choice but to issue an error.  The user can decide if
the program is correct with the EC disabled, and make the necessary adjustment.
 The compiler is not so privileged.  :-)

Reply via email to