Commit b3ae6c0f by Steven G. Kargl

error.c: Use flag_fatal_error.

    *error.c: Use flag_fatal_error.
    *invoke.texi:  Remove -Werror from list of options.

From-SVN: r106595
parent 689a90a1
......@@ -621,6 +621,9 @@ gfc_error_now (const char *nocmsgid, ...)
error_char ('\0');
buffer_flag = i;
if (flag_fatal_errors)
exit (1);
}
......@@ -687,6 +690,9 @@ gfc_error_check (void)
if (error_buffer.message != NULL)
fputs (error_buffer.message, stderr);
error_buffer.flag = 0;
if (flag_fatal_errors)
exit (1);
}
return rc;
......
......@@ -128,8 +128,7 @@ by type. Explanations are in the following sections.
-fsyntax-only -pedantic -pedantic-errors @gol
-w -Wall -Waliasing -Wconversion @gol
-Wimplicit-interface -Wnonstd-intrinsics -Wsurprising -Wunderflow @gol
-Wunused-labels -Wline-truncation @gol
-Werror -W}
-Wunused-labels -Wline-truncation -W}
@item Debugging Options
@xref{Debugging Options,,Options for Debugging Your Program or GCC}.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment