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