1 ; Options for the C, ObjC, C++ and ObjC++ front ends.
2 ; Copyright (C) 2003 Free Software Foundation, Inc.
4 ; This file is part of GCC.
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
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
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
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. If you do not want this
28 ; negative form and you want it to be automatically rejected, add
29 ; RejectNegative to the second field.
31 ; The second field is a space-separated list of which parts of the
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
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.
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.
49 ; Comments can appear on their own line anwhere in the file, preceded
50 ; by a semicolon. Whitespace is permitted before the semicolon.
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.
56 ; Please try to keep this file in ASCII collating order.
74 C ObjC C++ ObjC++ Joined Separate
77 C ObjC C++ ObjC++ Joined Separate
86 C ObjC C++ ObjC++ Joined Separate
95 C ObjC C++ ObjC++ Joined Separate
101 C ObjC C++ ObjC++ Separate
104 C ObjC C++ ObjC++ Joined Separate
113 C ObjC C++ ObjC++ Separate
119 C ObjC C++ ObjC++ Joined Separate
122 C ObjC C++ ObjC++ Joined Separate
128 C ObjC C++ ObjC++ Joined Separate
172 Werror-implicit-function-declaration
173 C ObjC RejectNegative
197 C ObjC C++ ObjC++ Joined
202 Wimplicit-function-declaration
226 Wmissing-declarations
229 Wmissing-format-attribute
323 C ObjC C++ ObjC++ Joined
326 C++ ObjC++ Joined UInteger
334 falt-external-templates
344 C ObjC C++ ObjC++ Joined
358 fconstant-string-class=
364 fdollars-in-identifiers
368 C ObjC C++ ObjC++ Joined RejectNegative
380 C ObjC C++ ObjC++ Joined RejectNegative
421 fimplicit-inline-templates
433 fname-mangling-version-
497 C ObjC C++ ObjC++ Joined RejectNegative UInteger
500 C++ ObjC++ Joined RejectNegative UInteger
524 C ObjC C++ ObjC++ Joined RejectNegative
533 C ObjC C++ ObjC++ Joined Separate
536 C ObjC C++ ObjC++ Joined Separate
539 C ObjC C++ ObjC++ Joined Separate
542 C ObjC C++ ObjC++ Joined Separate
545 C ObjC C++ ObjC++ Joined Separate
548 C ObjC C++ ObjC++ Joined Separate
551 C ObjC C++ ObjC++ Joined Separate
554 C ObjC C++ ObjC++ Joined Separate
569 C ObjC C++ ObjC++ Joined Separate
577 print-objc-runtime-info
634 ; This comment is to ensure we retain the blank line above.