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 ; Comments can appear on their own line anwhere in the file, preceded
42 ; by a semicolon. Whitespace is permitted before the semicolon.
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.
48 ; Please try to keep this file in ASCII collating order.
66 C ObjC C++ ObjC++ Joined Separate
69 C ObjC C++ ObjC++ Joined Separate
78 C ObjC C++ ObjC++ Joined Separate
87 C ObjC C++ ObjC++ Joined Separate
93 C ObjC C++ ObjC++ Separate
96 C ObjC C++ ObjC++ Joined Separate
105 C ObjC C++ ObjC++ Separate
111 C ObjC C++ ObjC++ Joined Separate
114 C ObjC C++ ObjC++ Joined Separate
120 C ObjC C++ ObjC++ Joined Separate
164 Werror-implicit-function-declaration
165 C ObjC RejectNegative
189 C ObjC C++ ObjC++ Joined
194 Wimplicit-function-declaration
218 Wmissing-declarations
221 Wmissing-format-attribute
315 C ObjC C++ ObjC++ Joined
318 C++ ObjC++ Joined UInteger
326 falt-external-templates
336 C ObjC C++ ObjC++ Joined
350 fconstant-string-class=
356 fdollars-in-identifiers
360 C ObjC C++ ObjC++ Joined RejectNegative
410 fimplicit-inline-templates
422 fname-mangling-version-
486 C ObjC C++ ObjC++ Joined RejectNegative UInteger
489 C++ ObjC++ Joined RejectNegative UInteger
519 C ObjC C++ ObjC++ Joined Separate
522 C ObjC C++ ObjC++ Joined Separate
525 C ObjC C++ ObjC++ Joined Separate
528 C ObjC C++ ObjC++ Joined Separate
531 C ObjC C++ ObjC++ Joined Separate
534 C ObjC C++ ObjC++ Joined Separate
537 C ObjC C++ ObjC++ Joined Separate
540 C ObjC C++ ObjC++ Joined Separate
555 C ObjC C++ ObjC++ Joined Separate
563 print-objc-runtime-info
620 ; This comment is to ensure we retain the blank line above.