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