c.opt 19.7 KB
Newer Older
1
; Options for the C, ObjC, C++ and ObjC++ front ends.
2
; Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
3 4 5 6 7 8 9
;
; This file is part of GCC.
;
; GCC is free software; you can redistribute it and/or modify it under
; the terms of the GNU General Public License as published by the Free
; Software Foundation; either version 2, or (at your option) any later
; version.
Mike Stump committed
10
;
11 12 13 14
; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
; WARRANTY; without even the implied warranty of MERCHANTABILITY or
; FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
; for more details.
Mike Stump committed
15
;
16 17
; You should have received a copy of the GNU General Public License
; along with GCC; see the file COPYING.  If not, write to the Free
Kelley Cook committed
18 19
; Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
; 02110-1301, USA.
20

21
; See the GCC internals manual for a description of this file's format.
22 23 24

; Please try to keep this file in ASCII collating order.

25 26 27 28 29 30 31 32 33 34 35 36
Language
C

Language
ObjC

Language
C++

Language
ObjC++

37 38 39 40 41
-output-pch=
C ObjC C++ ObjC++ Joined Separate

A
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 45

C
C ObjC C++ ObjC++
46
Do not discard comments
47 48 49

CC
C ObjC C++ ObjC++
50
Do not discard comments in macro expansions
51 52 53

D
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 60
F
C ObjC C++ ObjC++ Joined Separate
61
-F <dir>	Add <dir> to the end of the main framework include path
62

63 64
H
C ObjC C++ ObjC++
65
Print the name of header files as they are used
66 67 68

I
C ObjC C++ ObjC++ Joined Separate
69
-I <dir>	Add <dir> to the end of the main include path
70 71 72

M
C ObjC C++ ObjC++
73
Generate make dependencies
74 75 76

MD
C ObjC C++ ObjC++ Separate
77
Generate make dependencies and compile
78 79 80

MF
C ObjC C++ ObjC++ Joined Separate
81
-MF <file>	Write dependency output to the given file
82 83 84

MG
C ObjC C++ ObjC++
85
Treat missing header files as generated files
86 87 88

MM
C ObjC C++ ObjC++
89
Like -M but ignore system header files
90 91 92

MMD
C ObjC C++ ObjC++ Separate
93
Like -MD but ignore system header files
94 95 96

MP
C ObjC C++ ObjC++
97
Generate phony targets for all headers
98 99 100

MQ
C ObjC C++ ObjC++ Joined Separate
101
-MQ <target>	Add a MAKE-quoted target
102 103 104

MT
C ObjC C++ ObjC++ Joined Separate
105
-MT <target>	Add an unquoted target
106 107 108

P
C ObjC C++ ObjC++
109
Do not generate #line directives
110 111 112

U
C ObjC C++ ObjC++ Joined Separate
113
-U<macro>	Undefine <macro>
114 115

Wabi
116 117
C++ ObjC++ Var(warn_abi)
Warn about things that will change when compiling with an ABI-compliant compiler
118 119 120

Wall
C ObjC C++ ObjC++
121
Enable most warning messages
122

123 124 125 126
Wassign-intercept
ObjC ObjC++ Var(warn_assign_intercept)
Warn whenever an Objective-C assignment is being intercepted by the garbage collector

127
Wbad-function-cast
128
C ObjC Var(warn_bad_function_cast)
129
Warn about casting functions to incompatible types
130

131 132 133 134 135
Wc++-compat
C Var(warn_cxx_compat)
Warn about C constructs that are not in the common subset of C and C++


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 145

Wcomment
C ObjC C++ ObjC++
146
Warn about possibly nested block comments, and C++ comments spanning more than one physical line
147 148 149

Wcomments
C ObjC C++ ObjC++
150
Synonym for -Wcomment
151 152

Wconversion
153
C ObjC C++ ObjC++ Var(warn_conversion)
154
Warn about possibly confusing type conversions
155 156

Wctor-dtor-privacy
157
C++ ObjC++ Var(warn_ctor_dtor_privacy)
158
Warn when all constructors and destructors are private
159

160
Wdeclaration-after-statement
161
C ObjC Var(warn_declaration_after_statement)
162 163
Warn when a declaration is found after a statement

164
Wdeprecated
165
C++ ObjC++ Var(warn_deprecated) Init(1)
166
Warn about deprecated compiler features
167 168

Wdiv-by-zero
169
C ObjC C++ Var(warn_div_by_zero) Init(1)
170
Warn about compile-time integer division by zero
171 172

Weffc++
173
C++ ObjC++ Var(warn_ecpp)
174
Warn about violations of Effective C++ style rules
175 176 177

Wendif-labels
C ObjC C++ ObjC++
178
Warn about stray tokens after #elif and #endif
179 180 181

Werror
C ObjC C++ ObjC++
182
; Documented in common.opt
183 184

Werror-implicit-function-declaration
185
C ObjC RejectNegative
186
Make implicit function declarations an error
187 188

Wfloat-equal
189
C ObjC C++ ObjC++ Var(warn_float_equal)
190
Warn if testing floating point numbers for equality
191 192 193

Wformat
C ObjC C++ ObjC++
194
Warn about printf/scanf/strftime/strfmon format string anomalies
195 196

Wformat-extra-args
197
C ObjC C++ ObjC++ Var(warn_format_extra_args)
198
Warn if passing too many arguments to a function for its format string
199 200

Wformat-nonliteral
201
C ObjC C++ ObjC++ Var(warn_format_nonliteral)
202
Warn about format strings that are not literals
203 204

Wformat-security
205
C ObjC C++ ObjC++ Var(warn_format_security)
206
Warn about possible security problems with format functions
207 208

Wformat-y2k
209
C ObjC C++ ObjC++ Var(warn_format_y2k)
210
Warn about strftime formats yielding 2-digit years
211 212

Wformat-zero-length
213 214
C ObjC Var(warn_format_zero_length)
Warn about zero-length formats
215 216 217 218

Wformat=
C ObjC C++ ObjC++ Joined

Andrew Pinski committed
219
Winit-self
220
C ObjC C++ ObjC++ Var(warn_init_self)
221
Warn about variables which are initialized to themselves
Andrew Pinski committed
222

223 224 225 226
Wimplicit
C ObjC C++ ObjC++

Wimplicit-function-declaration
227
C ObjC Var(mesg_implicit_function_declaration) Init(-1)
228
Warn about implicit function declarations
229 230

Wimplicit-int
231
C ObjC Var(warn_implicit_int)
232
Warn when a declaration does not specify a type
233 234 235

Wimport
C ObjC C++ ObjC++
236
Deprecated.  This switch has no effect
237

238 239 240 241
Wint-to-pointer-cast
C ObjC Var(warn_int_to_pointer_cast) Init(1)
Warn when there is a cast to a pointer from an integer of a different size

242
Winvalid-offsetof
243
C++ ObjC++ Var(warn_invalid_offsetof) Init(1)
244
Warn about invalid uses of the \"offsetof\" macro
245 246 247

Winvalid-pch
C ObjC C++ ObjC++
248
Warn about PCH files that are found but not used
249 250

Wlong-long
251
C ObjC C++ ObjC++ Var(warn_long_long) Init(1)
252
Do not warn about using \"long long\" when -pedantic
253 254 255

Wmain
C ObjC
256
Warn about suspicious declarations of \"main\"
257 258

Wmissing-braces
259
C ObjC C++ ObjC++ Var(warn_missing_braces)
260
Warn about possibly missing braces around initializers
261 262

Wmissing-declarations
263
C ObjC Var(warn_missing_declarations)
264
Warn about global functions without previous declarations
265

266 267 268 269
Wmissing-field-initializers
C ObjC C++ ObjC++ Var(warn_missing_field_initializers) Init(-1)
Warn about missing fields in struct initializers

270
Wmissing-format-attribute
271
C ObjC C++ ObjC++ Var(warn_missing_format_attribute)
272
Warn about functions which might be candidates for format attributes
273

274 275 276 277
Wmissing-include-dirs
C ObjC C++ ObjC++
Warn about user-specified include directories that do not exist

278
Wmissing-prototypes
279
C ObjC Var(warn_missing_prototypes)
280
Warn about global functions without prototypes
281 282 283

Wmultichar
C ObjC C++ ObjC++
284
Warn about use of multi-character character constants
285 286

Wnested-externs
287
C ObjC Var(warn_nested_externs)
288
Warn about \"extern\" declarations not at file scope
289 290

Wnon-template-friend
291
C++ ObjC++ Var(warn_nontemplate_friend) Init(1)
292
Warn when non-templatized friend functions are declared within a template
293 294

Wnon-virtual-dtor
295
C++ ObjC++ Var(warn_nonvdtor)
296
Warn about non-virtual destructors
297 298

Wnonnull
299 300
C ObjC Var(warn_nonnull)
Warn about NULL being passed to argument slots marked as requiring non-NULL
301

Geoffrey Keating committed
302 303 304 305
Wnormalized=
C ObjC C++ ObjC++ Joined
-Wnormalized=<id|nfc|nfkc>	Warn about non-normalised Unicode strings

306
Wold-style-cast
307
C++ ObjC++ Var(warn_old_style_cast)
308
Warn if a C-style cast is used in a program
309

310
Wold-style-definition
311
C ObjC Var(warn_old_style_definition)
312 313
Warn if an old-style parameter definition is used

314 315 316 317
Woverlength-strings
C ObjC C++ ObjC++ Var(warn_overlength_strings) Init(-1)
Warn if a string is longer than the maximum portable length specified by the standard

318
Woverloaded-virtual
319
C++ ObjC++ Var(warn_overloaded_virtual)
320
Warn about overloaded virtual function names
321 322

Wparentheses
323
C ObjC C++ ObjC++ Var(warn_parentheses)
324
Warn about possibly missing parentheses
325 326

Wpmf-conversions
327
C++ ObjC++ Var(warn_pmf2ptr) Init(1)
328
Warn when converting the type of pointers to member functions
329 330

Wpointer-arith
331
C ObjC C++ ObjC++ Var(warn_pointer_arith)
332
Warn about function pointer arithmetic
333

334 335 336 337
Wpointer-to-int-cast
C ObjC Var(warn_pointer_to_int_cast) Init(1)
Warn when a pointer is cast to an integer of a different size

338 339 340 341
Wpragmas
C ObjC C++ ObjC++ Var(warn_pragmas) Init(1)
Warn about misuses of pragmas

342
Wprotocol
343
ObjC ObjC++ Var(warn_protocol) Init(1)
344
Warn if inherited methods are unimplemented
345 346

Wredundant-decls
347
C ObjC C++ ObjC++ Var(warn_redundant_decls)
348
Warn about multiple declarations of the same object
349 350

Wreorder
351
C++ ObjC++ Var(warn_reorder)
352
Warn when the compiler reorders code
353 354

Wreturn-type
355
C ObjC C++ ObjC++ Var(warn_return_type)
356
Warn whenever a function's return type defaults to \"int\" (C), or about inconsistent return types (C++)
357 358

Wselector
359
ObjC ObjC++ Var(warn_selector)
360
Warn if a selector has multiple methods
361 362

Wsequence-point
363
C ObjC C++ ObjC++ Var(warn_sequence_point)
364
Warn about possible violations of sequence point rules
365 366

Wsign-compare
367
C ObjC C++ ObjC++ Var(warn_sign_compare) Init(-1)
368
Warn about signed-unsigned comparisons
369 370

Wsign-promo
371
C++ ObjC++ Var(warn_sign_promo)
372
Warn when overload promotes from unsigned to signed
373

374 375 376 377
Wstrict-null-sentinel
C++ ObjC++
Warn about uncasted NULL used as sentinel

378
Wstrict-prototypes
379
C ObjC Var(warn_strict_prototypes)
380
Warn about unprototyped function declarations
381

382 383 384 385
Wstrict-selector-match
ObjC ObjC++ Var(warn_strict_selector_match)
Warn if type signatures of candidate methods do not match exactly

386
Wsynth
387
C++ ObjC++ Var(warn_synth)
388
Warn when synthesis behavior differs from Cfront
389 390 391

Wsystem-headers
C ObjC C++ ObjC++
392
Do not suppress warnings from system headers
393 394

Wtraditional
395
C ObjC Var(warn_traditional)
396
Warn about features not present in traditional C
397 398 399

Wtrigraphs
C ObjC C++ ObjC++
400
Warn if trigraphs are encountered that might affect the meaning of the program
401 402

Wundeclared-selector
403 404
ObjC ObjC++ Var(warn_undeclared_selector)
Warn about @selector()s without previously declared methods
405 406 407

Wundef
C ObjC C++ ObjC++
408
Warn if an undefined macro is used in an #if directive
409 410 411

Wunknown-pragmas
C ObjC C++ ObjC++
412
Warn about unrecognized pragmas
413 414 415

Wunused-macros
C ObjC C++ ObjC++
416
Warn about macros defined in the main file that are not used
417

418 419 420 421
Wvariadic-macros
C ObjC C++ ObjC++
Do not warn about using variadic macros when -pedantic

422
Wwrite-strings
423 424
C ObjC C++ ObjC++ Var(warn_write_strings)
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.
425

Andreas Jaeger committed
426
Wpointer-sign
427
C ObjC Var(warn_pointer_sign) Init(-1)
428
Warn when a pointer differs in signedness in an assignment
Andreas Jaeger committed
429

430 431
ansi
C ObjC C++ ObjC++
432
A synonym for -std=c89 (for C) or -std=c++98 (for C++)
433 434 435

d
C ObjC C++ ObjC++ Joined
436
; Documented in common.opt.  FIXME - what about -dI, -dD, -dN and -dD?
437 438 439

faccess-control
C++ ObjC++
440
Enforce class member access control semantics
441 442 443 444 445 446

fall-virtual
C++ ObjC++

falt-external-templates
C++ ObjC++
447
Change when template instances are emitted
448 449 450

fasm
C ObjC C++ ObjC++
451
Recognize the \"asm\" keyword
452 453 454

fbuiltin
C ObjC C++ ObjC++
455
Recognize built-in functions
456 457 458 459 460 461

fbuiltin-
C ObjC C++ ObjC++ Joined

fcheck-new
C++ ObjC++
462
Check the return value of new
463 464 465

fcond-mismatch
C ObjC C++ ObjC++
466
Allow the arguments of the '?' operator to have different types
467 468 469

fconserve-space
C++ ObjC++
470
Reduce the size of object files
471 472 473

fconstant-string-class=
ObjC ObjC++ Joined
474
-fconst-string-class=<name>	Use class <name> for constant strings
475 476 477

fdefault-inline
C++ ObjC++
478
Inline member functions by default
479 480 481

fdollars-in-identifiers
C ObjC C++ ObjC++
482
Permit '$' as an identifier character
483 484 485 486 487 488

felide-constructors
C++ ObjC++

fenforce-eh-specs
C++ ObjC++
489
Generate code to check exception specifications
490 491 492 493

fenum-int-equiv
C++ ObjC++

494 495
fexec-charset=
C ObjC C++ ObjC++ Joined RejectNegative
496
-fexec-charset=<cset>	Convert all strings and character constants to character set <cset>
497

498 499 500 501
fextended-identifiers
C ObjC C++ ObjC++
Permit universal character names (\\u and \\U) in identifiers

Eric Christopher committed
502 503
finput-charset=
C ObjC C++ ObjC++ Joined RejectNegative
504
-finput-charset=<cset>	Specify the default character set for source files
Eric Christopher committed
505 506


507 508 509 510 511 512
fexternal-templates
C++ ObjC++

ffixed-form
C ObjC

513 514 515
ffixed-line-length-none
C ObjC

516 517 518 519 520
ffixed-line-length-
C ObjC Joined

ffor-scope
C++ ObjC++
521
Scope of for-init-statement variables is local to the loop
522 523 524

ffreestanding
C ObjC
525
Do not assume that standard C libraries and \"main\" exist
526 527 528

fgnu-keywords
C++ ObjC++
529
Recognize GNU-defined keywords
530 531 532

fgnu-runtime
ObjC ObjC++
533
Generate code for GNU runtime environment
534 535 536 537 538 539 540 541 542 543 544 545

fguiding-decls
C++ ObjC++

fhandle-exceptions
C++ ObjC++

fhonor-std
C++ ObjC++

fhosted
C ObjC
546
Assume normal C execution environment
547 548 549

fhuge-objects
C++ ObjC++
550
Enable support for huge objects
551 552 553

fimplement-inlines
C++ ObjC++
554
Export functions even if they can be inlined
555 556 557

fimplicit-inline-templates
C++ ObjC++
558
Emit implicit instantiations of inline templates
559 560 561

fimplicit-templates
C++ ObjC++
562
Emit implicit instantiations of templates
563

564 565 566 567
ffriend-injection
C++ Var(flag_friend_injection)
Inject friend functions into enclosing namespace

568 569 570 571 572
flabels-ok
C++ ObjC++

fms-extensions
C ObjC C++ ObjC++
573
Don't warn about uses of Microsoft extensions
574 575 576 577 578 579 580 581 582

fname-mangling-version-
C++ ObjC++ Joined

fnew-abi
C++ ObjC++

fnext-runtime
ObjC ObjC++
583 584 585 586 587
Generate code for NeXT (Apple Mac OS X) runtime environment

fnil-receivers
ObjC ObjC++
Assume that receivers of Objective-C messages may be nil
588 589 590 591 592 593 594

fnonansi-builtins
C++ ObjC++

fnonnull-objects
C++ ObjC++

595 596 597 598 599 600 601 602 603 604 605 606
; Generate special '- .cxx_construct' and '- .cxx_destruct' methods
; to initialize any non-POD ivars in Objective-C++ classes.
fobjc-call-cxx-cdtors
ObjC++ Var(flag_objc_call_cxx_cdtors)
Generate special Objective-C methods to initialize/destroy non-POD C++ ivars, if needed

fobjc-direct-dispatch
ObjC ObjC++ Var(flag_objc_direct_dispatch)
Allow fast jumps to the message dispatcher

; Nonzero means that we will allow new ObjC exception syntax (@throw,
; @try, etc.) in source code.
607
fobjc-exceptions
608
ObjC ObjC++ Var(flag_objc_exceptions)
609 610
Enable Objective-C exception and synchronization syntax

611 612 613 614 615
fobjc-gc
ObjC ObjC++ Var(flag_objc_gc)
Enable garbage collection (GC) in Objective-C/Objective-C++ programs

; Nonzero means that we generate NeXT setjmp based exceptions.
616
fobjc-sjlj-exceptions
617
ObjC ObjC++ Var(flag_objc_sjlj_exceptions) Init(-1)
618 619
Enable Objective-C setjmp exception handling runtime

Diego Novillo committed
620 621 622 623
fopenmp
C ObjC C++ ObjC++ Var(flag_openmp)
Enable OpenMP

624 625
foperator-names
C++ ObjC++
626
Recognize C++ kewords like \"compl\" and \"xor\"
627 628 629

foptional-diags
C++ ObjC++
630
Enable optional diagnostics
631 632 633 634

fpch-deps
C ObjC C++ ObjC++

635 636 637 638
fpch-preprocess
C ObjC C++ ObjC++
Look for and use PCH files even when preprocessing

639 640
fpermissive
C++ ObjC++
641
Downgrade conformance errors to warnings
642 643 644

fpreprocessed
C ObjC C++ ObjC++
645
Treat the input file as already preprocessed
646

647 648 649 650
freplace-objc-classes
ObjC ObjC++
Used in Fix-and-Continue mode to indicate that object files may be swapped in at runtime

651 652
frepo
C++ ObjC++
653
Enable automatic template instantiation
654 655 656

frtti
C++ ObjC++
657
Generate run time type descriptor information
658 659 660

fshort-double
C ObjC C++ ObjC++
661
Use the same size for double as for float
662 663 664

fshort-enums
C ObjC C++ ObjC++
665
Use the narrowest integer type possible for enumeration types
666 667 668

fshort-wchar
C ObjC C++ ObjC++
669
Force the underlying type for \"wchar_t\" to be \"unsigned short\"
670 671 672

fsigned-bitfields
C ObjC C++ ObjC++
673
When \"signed\" or \"unsigned\" is not given make the bitfield signed
674 675 676

fsigned-char
C ObjC C++ ObjC++
677
Make \"char\" signed by default
678 679 680 681 682 683

fsquangle
C++ ObjC++

fstats
C++ ObjC++
684
Display statistics accumulated during compilation
685 686 687 688 689

fstrict-prototype
C++ ObjC++

ftabstop=
690
C ObjC C++ ObjC++ Joined RejectNegative UInteger
691
-ftabstop=<number>	Distance between tab stops for column reporting
692 693

ftemplate-depth-
Mike Stump committed
694
C++ ObjC++ Joined RejectNegative UInteger
695
-ftemplate-depth-<number>	Specify maximum template instantiation depth
696 697 698 699

fthis-is-variable
C++ ObjC++

700 701
fthreadsafe-statics
C++ ObjC++
702
-fno-threadsafe-statics	Do not generate thread-safe code for initializing local statics
703

704 705
funsigned-bitfields
C ObjC C++ ObjC++
706
When \"signed\" or \"unsigned\" is not given make the bitfield unsigned
707 708 709

funsigned-char
C ObjC C++ ObjC++
710
Make \"char\" unsigned by default
711 712 713

fuse-cxa-atexit
C++ ObjC++
714
Use __cxa_atexit to register destructors
715

Geoffrey Keating committed
716 717 718 719
fuse-cxa-get-exception-ptr
C++ ObjC++
Use __cxa_get_exception_ptr in exception handling

720
fvisibility-inlines-hidden
721
C++ ObjC++
722 723
Marks all inlined methods as having hidden visibility

724 725
fvtable-gc
C++ ObjC++
726
Discard unused virtual functions
727 728 729

fvtable-thunks
C++ ObjC++
730
Implement vtables using thunks
731 732 733

fweak
C++ ObjC++
734
Emit common-like symbols as weak symbols
735

736 737
fwide-exec-charset=
C ObjC C++ ObjC++ Joined RejectNegative
738
-fwide-exec-charset=<cset>	Convert all wide strings and character constants to character set <cset>
739

740 741 742 743
fworking-directory
C ObjC C++ ObjC++
Generate a #line directive pointing at the current working directory

744 745
fxref
C++ ObjC++
746
Emit cross referencing information
747

748 749 750 751
fzero-link
ObjC ObjC++
Generate lazy class lookup (via objc_getClass()) for use in Zero-Link mode

752 753
gen-decls
ObjC ObjC++
754
Dump declarations to a .decl file
755 756 757

idirafter
C ObjC C++ ObjC++ Joined Separate
758
-idirafter <dir>	Add <dir> to the end of the system include path
759 760 761

imacros
C ObjC C++ ObjC++ Joined Separate
762
-imacros <file>	Accept definition of macros in <file>
763

764 765 766 767
imultilib
C ObjC C++ ObjC++ Joined Separate
-imultilib <dir> Set <dir> to be the multilib include subdirectory

768 769
include
C ObjC C++ ObjC++ Joined Separate
770
-include <file>	Include the contents of <file> before other files
771 772 773

iprefix
C ObjC C++ ObjC++ Joined Separate
774
-iprefix <path>	Specify <path> as a prefix for next two options
775 776 777

isysroot
C ObjC C++ ObjC++ Joined Separate
778
-isysroot <dir>	Set <dir> to be the system root directory
779 780 781

isystem
C ObjC C++ ObjC++ Joined Separate
782
-isystem <dir>	Add <dir> to the start of the system include path
783

784 785 786 787
iquote
C ObjC C++ ObjC++ Joined Separate
-iquote <dir>	Add <dir> to the end of the quote include path

788 789
iwithprefix
C ObjC C++ ObjC++ Joined Separate
790
-iwithprefix <dir>	Add <dir> to the end of the system include path
791 792 793

iwithprefixbefore
C ObjC C++ ObjC++ Joined Separate
794
-iwithprefixbefore <dir>	Add <dir> to the end of the main include path
795 796

lang-asm
797
C Undocumented
798

799 800 801
lang-fortran
C Undocumented

802
lang-objc
803
C ObjC C++ ObjC++ Undocumented
804 805 806

nostdinc
C ObjC C++ ObjC++
807
Do not search standard system include directories (those specified with -isystem will still be used)
808 809

nostdinc++
810 811
C++ ObjC++
Do not search standard system include directories for C++
812 813 814

o
C ObjC C++ ObjC++ Joined Separate
815
; Documented in common.opt
816 817 818

pedantic
C ObjC C++ ObjC++
819
; Documented in common.opt
820 821 822

pedantic-errors
C ObjC C++ ObjC++
823
; Documented in common.opt
824 825 826

print-objc-runtime-info
ObjC ObjC++
827
Generate C header of platform-specific features
828

829 830
print-pch-checksum
C ObjC C++ ObjC++
831
Print a checksum of the executable for PCH validity checking, and stop
832

833 834
remap
C ObjC C++ ObjC++
835
Remap file names when including files
836 837 838

std=c++98
C++ ObjC++
839
Conform to the ISO 1998 C++ standard
840 841 842

std=c89
C ObjC
843
Conform to the ISO 1990 C standard
844 845 846

std=c99
C ObjC
847
Conform to the ISO 1999 C standard
848 849 850

std=c9x
C ObjC
851
Deprecated in favor of -std=c99
852 853 854

std=gnu++98
C++ ObjC++
855
Conform to the ISO 1998 C++ standard with GNU extensions
856 857 858

std=gnu89
C ObjC
859
Conform to the ISO 1990 C standard with GNU extensions
860 861 862

std=gnu99
C ObjC
863
Conform to the ISO 1999 C standard with GNU extensions
864 865 866

std=gnu9x
C ObjC
867
Deprecated in favor of -std=gnu99
868 869 870

std=iso9899:1990
C ObjC
871
Conform to the ISO 1990 C standard
872 873 874

std=iso9899:199409
C ObjC
875
Conform to the ISO 1990 C standard as amended in 1994
876 877 878

std=iso9899:1999
C ObjC
879
Conform to the ISO 1999 C standard
880 881 882

std=iso9899:199x
C ObjC
883
Deprecated in favor of -std=iso9899:1999
884 885 886

traditional-cpp
C ObjC C++ ObjC++
887
Enable traditional preprocessing
888 889 890

trigraphs
C ObjC C++ ObjC++
891
-trigraphs	Support ISO C trigraphs
892 893 894

undef
C ObjC C++ ObjC++
895
Do not predefine system-specific and GCC-specific macros
896 897 898

v
C ObjC C++ ObjC++
899
Enable verbose output
900 901 902

w
C ObjC C++ ObjC++
903
; Documented in common.opt
904 905

; This comment is to ensure we retain the blank line above.