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