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