1 | /* Definitions for switches for C++. |
---|
2 | Copyright (C) 1995 Free Software Foundation, Inc. |
---|
3 | |
---|
4 | This file is part of GNU CC. |
---|
5 | |
---|
6 | GNU CC is free software; you can redistribute it and/or modify |
---|
7 | it under the terms of the GNU General Public License as published by |
---|
8 | the Free Software Foundation; either version 2, or (at your option) |
---|
9 | any later version. |
---|
10 | |
---|
11 | GNU CC is distributed in the hope that it will be useful, |
---|
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
14 | GNU General Public License for more details. |
---|
15 | |
---|
16 | You should have received a copy of the GNU General Public License |
---|
17 | along with GNU CC; see the file COPYING. If not, write to |
---|
18 | the Free Software Foundation, 59 Temple Place - Suite 330, |
---|
19 | Boston, MA 02111-1307, USA. */ |
---|
20 | |
---|
21 | /* This is the contribution to the `lang_options' array in gcc.c for |
---|
22 | g++. */ |
---|
23 | |
---|
24 | "-+e0", /* gcc.c tacks the `-' on the front. */ |
---|
25 | "-+e1", |
---|
26 | "-+e2", |
---|
27 | "-faccess-control", |
---|
28 | "-fno-access-control", |
---|
29 | "-fall-virtual", |
---|
30 | "-fno-all-virtual", |
---|
31 | "-falt-external-templates", |
---|
32 | "-fno-alt-external-templates", |
---|
33 | "-fansi-overloading", |
---|
34 | "-fno-ansi-overloading", |
---|
35 | "-fcadillac", |
---|
36 | "-fno-cadillac", |
---|
37 | "-fcheck-new", |
---|
38 | "-fno-check-new", |
---|
39 | "-fconserve-space", |
---|
40 | "-fno-conserve-space", |
---|
41 | "-fdefault-inline", |
---|
42 | "-fno-default-inline", |
---|
43 | "-frtti", |
---|
44 | "-fno-rtti", |
---|
45 | "-felide-constructors", |
---|
46 | "-fno-elide-constructors", |
---|
47 | "-fenum-int-equiv", |
---|
48 | "-fno-enum-int-equiv", |
---|
49 | "-fexternal-templates", |
---|
50 | "-fno-external-templates", |
---|
51 | "-ffor-scope", |
---|
52 | "-fno-for-scope", |
---|
53 | "-fgc", |
---|
54 | "-fno-gc", |
---|
55 | "-fgnu-keywords", |
---|
56 | "-fno-gnu-keywords", |
---|
57 | "-fhandle-exceptions", |
---|
58 | "-fno-handle-exceptions", |
---|
59 | "-fhandle-signatures", |
---|
60 | "-fno-handle-signatures", |
---|
61 | "-fhuge-objects", |
---|
62 | "-fno-huge-objects", |
---|
63 | "-fimplement-inlines", |
---|
64 | "-fno-implement-inlines", |
---|
65 | "-fimplicit-templates", |
---|
66 | "-fno-implicit-templates", |
---|
67 | "-flabels-ok", |
---|
68 | "-fno-labels-ok", |
---|
69 | "-fmemoize-lookups", |
---|
70 | "-fno-memoize-lookups", |
---|
71 | "-fnonnull-objects", |
---|
72 | "-fno-nonnull-objects", |
---|
73 | "-foperator-names", |
---|
74 | "-fno-operator-names", |
---|
75 | "-frepo", |
---|
76 | "-fno-repo", |
---|
77 | "-fsave-memoized", |
---|
78 | "-fno-save-memoized", |
---|
79 | "-fshort-temps", |
---|
80 | "-fno-short-temps", |
---|
81 | "-fstats", |
---|
82 | "-fno-stats", |
---|
83 | "-fstrict-prototype", |
---|
84 | "-fno-strict-prototype", |
---|
85 | "-fthis-is-variable", |
---|
86 | "-fno-this-is-variable", |
---|
87 | "-fvtable-thunks", |
---|
88 | "-fno-vtable-thunks", |
---|
89 | "-fxref", |
---|
90 | "-fno-xref", |
---|
91 | |
---|
92 | "-Wreturn-type", |
---|
93 | "-Wno-return-type", |
---|
94 | "-Woverloaded-virtual", |
---|
95 | "-Wno-overloaded-virtual", |
---|
96 | "-Wtemplate-debugging", |
---|
97 | "-Wno-template-debugging", |
---|
98 | "-Wctor-dtor-privacy", |
---|
99 | "-Wno-ctor-dtor-privacy", |
---|
100 | "-Wnon-virtual-dtor", |
---|
101 | "-Wno-non-virtual-dtor", |
---|
102 | "-Wextern-inline", |
---|
103 | "-Wno-extern-inline", |
---|
104 | "-Wreorder", |
---|
105 | "-Wno-reorder", |
---|
106 | "-Wsynth", |
---|
107 | "-Wno-synth", |
---|