Re: Unable to use caret diagnostics

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 5, 2013 at 11:06 AM, Daniel B Mosesson
<dmosess1@xxxxxxxxxxxxxx> 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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux