Unable to use caret diagnostics
Ian Lance Taylor
iant@google.com
Tue Mar 5 19:35:00 GMT 2013
On Tue, Mar 5, 2013 at 11:06 AM, Daniel B Mosesson
<dmosess1@binghamton.edu> wrote:
> daniel@daniel-Virtual-Machine:~/programming$ gcc gcc-test1.c
> -fsyntax-only -fdiagnostics-show-caret
> gcc: error: unrecognized command line option '-fdiagnostics-show-caret'
> daniel@daniel-Virtual-Machine:~/programming$ gcc --version
> gcc (Ubuntu/Linaro 20120314-0ubuntu2) 4.8.0 20120314 (experimental)
> [trunk revision 185382]
> Copyright (C) 2012 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
You are running sources from 20120314, nearly a year ago. The caret
diagnostic code was added in April 2012. So it will be in 4.8 but
it's not in the version you are testing.
Sorry I didn't notice that in your original message.
Ian
More information about the Gcc-help
mailing list