]> gcc.gnu.org Git - gcc.git/blob - gcc/cp/lang-options.h
tree.h: De-conditionalize init_priority code.
[gcc.git] / gcc / cp / lang-options.h
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 DEFINE_LANG_NAME ("C++")
22
23 /* This is the contribution to the `lang_options' array in gcc.c for
24 g++. */
25
26 { "-+e0", "" }, /* gcc.c tacks the `-' on the front. */
27 { "-+e1", "" },
28 { "-+e2", "" },
29 { "-faccess-control", "" },
30 { "-fno-access-control", "Do not obey access control semantics" },
31 { "-fall-virtual", "Make all member functions virtual" },
32 { "-fno-all-virtual", "" },
33 { "-falt-external-templates", "Change when template instances are emitted" },
34 { "-fno-alt-external-templates", "" },
35 { "-fansi-overloading", "" },
36 { "-fno-ansi-overloading", "" },
37 { "-fcheck-new", "Check the return value of new" },
38 { "-fno-check-new", "" },
39 { "-fconserve-space", "Reduce size of object files" },
40 { "-fno-conserve-space", "" },
41 { "-fdefault-inline", "" },
42 { "-fno-default-inline", "Do not inline mmeber functions be default"},
43 { "-frtti", "" },
44 { "-fno-rtti", "Do not generate run time type descriptor information" },
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", "Scope of for-init-statement vars extends outside" },
53 { "-fguiding-decls", "Implement guiding declarations" },
54 { "-fno-guiding-decls", "" },
55 { "-fgnu-keywords", "" },
56 { "-fno-gnu-keywords", "Do not recognise GNU defined keywords" },
57 { "-fhandle-exceptions", "Enable exception handling" },
58 { "-fno-handle-exceptions", "" },
59 { "-fhandle-signatures", "Handle signature language constructs" },
60 { "-fno-handle-signatures", "" },
61 { "-fhonor-std", "Do not ignore the namespace standard" },
62 { "-fno-honor-std", "" },
63 { "-fhuge-objects", "Enable support for huge objects" },
64 { "-fno-huge-objects", "" },
65 { "-fimplement-inlines", "" },
66 { "-fno-implement-inlines", "Export functions even if they can be inlined" },
67 { "-fimplicit-templates", "Emit implicit instatiations if needed" },
68 { "-fno-implicit-templates", "" },
69 { "-finit-priority", "Handle the init_priority attribute" },
70 { "-fno-init-priority", "" },
71 { "-flabels-ok", "Labels can be used as first class objects" },
72 { "-fno-labels-ok", "" },
73 { "-fmemoize-lookups", "Enable caching of member function resolutions" },
74 { "-fno-memoize-lookups", "" },
75 { "-fname-mangling-version-", "Set the version of name mangling to use" },
76 { "-fnew-abi", "Enable experimental ABI changes" },
77 { "-fno-new-abi", "" },
78 { "-fnonnull-objects", "" },
79 { "-fno-nonnull-objects", "Do not assume that a reference is always valid" },
80 { "-foperator-names", "Recognise and/bitand/bitor/compl/not/or/xor" },
81 { "-fno-operator-names", "" },
82 { "-foptional-diags", "" },
83 { "-fno-optional-diags", "Disable optional diagnostics" },
84 { "-frepo", "Enable automatic template instantiation" },
85 { "-fno-repo", "" },
86 { "-fsave-memoized", "Save cache of member function resolutions" },
87 { "-fno-save-memoized", "" },
88 { "-fsquangle", "Enable squashed name mangling" },
89 { "-fno-squangle", "" },
90 { "-fstats", "Display statistics accumulated during compilation" },
91 { "-fno-stats", "" },
92 { "-fstrict-prototype", "" },
93 { "-fno-strict-prototype", "Do not assume that empty prototype means no args" },
94 { "-ftemplate-depth-", "Specify maximum template instantiation depth"},
95 { "-fthis-is-variable", "Make 'this' not be type '* const'" },
96 { "-fno-this-is-variable", "" },
97 { "-fvtable-thunks", "Implement vtables using thunks" },
98 { "-fno-vtable-thunks", "" },
99 { "-fweak", "Emit common-like symbols as weak symbols" },
100 { "-fno-weak", "" },
101 { "-fxref", "Emit cross referencing information" },
102 { "-fno-xref", "" },
103
104 { "-Wreturn-type", "Warn about inconsistent return types" },
105 { "-Wno-return-type", "" },
106 { "-Woverloaded-virtual", "Warn about overloaded virtual function names" },
107 { "-Wno-overloaded-virtual", "" },
108 { "-Wctor-dtor-privacy", "Warn when all ctors/dtors are private" },
109 { "-Wno-ctor-dtor-privacy", "" },
110 { "-Wnon-virtual-dtor", "Warn about non virtual destructors" },
111 { "-Wno-non-virtual-dtor", "" },
112 { "-Wextern-inline", "Warn when a function is declared extern, then inline" },
113 { "-Wno-extern-inline", "" },
114 { "-Wreorder", "Warn when the compiler reorders code" },
115 { "-Wno-reorder", "" },
116 { "-Wsynth", "Warn when synthesis behaviour differs from Cfront" },
117 { "-Wno-synth", "" },
118 { "-Wpmf-conversions", "Warn when type converting pointers to member functions" },
119 { "-Wno-pmf-conversions", "" },
120 { "-Weffc++", "Warn about violations of Effective C++ style rules" },
121 { "-Wno-effc++", "" },
122 { "-Wsign-promo", "Warn when overload promotes from unsigned to signed" },
123 { "-Wno-sign-promo", "" },
124 { "-Wold-style-cast", "Warn if a C style cast is used in a program" },
125 { "-Wno-old-style-cast", "" },
This page took 0.0489 seconds and 6 git commands to generate.