Mercurial > hg > CbC > CbC_gcc
comparison gcc/doc/cppopts.texi @ 63:b7f97abdc517 gcc-4.6-20100522
update gcc from gcc-4.5.0 to gcc-4.6
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 24 May 2010 12:47:05 +0900 |
parents | a06113de4d67 |
children | f6334be47118 |
comparison
equal
deleted
inserted
replaced
56:3c8a44c06a95 | 63:b7f97abdc517 |
---|---|
1 @c Copyright (c) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 | 1 @c Copyright (c) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, |
2 @c Free Software Foundation, Inc. | 2 @c 2010, Free Software Foundation, Inc. |
3 @c This is part of the CPP and GCC manuals. | 3 @c This is part of the CPP and GCC manuals. |
4 @c For copying conditions, see the file gcc.texi. | 4 @c For copying conditions, see the file gcc.texi. |
5 | 5 |
6 @c --------------------------------------------------------------------- | 6 @c --------------------------------------------------------------------- |
7 @c Options affecting the preprocessor | 7 @c Options affecting the preprocessor |
372 knows about C and C++ standards; others may be added in the future. | 372 knows about C and C++ standards; others may be added in the future. |
373 | 373 |
374 @var{standard} | 374 @var{standard} |
375 may be one of: | 375 may be one of: |
376 @table @code | 376 @table @code |
377 @item iso9899:1990 | 377 @item c90 |
378 @itemx c89 | 378 @itemx c89 |
379 The ISO C standard from 1990. @samp{c89} is the customary shorthand for | 379 @itemx iso9899:1990 |
380 The ISO C standard from 1990. @samp{c90} is the customary shorthand for | |
380 this version of the standard. | 381 this version of the standard. |
381 | 382 |
382 The @option{-ansi} option is equivalent to @option{-std=c89}. | 383 The @option{-ansi} option is equivalent to @option{-std=c90}. |
383 | 384 |
384 @item iso9899:199409 | 385 @item iso9899:199409 |
385 The 1990 C standard, as amended in 1994. | 386 The 1990 C standard, as amended in 1994. |
386 | 387 |
387 @item iso9899:1999 | 388 @item iso9899:1999 |
389 @itemx iso9899:199x | 390 @itemx iso9899:199x |
390 @itemx c9x | 391 @itemx c9x |
391 The revised ISO C standard, published in December 1999. Before | 392 The revised ISO C standard, published in December 1999. Before |
392 publication, this was known as C9X@. | 393 publication, this was known as C9X@. |
393 | 394 |
394 @item gnu89 | 395 @item c1x |
396 The next version of the ISO C standard, still under development. | |
397 | |
398 @item gnu90 | |
399 @itemx gnu89 | |
395 The 1990 C standard plus GNU extensions. This is the default. | 400 The 1990 C standard plus GNU extensions. This is the default. |
396 | 401 |
397 @item gnu99 | 402 @item gnu99 |
398 @itemx gnu9x | 403 @itemx gnu9x |
399 The 1999 C standard plus GNU extensions. | 404 The 1999 C standard plus GNU extensions. |
405 | |
406 @item gnu1x | |
407 The next version of the ISO C standard, still under development, plus | |
408 GNU extensions. | |
400 | 409 |
401 @item c++98 | 410 @item c++98 |
402 The 1998 ISO C++ standard plus amendments. | 411 The 1998 ISO C++ standard plus amendments. |
403 | 412 |
404 @item gnu++98 | 413 @item gnu++98 |