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