This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: `--syntax-only' after error
- To: kamil at dwd dot interkom dot pl
- Subject: Re: `--syntax-only' after error
- From: craig at jcb-sc dot com
- Date: 18 Feb 1999 13:36:47 -0000
- Cc: Marc dot Espie at liafa1 dot liafa dot jussieu dot fr, egcs at egcs dot cygnus dot com
- Cc: craig at jcb-sc dot com
- References: <Pine.LNX.3.96.990218133352.1057A-100000@jinks.home>
>I agree. But I wasn't talking about this option, but rather about the
>syntax-only option. I do agree with you that having an option to abort
>after the first error might be useful to have, even though I personally
>will probably never use it.
The -fsyntax-only option already exists and is supported, though in
the current sources (1.2) it causes the compiler to crash for some
sources (on my to-do list to fix). I think you might be confused
by the subject header -- which actually refers to the idea of
turning on -fsyntax-only (mispelled in the header) partway through
the compilation, when the first error message is printed, to do less
work during the rest of the compile (which also means not printing
certain kinds of diagnostics, including potentially useful warnings,
later on -- e.g. unitialized-variable and asm-related diagnostics).
The proposed change(s) and option(s) seem to have died for
lack of both interest and consensus. I'm happy enough with that
-- well, personally, I'd probably never have used the different
behavior anyway, but I mean I think that's the best approach for
gcc at this time, to do nothing (except fix the -fsyntax-only bug).
tq vm, (burley)