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. Current valid entries are "C",
33 ; "ObjC", "C++" and "ObjC++". If the switch takes an argument, then
34 ; you should also specify "Joined" and/or "Separate" to indicate where
35 ; the argument can appear.
37 ; Comments can appear on their own line anwhere in the file, preceded
38 ; by a semicolon. Whitespace is permitted before the semicolon.
40 ; For each switch XXX below, an enumeration constant is created by the
41 ; script opts.sh spelt OPT_XXX, but with all non-alphanumeric
42 ; characters replaced with an underscore.
44 ; Please try to keep this file in ASCII collating order.
50 C ObjC C++ ObjC++ Joined Separate
53 C ObjC C++ ObjC++ Joined Separate
62 C ObjC C++ ObjC++ Joined Separate
71 C ObjC C++ ObjC++ Joined Separate
77 C ObjC C++ ObjC++ Separate
80 C ObjC C++ ObjC++ Joined Separate
89 C ObjC C++ ObjC++ Separate
95 C ObjC C++ ObjC++ Joined Separate
98 C ObjC C++ ObjC++ Joined Separate
104 C ObjC C++ ObjC++ Joined Separate
148 Werror-implicit-function-declaration
149 C ObjC RejectNegative
173 C ObjC C++ ObjC++ Joined
178 Wimplicit-function-declaration
202 Wmissing-declarations
205 Wmissing-format-attribute
299 C ObjC C++ ObjC++ Joined
310 falt-external-templates
320 C ObjC C++ ObjC++ Joined
334 fconstant-string-class=
340 fdollars-in-identifiers
344 C ObjC C++ ObjC++ Joined RejectNegative
394 fimplicit-inline-templates
406 fname-mangling-version-
470 C ObjC C++ ObjC++ Joined RejectNegative
503 C ObjC C++ ObjC++ Joined Separate
506 C ObjC C++ ObjC++ Joined Separate
509 C ObjC C++ ObjC++ Joined Separate
512 C ObjC C++ ObjC++ Joined Separate
515 C ObjC C++ ObjC++ Joined Separate
518 C ObjC C++ ObjC++ Joined Separate
521 C ObjC C++ ObjC++ Joined Separate
524 C ObjC C++ ObjC++ Joined Separate
539 C ObjC C++ ObjC++ Joined Separate
547 print-objc-runtime-info
604 ; This comment is to ensure we retain the blank line above.