]> gcc.gnu.org Git - gcc.git/blame - gcc/cp/lang-options.h
gcc.c, [...]: Use American spelling in messages.
[gcc.git] / gcc / cp / lang-options.h
CommitLineData
6ef471dc 1/* Definitions for switches for C++.
363e6541
RK
2 Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000
3 Free Software Foundation, Inc.
6ef471dc
RK
4
5This file is part of GNU CC.
6
7GNU CC is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation; either version 2, or (at your option)
10any later version.
11
12GNU CC is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with GNU CC; see the file COPYING. If not, write to
e9fa0c7c
RK
19the Free Software Foundation, 59 Temple Place - Suite 330,
20Boston, MA 02111-1307, USA. */
6ef471dc 21
124cb0bf
NC
22DEFINE_LANG_NAME ("C++")
23
3b4e6a16
PE
24/* This is the contribution to the `documented_lang_options' array in
25 toplev.c for g++. */
6ef471dc 26
124cb0bf 27 { "-faccess-control", "" },
a6371940
ZW
28 { "-fno-access-control",
29 N_("Do not obey access control semantics") },
30 { "-falt-external-templates",
31 N_("Change when template instances are emitted") },
124cb0bf
NC
32 { "-fno-alt-external-templates", "" },
33 { "-fansi-overloading", "" },
34 { "-fno-ansi-overloading", "" },
a6371940
ZW
35 { "-fcheck-new",
36 N_("Check the return value of new") },
124cb0bf 37 { "-fno-check-new", "" },
a6371940
ZW
38 { "-fconserve-space",
39 N_("Reduce size of object files") },
124cb0bf 40 { "-fno-conserve-space", "" },
d9cf7c82 41 { "-fconst-strings", "" },
a6371940
ZW
42 { "-fno-const-strings",
43 N_("Make string literals `char[]' instead of `const char[]'") },
124cb0bf 44 { "-fdefault-inline", "" },
a6371940
ZW
45 { "-fdump-translation-unit-",
46 N_("Dump the entire translation unit to a file") },
47 { "-fno-default-inline",
48 N_("Do not inline member functions by default") },
124cb0bf 49 { "-frtti", "" },
a6371940
ZW
50 { "-fno-rtti",
51 N_("Do not generate run time type descriptor information") },
124cb0bf
NC
52 { "-felide-constructors", "" },
53 { "-fno-elide-constructors", "" },
1660cb3a 54 { "-fenforce-eh-specs", "" },
a6371940
ZW
55 { "-fno-enforce-eh-specs",
56 N_("Do not generate code to check exception specifications") },
124cb0bf
NC
57 { "-fexternal-templates", "" },
58 { "-fno-external-templates", "" },
59 { "-ffor-scope", "" },
a6371940
ZW
60 { "-fno-for-scope",
61 N_("Scope of for-init-statement vars extends outside") },
124cb0bf 62 { "-fgnu-keywords", "" },
a6371940 63 { "-fno-gnu-keywords",
1737c953 64 N_("Do not recognize GNU defined keywords") },
e907984f 65 { "-fhandle-exceptions", "" },
124cb0bf 66 { "-fno-handle-exceptions", "" },
a6371940
ZW
67 { "-fhuge-objects",
68 N_("Enable support for huge objects") },
124cb0bf
NC
69 { "-fno-huge-objects", "" },
70 { "-fimplement-inlines", "" },
a6371940
ZW
71 { "-fno-implement-inlines",
72 N_("Export functions even if they can be inlined") },
f3400fe2 73 { "-fimplicit-templates", "" },
a6371940
ZW
74 { "-fno-implicit-templates",
75 N_("Only emit explicit template instatiations") },
f3400fe2 76 { "-fimplicit-inline-templates", "" },
a6371940
ZW
77 { "-fno-implicit-inline-templates",
78 N_("Only emit explicit instatiations of inline templates") },
b0a1da19 79 { "-finit-priority", "" },
2ce3c6c6 80 { "-fno-init-priority", "" },
e907984f 81 { "-fmemoize-lookups", "" },
124cb0bf 82 { "-fno-memoize-lookups", "" },
a6371940
ZW
83 { "-fms-extensions",
84 N_("Don't pedwarn about uses of Microsoft extensions") },
d2c192ad 85 { "-fno-ms-extensions", "" },
a6371940 86 { "-foperator-names",
1737c953 87 N_("Recognize and/bitand/bitor/compl/not/or/xor") },
124cb0bf
NC
88 { "-fno-operator-names", "" },
89 { "-foptional-diags", "" },
a6371940
ZW
90 { "-fno-optional-diags",
91 N_("Disable optional diagnostics") },
92 { "-fpermissive",
93 N_("Downgrade conformance errors to warnings") },
2642b9bf 94 { "-fno-permissive", "" },
a6371940
ZW
95 { "-frepo",
96 N_("Enable automatic template instantiation") },
124cb0bf 97 { "-fno-repo", "" },
e907984f 98 { "-fsave-memoized", "" },
124cb0bf 99 { "-fno-save-memoized", "" },
a6371940
ZW
100 { "-fstats",
101 N_("Display statistics accumulated during compilation") },
124cb0bf 102 { "-fno-stats", "" },
a6371940
ZW
103 { "-ftemplate-depth-",
104 N_("Specify maximum template instantiation depth") },
105 { "-fuse-cxa-atexit",
c725bd79 106 N_("Use __cxa_atexit to register destructors") },
db4283a0 107 { "-fno-use-cxa-atexit", "" },
a6371940
ZW
108 { "-fvtable-gc",
109 N_("Discard unused virtual functions") },
a1dd0d36 110 { "-fno-vtable-gc", "" },
a6371940
ZW
111 { "-fvtable-thunks",
112 N_("Implement vtables using thunks") },
124cb0bf 113 { "-fno-vtable-thunks", "" },
a6371940
ZW
114 { "-fweak",
115 N_("Emit common-like symbols as weak symbols") },
124cb0bf 116 { "-fno-weak", "" },
a6371940
ZW
117 { "-fxref",
118 N_("Emit cross referencing information") },
124cb0bf 119 { "-fno-xref", "" },
6ef471dc 120
a6371940
ZW
121 { "-Wreturn-type",
122 N_("Warn about inconsistent return types") },
124cb0bf 123 { "-Wno-return-type", "" },
a6371940
ZW
124 { "-Woverloaded-virtual",
125 N_("Warn about overloaded virtual function names") },
124cb0bf 126 { "-Wno-overloaded-virtual", "" },
56e3f54c 127 { "-Wctor-dtor-privacy", "" },
a6371940
ZW
128 { "-Wno-ctor-dtor-privacy",
129 N_("Don't warn when all ctors/dtors are private") },
130 { "-Wnon-virtual-dtor",
131 N_("Warn about non virtual destructors") },
124cb0bf 132 { "-Wno-non-virtual-dtor", "" },
a6371940
ZW
133 { "-Wextern-inline",
134 N_("Warn when a function is declared extern, then inline") },
124cb0bf 135 { "-Wno-extern-inline", "" },
a6371940
ZW
136 { "-Wreorder",
137 N_("Warn when the compiler reorders code") },
124cb0bf 138 { "-Wno-reorder", "" },
a6371940 139 { "-Wsynth",
1737c953 140 N_("Warn when synthesis behavior differs from Cfront") },
124cb0bf 141 { "-Wno-synth", "" },
56e3f54c 142 { "-Wpmf-conversions", "" },
a6371940
ZW
143 { "-Wno-pmf-conversions",
144 N_("Don't warn when type converting pointers to member functions") },
145 { "-Weffc++",
146 N_("Warn about violations of Effective C++ style rules") },
124cb0bf 147 { "-Wno-effc++", "" },
a6371940
ZW
148 { "-Wsign-promo",
149 N_("Warn when overload promotes from unsigned to signed") },
124cb0bf 150 { "-Wno-sign-promo", "" },
a6371940
ZW
151 { "-Wold-style-cast",
152 N_("Warn if a C style cast is used in a program") },
124cb0bf 153 { "-Wno-old-style-cast", "" },
56e3f54c 154 { "-Wnon-template-friend", "" },
a6371940
ZW
155 { "-Wno-non-template-friend",
156 N_("Don't warn when non-templatized friend functions are declared within a template") },
2de45c06 157 { "-Wdeprecated", "" },
a6371940
ZW
158 { "-Wno-deprecated",
159 N_("Don't announce deprecation of compiler features") },
This page took 0.828252 seconds and 5 git commands to generate.