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