00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 DEFINE_LANG_NAME ("C++")
00023
00024
00025
00026
00027 { "-faccess-control", "" },
00028 { "-fno-access-control",
00029 N_("Do not obey access control semantics") },
00030 { "-falt-external-templates",
00031 N_("Change when template instances are emitted") },
00032 { "-fno-alt-external-templates", "" },
00033 { "-fansi-overloading", "" },
00034 { "-fno-ansi-overloading", "" },
00035 { "-fcheck-new",
00036 N_("Check the return value of new") },
00037 { "-fno-check-new", "" },
00038 { "-fconserve-space",
00039 N_("Reduce size of object files") },
00040 { "-fno-conserve-space", "" },
00041 { "-fconst-strings", "" },
00042 { "-fno-const-strings",
00043 N_("Make string literals `char[]' instead of `const char[]'") },
00044 { "-fdefault-inline", "" },
00045 { "-fdump-translation-unit-",
00046 N_("Dump the entire translation unit to a file") },
00047 { "-fno-default-inline",
00048 N_("Do not inline member functions by default") },
00049 { "-frtti", "" },
00050 { "-fno-rtti",
00051 N_("Do not generate run time type descriptor information") },
00052 { "-felide-constructors", "" },
00053 { "-fno-elide-constructors", "" },
00054 { "-fenforce-eh-specs", "" },
00055 { "-fno-enforce-eh-specs",
00056 N_("Do not generate code to check exception specifications") },
00057 { "-fexternal-templates", "" },
00058 { "-fno-external-templates", "" },
00059 { "-ffor-scope", "" },
00060 { "-fno-for-scope",
00061 N_("Scope of for-init-statement vars extends outside") },
00062 { "-fgnu-keywords", "" },
00063 { "-fno-gnu-keywords",
00064 N_("Do not recognize GNU defined keywords") },
00065 { "-fhandle-exceptions", "" },
00066 { "-fno-handle-exceptions", "" },
00067 { "-fhuge-objects",
00068 N_("Enable support for huge objects") },
00069 { "-fno-huge-objects", "" },
00070 { "-fimplement-inlines", "" },
00071 { "-fno-implement-inlines",
00072 N_("Export functions even if they can be inlined") },
00073 { "-fimplicit-templates", "" },
00074 { "-fno-implicit-templates",
00075 N_("Only emit explicit template instantiations") },
00076 { "-fimplicit-inline-templates", "" },
00077 { "-fno-implicit-inline-templates",
00078 N_("Only emit explicit instantiations of inline templates") },
00079 { "-finit-priority", "" },
00080 { "-fno-init-priority", "" },
00081 { "-fmemoize-lookups", "" },
00082 { "-fno-memoize-lookups", "" },
00083 { "-fms-extensions",
00084 N_("Don't pedwarn about uses of Microsoft extensions") },
00085 { "-fno-ms-extensions", "" },
00086 { "-foperator-names",
00087 N_("Recognize and/bitand/bitor/compl/not/or/xor") },
00088 { "-fno-operator-names", "" },
00089 { "-foptional-diags", "" },
00090 { "-fno-optional-diags",
00091 N_("Disable optional diagnostics") },
00092 { "-fpermissive",
00093 N_("Downgrade conformance errors to warnings") },
00094 { "-fno-permissive", "" },
00095 { "-frepo",
00096 N_("Enable automatic template instantiation") },
00097 { "-fno-repo", "" },
00098 { "-fsave-memoized", "" },
00099 { "-fno-save-memoized", "" },
00100 { "-fstats",
00101 N_("Display statistics accumulated during compilation") },
00102 { "-fno-stats", "" },
00103 { "-ftemplate-depth-",
00104 N_("Specify maximum template instantiation depth") },
00105 { "-fuse-cxa-atexit",
00106 N_("Use __cxa_atexit to register destructors") },
00107 { "-fno-use-cxa-atexit", "" },
00108 { "-fvtable-gc",
00109 N_("Discard unused virtual functions") },
00110 { "-fno-vtable-gc", "" },
00111 { "-fvtable-thunks",
00112 N_("Implement vtables using thunks") },
00113 { "-fno-vtable-thunks", "" },
00114 { "-fweak",
00115 N_("Emit common-like symbols as weak symbols") },
00116 { "-fno-weak", "" },
00117 { "-fxref",
00118 N_("Emit cross referencing information") },
00119 { "-fno-xref", "" },
00120
00121 { "-Wreturn-type",
00122 N_("Warn about inconsistent return types") },
00123 { "-Wno-return-type", "" },
00124 { "-Woverloaded-virtual",
00125 N_("Warn about overloaded virtual function names") },
00126 { "-Wno-overloaded-virtual", "" },
00127 { "-Wctor-dtor-privacy", "" },
00128 { "-Wno-ctor-dtor-privacy",
00129 N_("Don't warn when all ctors/dtors are private") },
00130 { "-Wnon-virtual-dtor",
00131 N_("Warn about non virtual destructors") },
00132 { "-Wno-non-virtual-dtor", "" },
00133 { "-Wextern-inline",
00134 N_("Warn when a function is declared extern, then inline") },
00135 { "-Wno-extern-inline", "" },
00136 { "-Wreorder",
00137 N_("Warn when the compiler reorders code") },
00138 { "-Wno-reorder", "" },
00139 { "-Wsynth",
00140 N_("Warn when synthesis behavior differs from Cfront") },
00141 { "-Wno-synth", "" },
00142 { "-Wpmf-conversions", "" },
00143 { "-Wno-pmf-conversions",
00144 N_("Don't warn when type converting pointers to member functions") },
00145 { "-Weffc++",
00146 N_("Warn about violations of Effective C++ style rules") },
00147 { "-Wno-effc++", "" },
00148 { "-Wsign-promo",
00149 N_("Warn when overload promotes from unsigned to signed") },
00150 { "-Wno-sign-promo", "" },
00151 { "-Wold-style-cast",
00152 N_("Warn if a C style cast is used in a program") },
00153 { "-Wno-old-style-cast", "" },
00154 { "-Wnon-template-friend", "" },
00155 { "-Wno-non-template-friend",
00156 N_("Don't warn when non-templatized friend functions are declared within a template") },
00157 { "-Wdeprecated", "" },
00158 { "-Wno-deprecated",
00159 N_("Don't announce deprecation of compiler features") },