OSDN Git Service

2006-12-22 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / c.opt
1 ; Options for the C, ObjC, C++ and ObjC++ front ends.
2 ; Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
3 ;
4 ; This file is part of GCC.
5 ;
6 ; GCC is free software; you can redistribute it and/or modify it under
7 ; the terms of the GNU General Public License as published by the Free
8 ; Software Foundation; either version 2, or (at your option) any later
9 ; version.
10 ;
11 ; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12 ; WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 ; FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14 ; for more details.
15 ;
16 ; You should have received a copy of the GNU General Public License
17 ; along with GCC; see the file COPYING.  If not, write to the Free
18 ; Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
19 ; 02110-1301, USA.
20
21 ; See the GCC internals manual for a description of this file's format.
22
23 ; Please try to keep this file in ASCII collating order.
24
25 Language
26 C
27
28 Language
29 ObjC
30
31 Language
32 C++
33
34 Language
35 ObjC++
36
37 -output-pch=
38 C ObjC C++ ObjC++ Joined Separate
39
40 A
41 C ObjC C++ ObjC++ Joined Separate
42 -A<question>=<answer>   Assert the <answer> to <question>.  Putting '-' before <question> disables the <answer> to <question>
43
44 C
45 C ObjC C++ ObjC++
46 Do not discard comments
47
48 CC
49 C ObjC C++ ObjC++
50 Do not discard comments in macro expansions
51
52 D
53 C ObjC C++ ObjC++ Joined Separate
54 -D<macro>[=<val>]       Define a <macro> with <val> as its value.  If just <macro> is given, <val> is taken to be 1
55
56 E
57 C ObjC C++ ObjC++ Undocumented
58
59 F
60 C ObjC C++ ObjC++ Joined Separate
61 -F <dir>        Add <dir> to the end of the main framework include path
62
63 H
64 C ObjC C++ ObjC++
65 Print the name of header files as they are used
66
67 I
68 C ObjC C++ ObjC++ Joined Separate
69 -I <dir>        Add <dir> to the end of the main include path
70
71 M
72 C ObjC C++ ObjC++
73 Generate make dependencies
74
75 MD
76 C ObjC C++ ObjC++ Separate
77 Generate make dependencies and compile
78
79 MF
80 C ObjC C++ ObjC++ Joined Separate
81 -MF <file>      Write dependency output to the given file
82
83 MG
84 C ObjC C++ ObjC++
85 Treat missing header files as generated files
86
87 MM
88 C ObjC C++ ObjC++
89 Like -M but ignore system header files
90
91 MMD
92 C ObjC C++ ObjC++ Separate
93 Like -MD but ignore system header files
94
95 MP
96 C ObjC C++ ObjC++
97 Generate phony targets for all headers
98
99 MQ
100 C ObjC C++ ObjC++ Joined Separate
101 -MQ <target>    Add a MAKE-quoted target
102
103 MT
104 C ObjC C++ ObjC++ Joined Separate
105 -MT <target>    Add an unquoted target
106
107 P
108 C ObjC C++ ObjC++
109 Do not generate #line directives
110
111 U
112 C ObjC C++ ObjC++ Joined Separate
113 -U<macro>       Undefine <macro>
114
115 Wabi
116 C++ ObjC++ Var(warn_abi)
117 Warn about things that will change when compiling with an ABI-compliant compiler
118
119 Wall
120 C ObjC C++ ObjC++
121 Enable most warning messages
122
123 Wassign-intercept
124 ObjC ObjC++ Var(warn_assign_intercept)
125 Warn whenever an Objective-C assignment is being intercepted by the garbage collector
126
127 Wbad-function-cast
128 C ObjC Var(warn_bad_function_cast)
129 Warn about casting functions to incompatible types
130
131 Wc++-compat
132 C Var(warn_cxx_compat)
133 Warn about C constructs that are not in the common subset of C and C++
134
135
136 Wcast-qual
137 C ObjC C++ ObjC++ Var(warn_cast_qual)
138 Warn about casts which discard qualifiers
139
140 Wchar-subscripts
141 C ObjC C++ ObjC++ Var(warn_char_subscripts)
142 Warn about subscripts whose type is \"char\"
143
144 Wclobbered
145 C ObjC C++ ObjC++ Var(warn_clobbered) Init(-1)
146 Warn about variables that might be changed by \"longjmp\" or \"vfork\"
147
148 Wcomment
149 C ObjC C++ ObjC++
150 Warn about possibly nested block comments, and C++ comments spanning more than one physical line
151
152 Wcomments
153 C ObjC C++ ObjC++
154 Synonym for -Wcomment
155
156 Wconversion
157 C ObjC C++ ObjC++ Var(warn_conversion)
158 Warn for implicit type conversions that may change a value
159
160 Wctor-dtor-privacy
161 C++ ObjC++ Var(warn_ctor_dtor_privacy)
162 Warn when all constructors and destructors are private
163
164 Wdeclaration-after-statement
165 C ObjC Var(warn_declaration_after_statement)
166 Warn when a declaration is found after a statement
167
168 Wdeprecated
169 C++ ObjC++ Var(warn_deprecated) Init(1)
170 Warn about deprecated compiler features
171
172 Wdiv-by-zero
173 C ObjC C++ Var(warn_div_by_zero) Init(1)
174 Warn about compile-time integer division by zero
175
176 Weffc++
177 C++ ObjC++ Var(warn_ecpp)
178 Warn about violations of Effective C++ style rules
179
180 Wempty-body
181 C ObjC C++ ObjC++ Var(warn_empty_body) Init(-1)
182 Warn about an empty body in an if or else statement
183
184 Wendif-labels
185 C ObjC C++ ObjC++
186 Warn about stray tokens after #elif and #endif
187
188 Werror
189 C ObjC C++ ObjC++
190 ; Documented in common.opt
191
192 Werror-implicit-function-declaration
193 C ObjC RejectNegative
194 Make implicit function declarations an error
195
196 Wfloat-equal
197 C ObjC C++ ObjC++ Var(warn_float_equal)
198 Warn if testing floating point numbers for equality
199
200 Wformat
201 C ObjC C++ ObjC++
202 Warn about printf/scanf/strftime/strfmon format string anomalies
203
204 Wformat-extra-args
205 C ObjC C++ ObjC++ Var(warn_format_extra_args)
206 Warn if passing too many arguments to a function for its format string
207
208 Wformat-nonliteral
209 C ObjC C++ ObjC++ Var(warn_format_nonliteral)
210 Warn about format strings that are not literals
211
212 Wformat-security
213 C ObjC C++ ObjC++ Var(warn_format_security)
214 Warn about possible security problems with format functions
215
216 Wformat-y2k
217 C ObjC C++ ObjC++ Var(warn_format_y2k)
218 Warn about strftime formats yielding 2-digit years
219
220 Wformat-zero-length
221 C ObjC Var(warn_format_zero_length)
222 Warn about zero-length formats
223
224 Wformat=
225 C ObjC C++ ObjC++ Joined
226
227 Winit-self
228 C ObjC C++ ObjC++ Var(warn_init_self)
229 Warn about variables which are initialized to themselves
230
231 Wimplicit
232 C ObjC C++ ObjC++
233
234 Wimplicit-function-declaration
235 C ObjC Var(mesg_implicit_function_declaration) Init(-1)
236 Warn about implicit function declarations
237
238 Wimplicit-int
239 C ObjC Var(warn_implicit_int)
240 Warn when a declaration does not specify a type
241
242 Wimport
243 C ObjC C++ ObjC++
244 Deprecated.  This switch has no effect
245
246 Wint-to-pointer-cast
247 C ObjC Var(warn_int_to_pointer_cast) Init(1)
248 Warn when there is a cast to a pointer from an integer of a different size
249
250 Winvalid-offsetof
251 C++ ObjC++ Var(warn_invalid_offsetof) Init(1)
252 Warn about invalid uses of the \"offsetof\" macro
253
254 Winvalid-pch
255 C ObjC C++ ObjC++
256 Warn about PCH files that are found but not used
257
258 Wlong-long
259 C ObjC C++ ObjC++ Var(warn_long_long) Init(1)
260 Do not warn about using \"long long\" when -pedantic
261
262 Wmain
263 C ObjC
264 Warn about suspicious declarations of \"main\"
265
266 Wmissing-braces
267 C ObjC C++ ObjC++ Var(warn_missing_braces)
268 Warn about possibly missing braces around initializers
269
270 Wmissing-declarations
271 C ObjC C++ ObjC++ Var(warn_missing_declarations)
272 Warn about global functions without previous declarations
273
274 Wmissing-field-initializers
275 C ObjC C++ ObjC++ Var(warn_missing_field_initializers) Init(-1)
276 Warn about missing fields in struct initializers
277
278 Wmissing-format-attribute
279 C ObjC C++ ObjC++ Var(warn_missing_format_attribute)
280 Warn about functions which might be candidates for format attributes
281
282 Wmissing-include-dirs
283 C ObjC C++ ObjC++
284 Warn about user-specified include directories that do not exist
285
286 Wmissing-prototypes
287 C ObjC Var(warn_missing_prototypes)
288 Warn about global functions without prototypes
289
290 Wmultichar
291 C ObjC C++ ObjC++
292 Warn about use of multi-character character constants
293
294 Wnested-externs
295 C ObjC Var(warn_nested_externs)
296 Warn about \"extern\" declarations not at file scope
297
298 Wnon-template-friend
299 C++ ObjC++ Var(warn_nontemplate_friend) Init(1)
300 Warn when non-templatized friend functions are declared within a template
301
302 Wnon-virtual-dtor
303 C++ ObjC++ Var(warn_nonvdtor)
304 Warn about non-virtual destructors
305
306 Wnonnull
307 C ObjC Var(warn_nonnull)
308 Warn about NULL being passed to argument slots marked as requiring non-NULL
309
310 Wnormalized=
311 C ObjC C++ ObjC++ Joined
312 -Wnormalized=<id|nfc|nfkc>      Warn about non-normalised Unicode strings
313
314 Wold-style-cast
315 C++ ObjC++ Var(warn_old_style_cast)
316 Warn if a C-style cast is used in a program
317
318 Wold-style-definition
319 C ObjC Var(warn_old_style_definition)
320 Warn if an old-style parameter definition is used
321
322 Woverlength-strings
323 C ObjC C++ ObjC++ Var(warn_overlength_strings) Init(-1)
324 Warn if a string is longer than the maximum portable length specified by the standard
325
326 Woverloaded-virtual
327 C++ ObjC++ Var(warn_overloaded_virtual)
328 Warn about overloaded virtual function names
329
330 Woverride-init
331 C ObjC Var(warn_override_init) Init(-1)
332 Warn about overriding initializers without side effects
333
334 Wparentheses
335 C ObjC C++ ObjC++ Var(warn_parentheses)
336 Warn about possibly missing parentheses
337
338 Wpmf-conversions
339 C++ ObjC++ Var(warn_pmf2ptr) Init(1)
340 Warn when converting the type of pointers to member functions
341
342 Wpointer-arith
343 C ObjC C++ ObjC++ Var(warn_pointer_arith)
344 Warn about function pointer arithmetic
345
346 Wpointer-to-int-cast
347 C ObjC Var(warn_pointer_to_int_cast) Init(1)
348 Warn when a pointer is cast to an integer of a different size
349
350 Wpragmas
351 C ObjC C++ ObjC++ Var(warn_pragmas) Init(1)
352 Warn about misuses of pragmas
353
354 Wprotocol
355 ObjC ObjC++ Var(warn_protocol) Init(1)
356 Warn if inherited methods are unimplemented
357
358 Wredundant-decls
359 C ObjC C++ ObjC++ Var(warn_redundant_decls)
360 Warn about multiple declarations of the same object
361
362 Wreorder
363 C++ ObjC++ Var(warn_reorder)
364 Warn when the compiler reorders code
365
366 Wreturn-type
367 C ObjC C++ ObjC++ Var(warn_return_type)
368 Warn whenever a function's return type defaults to \"int\" (C), or about inconsistent return types (C++)
369
370 Wselector
371 ObjC ObjC++ Var(warn_selector)
372 Warn if a selector has multiple methods
373
374 Wsequence-point
375 C ObjC C++ ObjC++ Var(warn_sequence_point)
376 Warn about possible violations of sequence point rules
377
378 Wsign-compare
379 C ObjC C++ ObjC++ Var(warn_sign_compare) Init(-1)
380 Warn about signed-unsigned comparisons
381
382 Wsign-promo
383 C++ ObjC++ Var(warn_sign_promo)
384 Warn when overload promotes from unsigned to signed
385
386 Wstrict-null-sentinel
387 C++ ObjC++
388 Warn about uncasted NULL used as sentinel
389
390 Wstrict-prototypes
391 C ObjC Var(warn_strict_prototypes)
392 Warn about unprototyped function declarations
393
394 Wstrict-selector-match
395 ObjC ObjC++ Var(warn_strict_selector_match)
396 Warn if type signatures of candidate methods do not match exactly
397
398 Wsynth
399 C++ ObjC++ Var(warn_synth)
400 Warn when synthesis behavior differs from Cfront
401
402 Wsystem-headers
403 C ObjC C++ ObjC++
404 Do not suppress warnings from system headers
405
406 Wtraditional
407 C ObjC Var(warn_traditional)
408 Warn about features not present in traditional C
409
410 Wtraditional-conversion
411 C ObjC Var(warn_traditional_conversion)
412 Warn of prototypes causing type conversions different from what would happen in the absence of prototype
413
414 Wtrigraphs
415 C ObjC C++ ObjC++
416 Warn if trigraphs are encountered that might affect the meaning of the program
417
418 Wundeclared-selector
419 ObjC ObjC++ Var(warn_undeclared_selector)
420 Warn about @selector()s without previously declared methods
421
422 Wundef
423 C ObjC C++ ObjC++
424 Warn if an undefined macro is used in an #if directive
425
426 Wunknown-pragmas
427 C ObjC C++ ObjC++
428 Warn about unrecognized pragmas
429
430 Wunused-macros
431 C ObjC C++ ObjC++
432 Warn about macros defined in the main file that are not used
433
434 Wvariadic-macros
435 C ObjC C++ ObjC++
436 Do not warn about using variadic macros when -pedantic
437
438 Wwrite-strings
439 C ObjC C++ ObjC++ Var(warn_write_strings)
440 In C++, nonzero means warn about deprecated conversion from string literals to `char *'.  In C, similar warning, except that the conversion is of course not deprecated by the ISO C standard.
441
442 Wpointer-sign
443 C ObjC Var(warn_pointer_sign) Init(-1)
444 Warn when a pointer differs in signedness in an assignment
445
446 ansi
447 C ObjC C++ ObjC++
448 A synonym for -std=c89 (for C) or -std=c++98 (for C++)
449
450 d
451 C ObjC C++ ObjC++ Joined
452 ; Documented in common.opt.  FIXME - what about -dI, -dD, -dN and -dD?
453
454 faccess-control
455 C++ ObjC++
456 Enforce class member access control semantics
457
458 fall-virtual
459 C++ ObjC++
460
461 falt-external-templates
462 C++ ObjC++
463 Change when template instances are emitted
464
465 fasm
466 C ObjC C++ ObjC++
467 Recognize the \"asm\" keyword
468
469 fbuiltin
470 C ObjC C++ ObjC++
471 Recognize built-in functions
472
473 fbuiltin-
474 C ObjC C++ ObjC++ Joined
475
476 fcheck-new
477 C++ ObjC++
478 Check the return value of new
479
480 fcond-mismatch
481 C ObjC C++ ObjC++
482 Allow the arguments of the '?' operator to have different types
483
484 fconserve-space
485 C++ ObjC++
486 Reduce the size of object files
487
488 fconstant-string-class=
489 ObjC ObjC++ Joined
490 -fconst-string-class=<name>     Use class <name> for constant strings
491
492 fdefault-inline
493 C++ ObjC++
494 Inline member functions by default
495
496 fdollars-in-identifiers
497 C ObjC C++ ObjC++
498 Permit '$' as an identifier character
499
500 felide-constructors
501 C++ ObjC++
502
503 fenforce-eh-specs
504 C++ ObjC++
505 Generate code to check exception specifications
506
507 fenum-int-equiv
508 C++ ObjC++
509
510 fexec-charset=
511 C ObjC C++ ObjC++ Joined RejectNegative
512 -fexec-charset=<cset>   Convert all strings and character constants to character set <cset>
513
514 fextended-identifiers
515 C ObjC C++ ObjC++
516 Permit universal character names (\\u and \\U) in identifiers
517
518 finput-charset=
519 C ObjC C++ ObjC++ Joined RejectNegative
520 -finput-charset=<cset>  Specify the default character set for source files
521
522
523 fexternal-templates
524 C++ ObjC++
525
526 ffor-scope
527 C++ ObjC++
528 Scope of for-init-statement variables is local to the loop
529
530 ffreestanding
531 C ObjC
532 Do not assume that standard C libraries and \"main\" exist
533
534 fgnu-keywords
535 C++ ObjC++
536 Recognize GNU-defined keywords
537
538 fgnu-runtime
539 ObjC ObjC++
540 Generate code for GNU runtime environment
541
542 fguiding-decls
543 C++ ObjC++
544
545 fhandle-exceptions
546 C++ ObjC++
547
548 fhonor-std
549 C++ ObjC++
550
551 fhosted
552 C ObjC
553 Assume normal C execution environment
554
555 fhuge-objects
556 C++ ObjC++
557 Enable support for huge objects
558
559 fimplement-inlines
560 C++ ObjC++
561 Export functions even if they can be inlined
562
563 fimplicit-inline-templates
564 C++ ObjC++
565 Emit implicit instantiations of inline templates
566
567 fimplicit-templates
568 C++ ObjC++
569 Emit implicit instantiations of templates
570
571 ffriend-injection
572 C++ Var(flag_friend_injection)
573 Inject friend functions into enclosing namespace
574
575 flabels-ok
576 C++ ObjC++
577
578 fms-extensions
579 C ObjC C++ ObjC++
580 Don't warn about uses of Microsoft extensions
581
582 fname-mangling-version-
583 C++ ObjC++ Joined
584
585 fnew-abi
586 C++ ObjC++
587
588 fnext-runtime
589 ObjC ObjC++
590 Generate code for NeXT (Apple Mac OS X) runtime environment
591
592 fnil-receivers
593 ObjC ObjC++
594 Assume that receivers of Objective-C messages may be nil
595
596 fnonansi-builtins
597 C++ ObjC++
598
599 fnonnull-objects
600 C++ ObjC++
601
602 ; Generate special '- .cxx_construct' and '- .cxx_destruct' methods
603 ; to initialize any non-POD ivars in Objective-C++ classes.
604 fobjc-call-cxx-cdtors
605 ObjC++ Var(flag_objc_call_cxx_cdtors)
606 Generate special Objective-C methods to initialize/destroy non-POD C++ ivars, if needed
607
608 fobjc-direct-dispatch
609 ObjC ObjC++ Var(flag_objc_direct_dispatch)
610 Allow fast jumps to the message dispatcher
611
612 ; Nonzero means that we will allow new ObjC exception syntax (@throw,
613 ; @try, etc.) in source code.
614 fobjc-exceptions
615 ObjC ObjC++ Var(flag_objc_exceptions)
616 Enable Objective-C exception and synchronization syntax
617
618 fobjc-gc
619 ObjC ObjC++ Var(flag_objc_gc)
620 Enable garbage collection (GC) in Objective-C/Objective-C++ programs
621
622 ; Nonzero means that we generate NeXT setjmp based exceptions.
623 fobjc-sjlj-exceptions
624 ObjC ObjC++ Var(flag_objc_sjlj_exceptions) Init(-1)
625 Enable Objective-C setjmp exception handling runtime
626
627 fopenmp
628 C ObjC C++ ObjC++ Var(flag_openmp)
629 Enable OpenMP
630
631 foperator-names
632 C++ ObjC++
633 Recognize C++ kewords like \"compl\" and \"xor\"
634
635 foptional-diags
636 C++ ObjC++
637 Enable optional diagnostics
638
639 fpch-deps
640 C ObjC C++ ObjC++
641
642 fpch-preprocess
643 C ObjC C++ ObjC++
644 Look for and use PCH files even when preprocessing
645
646 fpermissive
647 C++ ObjC++
648 Downgrade conformance errors to warnings
649
650 fpreprocessed
651 C ObjC C++ ObjC++
652 Treat the input file as already preprocessed
653
654 freplace-objc-classes
655 ObjC ObjC++
656 Used in Fix-and-Continue mode to indicate that object files may be swapped in at runtime
657
658 frepo
659 C++ ObjC++
660 Enable automatic template instantiation
661
662 frtti
663 C++ ObjC++
664 Generate run time type descriptor information
665
666 fshort-double
667 C ObjC C++ ObjC++
668 Use the same size for double as for float
669
670 fshort-enums
671 C ObjC C++ ObjC++
672 Use the narrowest integer type possible for enumeration types
673
674 fshort-wchar
675 C ObjC C++ ObjC++
676 Force the underlying type for \"wchar_t\" to be \"unsigned short\"
677
678 fsigned-bitfields
679 C ObjC C++ ObjC++
680 When \"signed\" or \"unsigned\" is not given make the bitfield signed
681
682 fsigned-char
683 C ObjC C++ ObjC++
684 Make \"char\" signed by default
685
686 fsquangle
687 C++ ObjC++
688
689 fstats
690 C++ ObjC++
691 Display statistics accumulated during compilation
692
693 fstrict-prototype
694 C++ ObjC++
695
696 ftabstop=
697 C ObjC C++ ObjC++ Joined RejectNegative UInteger
698 -ftabstop=<number>      Distance between tab stops for column reporting
699
700 ftemplate-depth-
701 C++ ObjC++ Joined RejectNegative UInteger
702 -ftemplate-depth-<number>       Specify maximum template instantiation depth
703
704 fthis-is-variable
705 C++ ObjC++
706
707 fthreadsafe-statics
708 C++ ObjC++
709 -fno-threadsafe-statics Do not generate thread-safe code for initializing local statics
710
711 funsigned-bitfields
712 C ObjC C++ ObjC++
713 When \"signed\" or \"unsigned\" is not given make the bitfield unsigned
714
715 funsigned-char
716 C ObjC C++ ObjC++
717 Make \"char\" unsigned by default
718
719 fuse-cxa-atexit
720 C++ ObjC++
721 Use __cxa_atexit to register destructors
722
723 fuse-cxa-get-exception-ptr
724 C++ ObjC++
725 Use __cxa_get_exception_ptr in exception handling
726
727 fvisibility-inlines-hidden
728 C++ ObjC++
729 Marks all inlined methods as having hidden visibility
730
731 fvtable-gc
732 C++ ObjC++
733 Discard unused virtual functions
734
735 fvtable-thunks
736 C++ ObjC++
737 Implement vtables using thunks
738
739 fweak
740 C++ ObjC++
741 Emit common-like symbols as weak symbols
742
743 fwide-exec-charset=
744 C ObjC C++ ObjC++ Joined RejectNegative
745 -fwide-exec-charset=<cset>      Convert all wide strings and character constants to character set <cset>
746
747 fworking-directory
748 C ObjC C++ ObjC++
749 Generate a #line directive pointing at the current working directory
750
751 fxref
752 C++ ObjC++
753 Emit cross referencing information
754
755 fzero-link
756 ObjC ObjC++
757 Generate lazy class lookup (via objc_getClass()) for use in Zero-Link mode
758
759 gen-decls
760 ObjC ObjC++
761 Dump declarations to a .decl file
762
763 idirafter
764 C ObjC C++ ObjC++ Joined Separate
765 -idirafter <dir>        Add <dir> to the end of the system include path
766
767 imacros
768 C ObjC C++ ObjC++ Joined Separate
769 -imacros <file> Accept definition of macros in <file>
770
771 imultilib
772 C ObjC C++ ObjC++ Joined Separate
773 -imultilib <dir> Set <dir> to be the multilib include subdirectory
774
775 include
776 C ObjC C++ ObjC++ Joined Separate
777 -include <file> Include the contents of <file> before other files
778
779 iprefix
780 C ObjC C++ ObjC++ Joined Separate
781 -iprefix <path> Specify <path> as a prefix for next two options
782
783 isysroot
784 C ObjC C++ ObjC++ Joined Separate
785 -isysroot <dir> Set <dir> to be the system root directory
786
787 isystem
788 C ObjC C++ ObjC++ Joined Separate
789 -isystem <dir>  Add <dir> to the start of the system include path
790
791 iquote
792 C ObjC C++ ObjC++ Joined Separate
793 -iquote <dir>   Add <dir> to the end of the quote include path
794
795 iwithprefix
796 C ObjC C++ ObjC++ Joined Separate
797 -iwithprefix <dir>      Add <dir> to the end of the system include path
798
799 iwithprefixbefore
800 C ObjC C++ ObjC++ Joined Separate
801 -iwithprefixbefore <dir>        Add <dir> to the end of the main include path
802
803 lang-asm
804 C Undocumented
805
806 lang-fortran
807 C Undocumented
808
809 lang-objc
810 C ObjC C++ ObjC++ Undocumented
811
812 nostdinc
813 C ObjC C++ ObjC++
814 Do not search standard system include directories (those specified with -isystem will still be used)
815
816 nostdinc++
817 C++ ObjC++
818 Do not search standard system include directories for C++
819
820 o
821 C ObjC C++ ObjC++ Joined Separate
822 ; Documented in common.opt
823
824 pedantic
825 C ObjC C++ ObjC++
826 ; Documented in common.opt
827
828 pedantic-errors
829 C ObjC C++ ObjC++
830 ; Documented in common.opt
831
832 print-objc-runtime-info
833 ObjC ObjC++
834 Generate C header of platform-specific features
835
836 print-pch-checksum
837 C ObjC C++ ObjC++
838 Print a checksum of the executable for PCH validity checking, and stop
839
840 remap
841 C ObjC C++ ObjC++
842 Remap file names when including files
843
844 std=c++98
845 C++ ObjC++
846 Conform to the ISO 1998 C++ standard
847
848 std=c++0x
849 C++ ObjC++
850 Conform to the ISO 1998 C++ standard, with extensions that are likely to
851 become a part of the upcoming ISO C++ standard, dubbed C++0x. Note that the
852 extensions enabled by this mode are experimental and may be removed in
853 future releases of GCC.
854
855 std=c89
856 C ObjC
857 Conform to the ISO 1990 C standard
858
859 std=c99
860 C ObjC
861 Conform to the ISO 1999 C standard
862
863 std=c9x
864 C ObjC
865 Deprecated in favor of -std=c99
866
867 std=gnu++98
868 C++ ObjC++
869 Conform to the ISO 1998 C++ standard with GNU extensions
870
871 std=gnu++0x
872 C++ ObjC++
873 Conform to the ISO 1998 C++ standard, with GNU extensions and
874 extensions that are likely to become a part of the upcoming ISO C++
875 standard, dubbed C++0x. Note that the extensions enabled by this mode
876 are experimental and may be removed in future releases of GCC.
877
878 std=gnu89
879 C ObjC
880 Conform to the ISO 1990 C standard with GNU extensions
881
882 std=gnu99
883 C ObjC
884 Conform to the ISO 1999 C standard with GNU extensions
885
886 std=gnu9x
887 C ObjC
888 Deprecated in favor of -std=gnu99
889
890 std=iso9899:1990
891 C ObjC
892 Conform to the ISO 1990 C standard
893
894 std=iso9899:199409
895 C ObjC
896 Conform to the ISO 1990 C standard as amended in 1994
897
898 std=iso9899:1999
899 C ObjC
900 Conform to the ISO 1999 C standard
901
902 std=iso9899:199x
903 C ObjC
904 Deprecated in favor of -std=iso9899:1999
905
906 traditional-cpp
907 C ObjC C++ ObjC++
908 Enable traditional preprocessing
909
910 trigraphs
911 C ObjC C++ ObjC++
912 -trigraphs      Support ISO C trigraphs
913
914 undef
915 C ObjC C++ ObjC++
916 Do not predefine system-specific and GCC-specific macros
917
918 v
919 C ObjC C++ ObjC++
920 Enable verbose output
921
922 w
923 C ObjC C++ ObjC++
924 ; Documented in common.opt
925
926 ; This comment is to ensure we retain the blank line above.