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