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