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