On 2005-06-14 13:37:41 -0400, Scott Robert Ladd wrote:
> I suppose I need to be consistent... ;) I've said in past threads,
> GCC should default to -ansi -std=c99/c++98 -pedantic, and any
> deviation should require specification of an option.

You're not consistent here.

[from the gcc 4.0 man page]
  -std=
      Determine the language standard.  This option is currently only
      supported when compiling C or C++.  A value for this option must be
      provided; possible values are

      c89
      iso9899:1990
          ISO C90 (same as -ansi).

What you want is -std=c99/c++98 -pedantic.

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA

Reply via email to