]>
Commit | Line | Data |
---|---|---|
fef3106c NB |
1 | ; Options for the C, ObjC, C++ and ObjC++ front ends. |
2 | ; Copyright (C) 2003 Free Software Foundation, Inc. | |
3 | ; | |
4 | ; This file is part of GCC. | |
5 | ; | |
6 | ; GCC is free software; you can redistribute it and/or modify it under | |
7 | ; the terms of the GNU General Public License as published by the Free | |
8 | ; Software Foundation; either version 2, or (at your option) any later | |
9 | ; version. | |
10 | ; | |
11 | ; GCC is distributed in the hope that it will be useful, but WITHOUT ANY | |
12 | ; WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
13 | ; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
14 | ; for more details. | |
15 | ; | |
16 | ; You should have received a copy of the GNU General Public License | |
17 | ; along with GCC; see the file COPYING. If not, write to the Free | |
18 | ; Software Foundation, 59 Temple Place - Suite 330, Boston, MA | |
19 | ; 02111-1307, USA. | |
20 | ||
21 | ||
22 | ; This file is processed by the script opts.sh. It is a database of | |
23 | ; command line options, with each record separated by a blank line, | |
24 | ; and each field appearing on its own line. The first field is the | |
25 | ; command-line switch with the leading "-" removed. All options | |
26 | ; beginning with "f" or "W" are implicitly assumed to take a "no-" | |
27 | ; form; this form should not be listed. | |
28 | ||
29 | ; The second field is a space-separated list of which parts of the | |
30 | ; compiler recognize the switch. Current valid entries are "C", | |
31 | ; "ObjC", "C++" and "ObjC++". If the switch takes an argument, then | |
32 | ; you should also specify "Joined" and/or "Separate" to indicate where | |
33 | ; the argument can appear. | |
34 | ||
35 | ; Comments can appear on their own line anwhere in the file, preceded | |
36 | ; by a semicolon. Whitespace is permitted before the semicolon. | |
37 | ||
38 | ; For each switch XXX below, an enumeration constant is created by the | |
39 | ; script opts.sh spelt OPT_XXX, but with all non-alphanumeric | |
40 | ; characters replaced with an underscore. | |
41 | ||
42 | ; Please try to keep this file in ASCII collating order. | |
43 | ||
44 | -help | |
45 | C ObjC C++ ObjC++ | |
46 | ||
47 | -output-pch= | |
48 | C ObjC C++ ObjC++ Joined Separate | |
49 | ||
50 | A | |
51 | C ObjC C++ ObjC++ Joined Separate | |
52 | ||
53 | C | |
54 | C ObjC C++ ObjC++ | |
55 | ||
56 | CC | |
57 | C ObjC C++ ObjC++ | |
58 | ||
59 | D | |
60 | C ObjC C++ ObjC++ Joined Separate | |
61 | ||
62 | E | |
63 | C ObjC C++ ObjC++ | |
64 | ||
65 | H | |
66 | C ObjC C++ ObjC++ | |
67 | ||
68 | I | |
69 | C ObjC C++ ObjC++ Joined Separate | |
70 | ||
71 | M | |
72 | C ObjC C++ ObjC++ | |
73 | ||
74 | MD | |
75 | C ObjC C++ ObjC++ Separate | |
76 | ||
77 | MF | |
78 | C ObjC C++ ObjC++ Joined Separate | |
79 | ||
80 | MG | |
81 | C ObjC C++ ObjC++ | |
82 | ||
83 | MM | |
84 | C ObjC C++ ObjC++ | |
85 | ||
86 | MMD | |
87 | C ObjC C++ ObjC++ Separate | |
88 | ||
89 | MP | |
90 | C ObjC C++ ObjC++ | |
91 | ||
92 | MQ | |
93 | C ObjC C++ ObjC++ Joined Separate | |
94 | ||
95 | MT | |
96 | C ObjC C++ ObjC++ Joined Separate | |
97 | ||
98 | P | |
99 | C ObjC C++ ObjC++ | |
100 | ||
101 | U | |
102 | C ObjC C++ ObjC++ Joined Separate | |
103 | ||
104 | Wabi | |
105 | C++ ObjC++ | |
106 | ||
107 | Wall | |
108 | C ObjC C++ ObjC++ | |
109 | ||
110 | Wbad-function-cast | |
111 | C ObjC | |
112 | ||
113 | Wcast-qual | |
114 | C ObjC C++ ObjC++ | |
115 | ||
116 | Wchar-subscripts | |
117 | C ObjC C++ ObjC++ | |
118 | ||
119 | Wcomment | |
120 | C ObjC C++ ObjC++ | |
121 | ||
122 | Wcomments | |
123 | C ObjC C++ ObjC++ | |
124 | ||
125 | Wconversion | |
126 | C ObjC C++ ObjC++ | |
127 | ||
128 | Wctor-dtor-privacy | |
129 | C++ ObjC++ | |
130 | ||
131 | Wdeprecated | |
132 | C++ ObjC++ | |
133 | ||
134 | Wdiv-by-zero | |
135 | C ObjC | |
136 | ||
137 | Weffc++ | |
138 | C++ ObjC++ | |
139 | ||
140 | Wendif-labels | |
141 | C ObjC C++ ObjC++ | |
142 | ||
143 | Werror | |
144 | C ObjC C++ ObjC++ | |
145 | ||
146 | Werror-implicit-function-declaration | |
147 | C ObjC | |
148 | ||
149 | Wfloat-equal | |
150 | C ObjC C++ ObjC++ | |
151 | ||
152 | Wformat | |
153 | C ObjC C++ ObjC++ | |
154 | ||
155 | Wformat-extra-args | |
156 | C ObjC C++ ObjC++ | |
157 | ||
158 | Wformat-nonliteral | |
159 | C ObjC C++ ObjC++ | |
160 | ||
161 | Wformat-security | |
162 | C ObjC C++ ObjC++ | |
163 | ||
164 | Wformat-y2k | |
165 | C ObjC C++ ObjC++ | |
166 | ||
167 | Wformat-zero-length | |
168 | C ObjC | |
169 | ||
170 | Wformat= | |
171 | C ObjC C++ ObjC++ Joined | |
172 | ||
173 | Wimplicit | |
174 | C ObjC C++ ObjC++ | |
175 | ||
176 | Wimplicit-function-declaration | |
177 | C ObjC | |
178 | ||
179 | Wimplicit-int | |
180 | C ObjC | |
181 | ||
182 | Wimport | |
183 | C ObjC C++ ObjC++ | |
184 | ||
185 | Winvalid-offsetof | |
186 | C++ ObjC++ | |
187 | ||
188 | Winvalid-pch | |
189 | C ObjC C++ ObjC++ | |
190 | ||
191 | Wlong-long | |
192 | C ObjC C++ ObjC++ | |
193 | ||
194 | Wmain | |
195 | C ObjC | |
196 | ||
197 | Wmissing-braces | |
198 | C ObjC C++ ObjC++ | |
199 | ||
200 | Wmissing-declarations | |
201 | C ObjC | |
202 | ||
203 | Wmissing-format-attribute | |
204 | C ObjC C++ ObjC++ | |
205 | ||
206 | Wmissing-prototypes | |
207 | C ObjC | |
208 | ||
209 | Wmultichar | |
210 | C ObjC C++ ObjC++ | |
211 | ||
212 | Wnested-externs | |
213 | C ObjC | |
214 | ||
215 | Wnon-template-friend | |
216 | C++ ObjC++ | |
217 | ||
218 | Wnon-virtual-dtor | |
219 | C++ ObjC++ | |
220 | ||
221 | Wnonnull | |
222 | C ObjC | |
223 | ||
224 | Wold-style-cast | |
225 | C++ ObjC++ | |
226 | ||
227 | Woverloaded-virtual | |
228 | C++ ObjC++ | |
229 | ||
230 | Wparentheses | |
231 | C ObjC C++ ObjC++ | |
232 | ||
233 | Wpmf-conversions | |
234 | C++ ObjC++ | |
235 | ||
236 | Wpointer-arith | |
237 | C ObjC C++ ObjC++ | |
238 | ||
239 | Wprotocol | |
240 | ObjC ObjC++ | |
241 | ||
242 | Wredundant-decls | |
243 | C ObjC C++ ObjC++ | |
244 | ||
245 | Wreorder | |
246 | C++ ObjC++ | |
247 | ||
248 | Wreturn-type | |
249 | C ObjC C++ ObjC++ | |
250 | ||
251 | Wselector | |
252 | ObjC ObjC++ | |
253 | ||
254 | Wsequence-point | |
255 | C ObjC | |
256 | ||
257 | Wsign-compare | |
258 | C ObjC C++ ObjC++ | |
259 | ||
260 | Wsign-promo | |
261 | C++ ObjC++ | |
262 | ||
263 | Wstrict-prototypes | |
264 | C ObjC | |
265 | ||
266 | Wsynth | |
267 | C++ ObjC++ | |
268 | ||
269 | Wsystem-headers | |
270 | C ObjC C++ ObjC++ | |
271 | ||
272 | Wtraditional | |
273 | C ObjC | |
274 | ||
275 | Wtrigraphs | |
276 | C ObjC C++ ObjC++ | |
277 | ||
278 | Wundeclared-selector | |
279 | ObjC ObjC++ | |
280 | ||
281 | Wundef | |
282 | C ObjC C++ ObjC++ | |
283 | ||
284 | Wunknown-pragmas | |
285 | C ObjC C++ ObjC++ | |
286 | ||
287 | Wunused-macros | |
288 | C ObjC C++ ObjC++ | |
289 | ||
290 | Wwrite-strings | |
291 | C ObjC C++ ObjC++ | |
292 | ||
293 | ansi | |
294 | C ObjC C++ ObjC++ | |
295 | ||
296 | d | |
297 | C ObjC C++ ObjC++ Joined | |
298 | ||
299 | fabi-version= | |
300 | C++ ObjC++ Joined | |
301 | ||
302 | faccess-control | |
303 | C++ ObjC++ | |
304 | ||
305 | fall-virtual | |
306 | C++ ObjC++ | |
307 | ||
308 | falt-external-templates | |
309 | C++ ObjC++ | |
310 | ||
311 | fasm | |
312 | C ObjC C++ ObjC++ | |
313 | ||
314 | fbuiltin | |
315 | C ObjC C++ ObjC++ | |
316 | ||
317 | fbuiltin- | |
318 | C ObjC C++ ObjC++ Joined | |
319 | ||
320 | fcheck-new | |
321 | C++ ObjC++ | |
322 | ||
323 | fcond-mismatch | |
324 | C ObjC C++ ObjC++ | |
325 | ||
326 | fconserve-space | |
327 | C++ ObjC++ | |
328 | ||
329 | fconst-strings | |
330 | C++ ObjC++ | |
331 | ||
332 | fconstant-string-class= | |
333 | ObjC ObjC++ Joined | |
334 | ||
335 | fdefault-inline | |
336 | C++ ObjC++ | |
337 | ||
338 | fdollars-in-identifiers | |
339 | C ObjC C++ ObjC++ | |
340 | ||
341 | fdump- | |
342 | C ObjC C++ ObjC++ Joined | |
343 | ||
344 | felide-constructors | |
345 | C++ ObjC++ | |
346 | ||
347 | fenforce-eh-specs | |
348 | C++ ObjC++ | |
349 | ||
350 | fenum-int-equiv | |
351 | C++ ObjC++ | |
352 | ||
353 | fexternal-templates | |
354 | C++ ObjC++ | |
355 | ||
356 | ffixed-form | |
357 | C ObjC | |
358 | ||
359 | ffixed-line-length- | |
360 | C ObjC Joined | |
361 | ||
362 | ffor-scope | |
363 | C++ ObjC++ | |
364 | ||
365 | ffreestanding | |
366 | C ObjC | |
367 | ||
368 | fgnu-keywords | |
369 | C++ ObjC++ | |
370 | ||
371 | fgnu-runtime | |
372 | ObjC ObjC++ | |
373 | ||
374 | fguiding-decls | |
375 | C++ ObjC++ | |
376 | ||
377 | fhandle-exceptions | |
378 | C++ ObjC++ | |
379 | ||
380 | fhonor-std | |
381 | C++ ObjC++ | |
382 | ||
383 | fhosted | |
384 | C ObjC | |
385 | ||
386 | fhuge-objects | |
387 | C++ ObjC++ | |
388 | ||
389 | fimplement-inlines | |
390 | C++ ObjC++ | |
391 | ||
392 | fimplicit-inline-templates | |
393 | C++ ObjC++ | |
394 | ||
395 | fimplicit-templates | |
396 | C++ ObjC++ | |
397 | ||
398 | flabels-ok | |
399 | C++ ObjC++ | |
400 | ||
401 | fms-extensions | |
402 | C ObjC C++ ObjC++ | |
403 | ||
404 | fname-mangling-version- | |
405 | C++ ObjC++ Joined | |
406 | ||
407 | fnew-abi | |
408 | C++ ObjC++ | |
409 | ||
410 | fnext-runtime | |
411 | ObjC ObjC++ | |
412 | ||
413 | fnonansi-builtins | |
414 | C++ ObjC++ | |
415 | ||
416 | fnonnull-objects | |
417 | C++ ObjC++ | |
418 | ||
419 | foperator-names | |
420 | C++ ObjC++ | |
421 | ||
422 | foptional-diags | |
423 | C++ ObjC++ | |
424 | ||
425 | fpch-deps | |
426 | C ObjC C++ ObjC++ | |
427 | ||
428 | fpermissive | |
429 | C++ ObjC++ | |
430 | ||
431 | fpreprocessed | |
432 | C ObjC C++ ObjC++ | |
433 | ||
434 | frepo | |
435 | C++ ObjC++ | |
436 | ||
437 | frtti | |
438 | C++ ObjC++ | |
439 | ||
440 | fshort-double | |
441 | C ObjC C++ ObjC++ | |
442 | ||
443 | fshort-enums | |
444 | C ObjC C++ ObjC++ | |
445 | ||
446 | fshort-wchar | |
447 | C ObjC C++ ObjC++ | |
448 | ||
449 | fshow-column | |
450 | C ObjC C++ ObjC++ | |
451 | ||
452 | fsigned-bitfields | |
453 | C ObjC C++ ObjC++ | |
454 | ||
455 | fsigned-char | |
456 | C ObjC C++ ObjC++ | |
457 | ||
458 | fsquangle | |
459 | C++ ObjC++ | |
460 | ||
461 | fstats | |
462 | C++ ObjC++ | |
463 | ||
464 | fstrict-prototype | |
465 | C++ ObjC++ | |
466 | ||
467 | ftabstop= | |
468 | C ObjC C++ ObjC++ Joined | |
469 | ||
470 | ftemplate-depth- | |
471 | C++ ObjC++ Joined | |
472 | ||
473 | fthis-is-variable | |
474 | C++ ObjC++ | |
475 | ||
476 | funsigned-bitfields | |
477 | C ObjC C++ ObjC++ | |
478 | ||
479 | funsigned-char | |
480 | C ObjC C++ ObjC++ | |
481 | ||
482 | fuse-cxa-atexit | |
483 | C++ ObjC++ | |
484 | ||
485 | fvtable-gc | |
486 | C++ ObjC++ | |
487 | ||
488 | fvtable-thunks | |
489 | C++ ObjC++ | |
490 | ||
491 | fweak | |
492 | C++ ObjC++ | |
493 | ||
494 | fxref | |
495 | C++ ObjC++ | |
496 | ||
497 | gen-decls | |
498 | ObjC ObjC++ | |
499 | ||
500 | idirafter | |
501 | C ObjC C++ ObjC++ Joined Separate | |
502 | ||
503 | imacros | |
504 | C ObjC C++ ObjC++ Joined Separate | |
505 | ||
506 | include | |
507 | C ObjC C++ ObjC++ Joined Separate | |
508 | ||
509 | iprefix | |
510 | C ObjC C++ ObjC++ Joined Separate | |
511 | ||
512 | isysroot | |
513 | C ObjC C++ ObjC++ Joined Separate | |
514 | ||
515 | isystem | |
516 | C ObjC C++ ObjC++ Joined Separate | |
517 | ||
518 | iwithprefix | |
519 | C ObjC C++ ObjC++ Joined Separate | |
520 | ||
521 | iwithprefixbefore | |
522 | C ObjC C++ ObjC++ Joined Separate | |
523 | ||
524 | lang-asm | |
525 | C | |
526 | ||
527 | lang-objc | |
528 | C ObjC C++ ObjC++ | |
529 | ||
530 | nostdinc | |
531 | C ObjC C++ ObjC++ | |
532 | ||
533 | nostdinc++ | |
534 | C ObjC C++ ObjC++ | |
535 | ||
536 | o | |
537 | C ObjC C++ ObjC++ Joined Separate | |
538 | ||
539 | pedantic | |
540 | C ObjC C++ ObjC++ | |
541 | ||
542 | pedantic-errors | |
543 | C ObjC C++ ObjC++ | |
544 | ||
545 | print-objc-runtime-info | |
546 | ObjC ObjC++ | |
547 | ||
548 | remap | |
549 | C ObjC C++ ObjC++ | |
550 | ||
551 | std=c++98 | |
552 | C++ ObjC++ | |
553 | ||
554 | std=c89 | |
555 | C ObjC | |
556 | ||
557 | std=c99 | |
558 | C ObjC | |
559 | ||
560 | std=c9x | |
561 | C ObjC | |
562 | ||
563 | std=gnu++98 | |
564 | C++ ObjC++ | |
565 | ||
566 | std=gnu89 | |
567 | C ObjC | |
568 | ||
569 | std=gnu99 | |
570 | C ObjC | |
571 | ||
572 | std=gnu9x | |
573 | C ObjC | |
574 | ||
575 | std=iso9899:1990 | |
576 | C ObjC | |
577 | ||
578 | std=iso9899:199409 | |
579 | C ObjC | |
580 | ||
581 | std=iso9899:1999 | |
582 | C ObjC | |
583 | ||
584 | std=iso9899:199x | |
585 | C ObjC | |
586 | ||
587 | traditional-cpp | |
588 | C ObjC C++ ObjC++ | |
589 | ||
590 | trigraphs | |
591 | C ObjC C++ ObjC++ | |
592 | ||
593 | undef | |
594 | C ObjC C++ ObjC++ | |
595 | ||
596 | v | |
597 | C ObjC C++ ObjC++ | |
598 | ||
599 | w | |
600 | C ObjC C++ ObjC++ |