]> gcc.gnu.org Git - gcc.git/blame - gcc/c.opt
* g++.dg/eh/forced1.C, g++.dg/eh/forced2.C, g++.dg/eh/forced3.C
[gcc.git] / gcc / c.opt
CommitLineData
fef3106c
NB
1; Options for the C, ObjC, C++ and ObjC++ front ends.
2; Copyright (C) 2003 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, 59 Temple Place - Suite 330, Boston, MA
19; 02111-1307, USA.
20
21
22; This file is processed by the script opts.sh. It is a database of
23; command line options, with each record separated by a blank line,
24; and each field appearing on its own line. The first field is the
25; command-line switch with the leading "-" removed. All options
26; beginning with "f" or "W" are implicitly assumed to take a "no-"
c83857ff
NB
27; form; this form should not be listed. If you do not want this
28; negative form and you want it to be automatically rejected, add
29; RejectNegative to the second field.
fef3106c
NB
30
31; The second field is a space-separated list of which parts of the
be43ab4e
NB
32; compiler recognize the switch, as declared by "Language" entries.
33; If the switch takes an argument, then you should also specify
34; "Joined" and/or "Separate" to indicate where the argument can
7b086b11
NB
35; appear. If a Joined argument can legitimately be omitted, specify
36; "JoinedOrMissing" instead of "Joined". If the argument to a switch
37; is a non-negative integer, you can specify "UInteger" and the switch
38; decoder will convert the argument for you, or complain to the user
39; if the argument is invalid.
fef3106c 40
cf03fd63
NB
41; The third field is the help text to output with --help. This is
42; automatically line-wrapped on output. Normally the switch is output
43; automatically, with the help text on the right hand side of the
44; output. However, if the help text contains a tab character, the
45; text to the left of the tab is output instead of the switch, and the
46; text to its right forms the help. This is useful for elaborating on
f2ac9964
NB
47; what type of argument a switch takes, for example. If the second
48; field contains "Undocumented" then nothing is output with --help.
49; Only do this with good reason like the switch being internal between
50; the driver and the front end - it is not an excuse to leave a switch
51; undocumented.
cf03fd63 52
fef3106c
NB
53; Comments can appear on their own line anwhere in the file, preceded
54; by a semicolon. Whitespace is permitted before the semicolon.
55
56; For each switch XXX below, an enumeration constant is created by the
57; script opts.sh spelt OPT_XXX, but with all non-alphanumeric
58; characters replaced with an underscore.
59
60; Please try to keep this file in ASCII collating order.
61
be43ab4e
NB
62Language
63C
64
65Language
66ObjC
67
68Language
69C++
70
71Language
72ObjC++
73
fef3106c
NB
74-output-pch=
75C ObjC C++ ObjC++ Joined Separate
76
77A
78C ObjC C++ ObjC++ Joined Separate
72de27ea 79-A<question>=<answer> Assert the <answer> to <question>. Putting '-' before <question> disables the <answer> to <question>
fef3106c
NB
80
81C
82C ObjC C++ ObjC++
72de27ea 83Do not discard comments
fef3106c
NB
84
85CC
86C ObjC C++ ObjC++
72de27ea 87Do not discard comments in macro expansions
fef3106c
NB
88
89D
90C ObjC C++ ObjC++ Joined Separate
72de27ea 91-D<macro>[=<val>] Define a <macro> with <val> as its value. If just <macro> is given, <val> is taken to be 1
fef3106c
NB
92
93E
f2ac9964 94C ObjC C++ ObjC++ Undocumented
fef3106c
NB
95
96H
97C ObjC C++ ObjC++
72de27ea 98Print the name of header files as they are used
fef3106c
NB
99
100I
101C ObjC C++ ObjC++ Joined Separate
72de27ea 102-I <dir> Add <dir> to the end of the main include path. -I- gives more include path control; see info documentation
fef3106c
NB
103
104M
105C ObjC C++ ObjC++
72de27ea 106Generate make dependencies
fef3106c
NB
107
108MD
109C ObjC C++ ObjC++ Separate
72de27ea 110Generate make dependencies and compile
fef3106c
NB
111
112MF
113C ObjC C++ ObjC++ Joined Separate
72de27ea 114-MF <file> Write dependency output to the given file
fef3106c
NB
115
116MG
117C ObjC C++ ObjC++
72de27ea 118Treat missing header files as generated files
fef3106c
NB
119
120MM
121C ObjC C++ ObjC++
72de27ea 122Like -M but ignore system header files
fef3106c
NB
123
124MMD
125C ObjC C++ ObjC++ Separate
72de27ea 126Like -MD but ignore system header files
fef3106c
NB
127
128MP
129C ObjC C++ ObjC++
72de27ea 130Generate phony targets for all headers
fef3106c
NB
131
132MQ
133C ObjC C++ ObjC++ Joined Separate
72de27ea 134-MQ <target> Add a MAKE-quoted target
fef3106c
NB
135
136MT
137C ObjC C++ ObjC++ Joined Separate
72de27ea 138-MT <target> Add an unquoted target
fef3106c
NB
139
140P
141C ObjC C++ ObjC++
72de27ea 142Do not generate #line directives
fef3106c
NB
143
144U
145C ObjC C++ ObjC++ Joined Separate
72de27ea 146-U<macro> Undefine <macro>
fef3106c
NB
147
148Wabi
149C++ ObjC++
150
151Wall
152C ObjC C++ ObjC++
5a170a05 153Enable most warning messages
fef3106c
NB
154
155Wbad-function-cast
156C ObjC
5a170a05 157Warn about casting functions to incompatible types
fef3106c
NB
158
159Wcast-qual
160C ObjC C++ ObjC++
5a170a05 161Warn about casts which discard qualifiers
fef3106c
NB
162
163Wchar-subscripts
164C ObjC C++ ObjC++
5a170a05 165Warn about subscripts whose type is \"char\"
fef3106c
NB
166
167Wcomment
168C ObjC C++ ObjC++
72de27ea 169Warn about possibly nested block comments, and C++ comments spanning more than one physical line
fef3106c
NB
170
171Wcomments
172C ObjC C++ ObjC++
72de27ea 173Synonym for -Wcomment
fef3106c
NB
174
175Wconversion
176C ObjC C++ ObjC++
5a170a05 177Warn about possibly confusing type conversions
fef3106c
NB
178
179Wctor-dtor-privacy
180C++ ObjC++
bae92bf3 181Warn when all constructors and destructors are private
fef3106c 182
85617eba
HPN
183Wdeclaration-after-statement
184C ObjC
185Warn when a declaration is found after a statement
186
fef3106c
NB
187Wdeprecated
188C++ ObjC++
bae92bf3 189Warn about deprecated compiler features
fef3106c
NB
190
191Wdiv-by-zero
192C ObjC
5a170a05 193Warn about compile-time integer division by zero
fef3106c
NB
194
195Weffc++
196C++ ObjC++
bae92bf3 197Warn about violations of Effective C++ style rules
fef3106c
NB
198
199Wendif-labels
200C ObjC C++ ObjC++
72de27ea 201Warn about stray tokens after #elif and #endif
fef3106c
NB
202
203Werror
204C ObjC C++ ObjC++
72de27ea 205; Documented in common.opt
fef3106c
NB
206
207Werror-implicit-function-declaration
c83857ff 208C ObjC RejectNegative
5a170a05 209Make implicit function declarations an error
fef3106c
NB
210
211Wfloat-equal
212C ObjC C++ ObjC++
5a170a05 213Warn if testing floating point numbers for equality
fef3106c
NB
214
215Wformat
216C ObjC C++ ObjC++
5a170a05 217Warn about printf/scanf/strftime/strfmon format string anomalies
fef3106c
NB
218
219Wformat-extra-args
220C ObjC C++ ObjC++
5a170a05 221Warn if passing too many arguments to a function for its format string
fef3106c
NB
222
223Wformat-nonliteral
224C ObjC C++ ObjC++
5a170a05 225Warn about format strings that are not literals
fef3106c
NB
226
227Wformat-security
228C ObjC C++ ObjC++
5a170a05 229Warn about possible security problems with format functions
fef3106c
NB
230
231Wformat-y2k
232C ObjC C++ ObjC++
5a170a05 233Warn about strftime formats yielding 2-digit years
fef3106c
NB
234
235Wformat-zero-length
236C ObjC
237
238Wformat=
239C ObjC C++ ObjC++ Joined
240
3390f9c9
AP
241Winit-self
242C ObjC C++ ObjC++
243Warn about variables which are initialized to themselves.
244
fef3106c
NB
245Wimplicit
246C ObjC C++ ObjC++
247
248Wimplicit-function-declaration
249C ObjC
5a170a05 250Warn about implicit function declarations
fef3106c
NB
251
252Wimplicit-int
253C ObjC
5a170a05 254Warn when a declaration does not specify a type
fef3106c
NB
255
256Wimport
257C ObjC C++ ObjC++
bf42e45b 258Deprecated. This switch has no effect.
fef3106c
NB
259
260Winvalid-offsetof
261C++ ObjC++
bae92bf3 262Warn about invalid uses of the \"offsetof\" macro
fef3106c
NB
263
264Winvalid-pch
265C ObjC C++ ObjC++
5a170a05 266Warn about PCH files that are found but not used
fef3106c
NB
267
268Wlong-long
269C ObjC C++ ObjC++
5a170a05 270Do not warn about using \"long long\" when -pedantic
fef3106c
NB
271
272Wmain
273C ObjC
5a170a05 274Warn about suspicious declarations of \"main\"
fef3106c
NB
275
276Wmissing-braces
277C ObjC C++ ObjC++
5a170a05 278Warn about possibly missing braces around initializers
fef3106c
NB
279
280Wmissing-declarations
281C ObjC
5a170a05 282Warn about global functions without previous declarations
fef3106c
NB
283
284Wmissing-format-attribute
285C ObjC C++ ObjC++
5a170a05 286Warn about functions which might be candidates for format attributes
fef3106c
NB
287
288Wmissing-prototypes
289C ObjC
5a170a05 290Warn about global functions without prototypes
fef3106c
NB
291
292Wmultichar
293C ObjC C++ ObjC++
5a170a05 294Warn about use of multi-character character constants
fef3106c
NB
295
296Wnested-externs
297C ObjC
5a170a05 298Warn about \"extern\" declarations not at file scope
fef3106c
NB
299
300Wnon-template-friend
301C++ ObjC++
bae92bf3 302Warn when non-templatized friend functions are declared within a template
fef3106c
NB
303
304Wnon-virtual-dtor
305C++ ObjC++
bae92bf3 306Warn about non-virtual destructors
fef3106c
NB
307
308Wnonnull
309C ObjC
310
311Wold-style-cast
312C++ ObjC++
bae92bf3 313Warn if a C-style cast is used in a program
fef3106c 314
c034f121
AJ
315Wold-style-definition
316C ObjC
317Warn if an old-style parameter definition is used
318
fef3106c
NB
319Woverloaded-virtual
320C++ ObjC++
bae92bf3 321Warn about overloaded virtual function names
fef3106c
NB
322
323Wparentheses
324C ObjC C++ ObjC++
5a170a05 325Warn about possibly missing parentheses
fef3106c
NB
326
327Wpmf-conversions
328C++ ObjC++
bae92bf3 329Warn when converting the type of pointers to member functions
fef3106c
NB
330
331Wpointer-arith
332C ObjC C++ ObjC++
5a170a05 333Warn about function pointer arithmetic
fef3106c
NB
334
335Wprotocol
336ObjC ObjC++
f2ac9964 337Warn if inherited methods are unimplemented
fef3106c
NB
338
339Wredundant-decls
340C ObjC C++ ObjC++
5a170a05 341Warn about multiple declarations of the same object
fef3106c
NB
342
343Wreorder
344C++ ObjC++
bae92bf3 345Warn when the compiler reorders code
fef3106c
NB
346
347Wreturn-type
348C ObjC C++ ObjC++
bae92bf3 349Warn whenever a function's return type defaults to \"int\" (C), or about inconsistent return types (C++)
fef3106c
NB
350
351Wselector
352ObjC ObjC++
f2ac9964 353Warn if a selector has multiple methods
fef3106c
NB
354
355Wsequence-point
356C ObjC
5a170a05 357Warn about possible violations of sequence point rules
fef3106c
NB
358
359Wsign-compare
360C ObjC C++ ObjC++
5a170a05 361Warn about signed-unsigned comparisons
fef3106c
NB
362
363Wsign-promo
364C++ ObjC++
bae92bf3 365Warn when overload promotes from unsigned to signed
fef3106c
NB
366
367Wstrict-prototypes
368C ObjC
5a170a05 369Warn about unprototyped function declarations
fef3106c
NB
370
371Wsynth
372C++ ObjC++
bae92bf3 373Warn when synthesis behavior differs from Cfront
fef3106c
NB
374
375Wsystem-headers
376C ObjC C++ ObjC++
72de27ea 377Do not suppress warnings from system headers
fef3106c
NB
378
379Wtraditional
380C ObjC
72de27ea 381Warn about features not present in traditional C
fef3106c
NB
382
383Wtrigraphs
384C ObjC C++ ObjC++
72de27ea 385Warn if trigraphs are encountered that might affect the meaning of the program
fef3106c
NB
386
387Wundeclared-selector
388ObjC ObjC++
389
390Wundef
391C ObjC C++ ObjC++
72de27ea 392Warn if an undefined macro is used in an #if directive
fef3106c
NB
393
394Wunknown-pragmas
395C ObjC C++ ObjC++
5a170a05 396Warn about unrecognized pragmas
fef3106c
NB
397
398Wunused-macros
399C ObjC C++ ObjC++
72de27ea 400Warn about macros defined in the main file that are not used
fef3106c
NB
401
402Wwrite-strings
403C ObjC C++ ObjC++
5a170a05 404Give strings the type \"array of char\"
fef3106c
NB
405
406ansi
407C ObjC C++ ObjC++
5a170a05 408A synonym for -std=c89. In a future version of GCC it will become synonymous with -std=c99 instead
fef3106c
NB
409
410d
411C ObjC C++ ObjC++ Joined
72de27ea 412; Documented in common.opt. FIXME - what about -dI, -dD, -dN and -dD?
fef3106c
NB
413
414fabi-version=
7b086b11 415C++ ObjC++ Joined UInteger
fef3106c
NB
416
417faccess-control
418C++ ObjC++
bae92bf3 419Enforce class member access control semantics
fef3106c
NB
420
421fall-virtual
422C++ ObjC++
423
424falt-external-templates
425C++ ObjC++
bae92bf3 426Change when template instances are emitted
fef3106c
NB
427
428fasm
429C ObjC C++ ObjC++
5a170a05 430Recognize the \"asm\" keyword
fef3106c
NB
431
432fbuiltin
433C ObjC C++ ObjC++
5a170a05 434Recognize built-in functions
fef3106c
NB
435
436fbuiltin-
437C ObjC C++ ObjC++ Joined
438
439fcheck-new
440C++ ObjC++
bae92bf3 441Check the return value of new
fef3106c
NB
442
443fcond-mismatch
444C ObjC C++ ObjC++
5a170a05 445Allow the arguments of the '?' operator to have different types
fef3106c
NB
446
447fconserve-space
448C++ ObjC++
bae92bf3 449Reduce the size of object files
fef3106c
NB
450
451fconst-strings
452C++ ObjC++
bae92bf3 453Make string literals \"const char[]\" not \"char[]\"
fef3106c
NB
454
455fconstant-string-class=
456ObjC ObjC++ Joined
f2ac9964 457-fconst-string-class=<name> Use class <name> for constant strings
fef3106c
NB
458
459fdefault-inline
460C++ ObjC++
bae92bf3 461Inline member functions by default
fef3106c
NB
462
463fdollars-in-identifiers
464C ObjC C++ ObjC++
72de27ea 465Permit '$' as an identifier character
fef3106c
NB
466
467fdump-
c83857ff 468C ObjC C++ ObjC++ Joined RejectNegative
bae92bf3 469-fdump-<type> Dump various compiler internals to a file
fef3106c
NB
470
471felide-constructors
472C++ ObjC++
473
474fenforce-eh-specs
475C++ ObjC++
bae92bf3 476Generate code to check exception specifications
fef3106c
NB
477
478fenum-int-equiv
479C++ ObjC++
480
e6cc3a24
ZW
481fexec-charset=
482C ObjC C++ ObjC++ Joined RejectNegative
72de27ea 483-fexec-charset=<cset> Convert all strings and character constants to character set <cset>
e6cc3a24 484
fef3106c
NB
485fexternal-templates
486C++ ObjC++
487
488ffixed-form
489C ObjC
490
491ffixed-line-length-
492C ObjC Joined
493
494ffor-scope
495C++ ObjC++
bae92bf3 496Scope of for-init-statement variables is local to the loop
fef3106c
NB
497
498ffreestanding
499C ObjC
5a170a05 500Do not assume that standard C libraries and \"main\" exist
fef3106c
NB
501
502fgnu-keywords
503C++ ObjC++
bae92bf3 504Recognize GNU-defined keywords
fef3106c
NB
505
506fgnu-runtime
507ObjC ObjC++
f2ac9964 508Generate code for GNU runtime environment
fef3106c
NB
509
510fguiding-decls
511C++ ObjC++
512
513fhandle-exceptions
514C++ ObjC++
515
516fhonor-std
517C++ ObjC++
518
519fhosted
520C ObjC
5a170a05 521Assume normal C execution environment
fef3106c
NB
522
523fhuge-objects
524C++ ObjC++
bae92bf3 525Enable support for huge objects
fef3106c
NB
526
527fimplement-inlines
528C++ ObjC++
bae92bf3 529Export functions even if they can be inlined
fef3106c
NB
530
531fimplicit-inline-templates
532C++ ObjC++
bae92bf3 533Emit implicit instantiations of inline templates
fef3106c
NB
534
535fimplicit-templates
536C++ ObjC++
bae92bf3 537Emit implicit instantiations of templates
fef3106c
NB
538
539flabels-ok
540C++ ObjC++
541
542fms-extensions
543C ObjC C++ ObjC++
bae92bf3 544Don't warn about uses of Microsoft extensions
fef3106c
NB
545
546fname-mangling-version-
547C++ ObjC++ Joined
548
549fnew-abi
550C++ ObjC++
551
552fnext-runtime
553ObjC ObjC++
264fa2db
ZL
554Generate code for NeXT (Apple Mac OS X) runtime environment
555
556fnil-receivers
557ObjC ObjC++
558Assume that receivers of Objective-C messages may be nil
fef3106c
NB
559
560fnonansi-builtins
561C++ ObjC++
562
563fnonnull-objects
564C++ ObjC++
565
264fa2db
ZL
566fobjc-exceptions
567ObjC ObjC++
568Enable Objective-C exception and synchronization syntax
569
fef3106c
NB
570foperator-names
571C++ ObjC++
bae92bf3 572Recognize C++ kewords like \"compl\" and \"xor\"
fef3106c
NB
573
574foptional-diags
575C++ ObjC++
bae92bf3 576Enable optional diagnostics
fef3106c
NB
577
578fpch-deps
579C ObjC C++ ObjC++
580
581fpermissive
582C++ ObjC++
bae92bf3 583Downgrade conformance errors to warnings
fef3106c
NB
584
585fpreprocessed
586C ObjC C++ ObjC++
72de27ea 587Treat the input file as already preprocessed
fef3106c 588
264fa2db
ZL
589freplace-objc-classes
590ObjC ObjC++
591Used in Fix-and-Continue mode to indicate that object files may be swapped in at runtime
592
fef3106c
NB
593frepo
594C++ ObjC++
bae92bf3 595Enable automatic template instantiation
fef3106c
NB
596
597frtti
598C++ ObjC++
bae92bf3 599Generate run time type descriptor information
fef3106c
NB
600
601fshort-double
602C ObjC C++ ObjC++
5a170a05 603Use the same size for double as for float
fef3106c
NB
604
605fshort-enums
606C ObjC C++ ObjC++
5a170a05 607Use the narrowest integer type possible for enumeration types
fef3106c
NB
608
609fshort-wchar
610C ObjC C++ ObjC++
5a170a05 611Force the underlying type for \"wchar_t\" to be \"unsigned short\"
fef3106c
NB
612
613fshow-column
614C ObjC C++ ObjC++
615
616fsigned-bitfields
617C ObjC C++ ObjC++
5a170a05 618When \"signed\" or \"unsigned\" is not given make the bitfield signed
fef3106c
NB
619
620fsigned-char
621C ObjC C++ ObjC++
5a170a05 622Make \"char\" signed by default
fef3106c
NB
623
624fsquangle
625C++ ObjC++
626
627fstats
628C++ ObjC++
bae92bf3 629Display statistics accumulated during compilation
fef3106c
NB
630
631fstrict-prototype
632C++ ObjC++
633
634ftabstop=
7b086b11 635C ObjC C++ ObjC++ Joined RejectNegative UInteger
72de27ea 636-ftabstop=<number> Distance between tab stops for column reporting
fef3106c
NB
637
638ftemplate-depth-
7b086b11 639C++ ObjC++ Joined RejectNegative UInteger
bae92bf3 640-ftemplate-depth-<number> Specify maximum template instantiation depth
fef3106c
NB
641
642fthis-is-variable
643C++ ObjC++
644
645funsigned-bitfields
646C ObjC C++ ObjC++
5a170a05 647When \"signed\" or \"unsigned\" is not given make the bitfield unsigned
fef3106c
NB
648
649funsigned-char
650C ObjC C++ ObjC++
5a170a05 651Make \"char\" unsigned by default
fef3106c
NB
652
653fuse-cxa-atexit
654C++ ObjC++
bae92bf3 655Use __cxa_atexit to register destructors
fef3106c
NB
656
657fvtable-gc
658C++ ObjC++
bae92bf3 659Discard unused virtual functions
fef3106c
NB
660
661fvtable-thunks
662C++ ObjC++
bae92bf3 663Implement vtables using thunks
fef3106c
NB
664
665fweak
666C++ ObjC++
bae92bf3 667Emit common-like symbols as weak symbols
fef3106c 668
e6cc3a24
ZW
669fwide-exec-charset=
670C ObjC C++ ObjC++ Joined RejectNegative
72de27ea 671-fwide-exec-charset=<cset> Convert all wide strings and character constants to character set <cset>
e6cc3a24 672
b20d9f0c
AO
673fworking-directory
674C ObjC C++ ObjC++
675Generate a #line directive pointing at the current working directory
676
fef3106c
NB
677fxref
678C++ ObjC++
bae92bf3 679Emit cross referencing information
fef3106c 680
264fa2db
ZL
681fzero-link
682ObjC ObjC++
683Generate lazy class lookup (via objc_getClass()) for use in Zero-Link mode
684
fef3106c
NB
685gen-decls
686ObjC ObjC++
f2ac9964 687Dump declarations to a .decl file
fef3106c
NB
688
689idirafter
690C ObjC C++ ObjC++ Joined Separate
72de27ea 691-idirafter <dir> Add <dir> to the end of the system include path
fef3106c
NB
692
693imacros
694C ObjC C++ ObjC++ Joined Separate
72de27ea 695-imacros <file> Accept definition of macros in <file>
fef3106c
NB
696
697include
698C ObjC C++ ObjC++ Joined Separate
72de27ea 699-include <file> Include the contents of <file> before other files
fef3106c
NB
700
701iprefix
702C ObjC C++ ObjC++ Joined Separate
72de27ea 703-iprefix <path> Specify <path> as a prefix for next two options
fef3106c
NB
704
705isysroot
706C ObjC C++ ObjC++ Joined Separate
72de27ea 707-isysroot <dir> Set <dir> to be the system root directory
fef3106c
NB
708
709isystem
710C ObjC C++ ObjC++ Joined Separate
72de27ea 711-isystem <dir> Add <dir> to the start of the system include path
fef3106c
NB
712
713iwithprefix
714C ObjC C++ ObjC++ Joined Separate
72de27ea 715-iwithprefix <dir> Add <dir> to the end of the system include path
fef3106c
NB
716
717iwithprefixbefore
718C ObjC C++ ObjC++ Joined Separate
72de27ea 719-iwithprefixbefore <dir> Add <dir> to the end of the main include path
fef3106c
NB
720
721lang-asm
f2ac9964 722C Undocumented
fef3106c
NB
723
724lang-objc
f2ac9964 725C ObjC C++ ObjC++ Undocumented
fef3106c
NB
726
727nostdinc
728C ObjC C++ ObjC++
72de27ea 729Do not search standard system include directories (those specified with -isystem will still be used)
fef3106c
NB
730
731nostdinc++
72de27ea
NB
732C++ ObjC++
733Do not search standard system include directories for C++
fef3106c
NB
734
735o
736C ObjC C++ ObjC++ Joined Separate
72de27ea 737; Documented in common.opt
fef3106c
NB
738
739pedantic
740C ObjC C++ ObjC++
72de27ea 741; Documented in common.opt
fef3106c
NB
742
743pedantic-errors
744C ObjC C++ ObjC++
72de27ea 745; Documented in common.opt
fef3106c
NB
746
747print-objc-runtime-info
748ObjC ObjC++
f2ac9964 749Generate C header of platform-specific features
fef3106c
NB
750
751remap
752C ObjC C++ ObjC++
72de27ea 753Remap file names when including files
fef3106c
NB
754
755std=c++98
756C++ ObjC++
72de27ea 757Conform to the ISO 1998 C++ standard
fef3106c
NB
758
759std=c89
760C ObjC
72de27ea 761Conform to the ISO 1990 C standard
fef3106c
NB
762
763std=c99
764C ObjC
72de27ea 765Conform to the ISO 1999 C standard
fef3106c
NB
766
767std=c9x
768C ObjC
72de27ea 769Deprecated in favor of -std=c99
fef3106c
NB
770
771std=gnu++98
772C++ ObjC++
72de27ea 773Conform to the ISO 1998 C++ standard with GNU extensions
fef3106c
NB
774
775std=gnu89
776C ObjC
72de27ea 777Conform to the ISO 1990 C standard with GNU extensions
fef3106c
NB
778
779std=gnu99
780C ObjC
72de27ea 781Conform to the ISO 1999 C standard with GNU extensions
fef3106c
NB
782
783std=gnu9x
784C ObjC
72de27ea 785Deprecated in favor of -std=gnu99
fef3106c
NB
786
787std=iso9899:1990
788C ObjC
72de27ea 789Deprecated in favor of -std=c89
fef3106c
NB
790
791std=iso9899:199409
792C ObjC
72de27ea 793Conform to the ISO 1990 C standard as amended in 1994
fef3106c
NB
794
795std=iso9899:1999
796C ObjC
72de27ea 797Deprecated in favor of -std=c99
fef3106c
NB
798
799std=iso9899:199x
800C ObjC
72de27ea 801Deprecated in favor of -std=c99
fef3106c
NB
802
803traditional-cpp
804C ObjC C++ ObjC++
72de27ea 805Enable traditional preprocessing
fef3106c
NB
806
807trigraphs
808C ObjC C++ ObjC++
72de27ea 809-trigraphs Support ISO C trigraphs
fef3106c
NB
810
811undef
812C ObjC C++ ObjC++
72de27ea 813Do not predefine system-specific and GCC-specific macros
fef3106c
NB
814
815v
816C ObjC C++ ObjC++
72de27ea 817Enable verbose output
fef3106c
NB
818
819w
820C ObjC C++ ObjC++
72de27ea 821; Documented in common.opt
e11a4ae5
NB
822
823; This comment is to ensure we retain the blank line above.
This page took 0.300374 seconds and 5 git commands to generate.