Create support/cpp2/options.c and support/cpp2/options.h under MSVC
[fw/sdcc] / support / cpp2 / options_vc_in.c
1 /* This file is auto-generated by opts.sh.  */
2
3 #include <intl.h>
4 #include "options.h"
5 #include "opts.h"
6
7 const char * const lang_names[] =
8 {
9   "SDCPP",
10   0
11 };
12
13 const unsigned int cl_options_count = N_OPTS;
14
15 const struct cl_option cl_options[] =
16 {
17   { "--help",
18     N_("Display this information"),
19     N_OPTS, 5, CL_COMMON },
20   { "--version",
21     N_("Display the compiler's version"),
22     N_OPTS, 8, CL_COMMON },
23   { "-A",
24     N_("-A<question>=<answer>   Assert the <answer> to <question>.  Putting '-' before <question> disables the <answer> to <question>"),
25     N_OPTS, 1, CL_SDCPP | CL_JOINED | CL_SEPARATE },
26   { "-C",
27     N_("Do not discard comments"),
28     N_OPTS, 1, CL_SDCPP },
29   { "-CC",
30     N_("Do not discard comments in macro expansions"),
31     N_OPTS, 2, CL_SDCPP },
32   { "-D",
33     N_("-D<macro>[=<val>]       Define a <macro> with <val> as its value.  If just <macro> is given, <val> is taken to be 1"),
34     N_OPTS, 1, CL_SDCPP | CL_JOINED | CL_SEPARATE },
35   { "-H",
36     N_("Print the name of header files as they are used"),
37     N_OPTS, 1, CL_SDCPP },
38   { "-I",
39     N_("-I <dir>        Add <dir> to the end of the main include path.  -I- gives more include path control; see info documentation"),
40     N_OPTS, 1, CL_SDCPP | CL_JOINED | CL_SEPARATE },
41   { "-M",
42     N_("Generate make dependencies"),
43     N_OPTS, 1, CL_SDCPP },
44   { "-MD",
45     N_("Generate make dependencies and compile"),
46     N_OPTS, 2, CL_SDCPP | CL_SEPARATE },
47   { "-MF",
48     N_("-MF <file>      Write dependency output to the given file"),
49     N_OPTS, 2, CL_SDCPP | CL_JOINED | CL_SEPARATE },
50   { "-MG",
51     N_("Treat missing header files as generated files"),
52     N_OPTS, 2, CL_SDCPP },
53   { "-MM",
54     N_("Like -M but ignore system header files"),
55     N_OPTS, 2, CL_SDCPP },
56   { "-MMD",
57     N_("Like -MD but ignore system header files"),
58     N_OPTS, 3, CL_SDCPP | CL_SEPARATE },
59   { "-MP",
60     N_("Generate phony targets for all headers"),
61     N_OPTS, 2, CL_SDCPP },
62   { "-MQ",
63     N_("-MQ <target>    Add a MAKE-quoted target"),
64     N_OPTS, 2, CL_SDCPP | CL_JOINED | CL_SEPARATE },
65   { "-MT",
66     N_("-MT <target>    Add an unquoted target"),
67     N_OPTS, 2, CL_SDCPP | CL_JOINED | CL_SEPARATE },
68   { "-P",
69     N_("Do not generate #line directives"),
70     N_OPTS, 1, CL_SDCPP },
71   { "-U",
72     N_("-U<macro>       Undefine <macro>"),
73     N_OPTS, 1, CL_SDCPP | CL_JOINED | CL_SEPARATE },
74   { "-Wall",
75     N_("Enable most warning messages"),
76     N_OPTS, 4, CL_SDCPP },
77   { "-Wcomment",
78     N_("Warn about possibly nested block comments, and C++ comments spanning more than one physical line"),
79     N_OPTS, 8, CL_SDCPP },
80   { "-Wcomments",
81     N_("Synonym for -Wcomment"),
82     N_OPTS, 9, CL_SDCPP },
83   { "-Wdeprecated",
84     N_("Warn about deprecated compiler features"),
85     N_OPTS, 11, CL_SDCPP },
86   { "-Wendif-labels",
87     N_("Warn about stray tokens after #elif and #endif"),
88     N_OPTS, 13, CL_SDCPP },
89   { "-Werror",
90     N_("Treat all warnings as errors"),
91     N_OPTS, 6, CL_SDCPP },
92   { "-Wimport",
93     N_("Deprecated.  This switch has no effect."),
94     N_OPTS, 7, CL_SDCPP },
95   { "-Wsystem-headers",
96     N_("Do not suppress warnings from system headers"),
97     N_OPTS, 15, CL_SDCPP },
98   { "-Wtrigraphs",
99     N_("Warn if trigraphs are encountered that might affect the meaning of the program"),
100     N_OPTS, 10, CL_SDCPP },
101   { "-Wundef",
102     N_("Warn if an undefined macro is used in an #if directive"),
103     N_OPTS, 6, CL_SDCPP },
104   { "-Wunused-macros",
105     N_("Warn about macros defined in the main file that are not used"),
106     N_OPTS, 14, CL_SDCPP },
107   { "-ansi",
108     N_("A synonym for -std=c89."),
109     N_OPTS, 4, CL_SDCPP },
110   { "-d",
111     N_("-d<letters>     Enable dumps from specific passes of the compiler"),
112     N_OPTS, 1, CL_SDCPP | CL_JOINED },
113   { "-fdollars-in-identifiers",
114     N_("Permit '$' as an identifier character"),
115     N_OPTS, 23, CL_SDCPP },
116   { "-fexec-charset=",
117     N_("-fexec-charset=<cset>   Convert all strings and character constants to character set <cset>"),
118     N_OPTS, 14, CL_SDCPP | CL_JOINED | CL_REJECT_NEGATIVE },
119   { "-finput-charset=",
120     N_("-finput-charset=<cset>      Specify the default character set for source files."),
121     N_OPTS, 15, CL_SDCPP | CL_JOINED | CL_REJECT_NEGATIVE },
122   { "-fpreprocessed",
123     N_("Treat the input file as already preprocessed"),
124     N_OPTS, 13, CL_SDCPP },
125   { "-fshow-column",
126     0,
127     N_OPTS, 12, CL_SDCPP },
128   { "-fsigned-char",
129     N_("Make \"char\" signed by default"),
130     N_OPTS, 12, CL_SDCPP },
131   { "-ftabstop=",
132     N_("-ftabstop=<number>      Distance between tab stops for column reporting"),
133     N_OPTS, 9, CL_SDCPP | CL_JOINED | CL_REJECT_NEGATIVE | CL_UINTEGER },
134   { "-funsigned-char",
135     N_("Make \"char\" unsigned by default"),
136     N_OPTS, 14, CL_SDCPP },
137   { "-fwide-exec-charset=",
138     N_("-fwide-exec-charset=<cset>      Convert all wide strings and character constants to character set <cset>"),
139     N_OPTS, 19, CL_SDCPP | CL_JOINED | CL_REJECT_NEGATIVE },
140   { "-fworking-directory",
141     N_("Generate a #line directive pointing at the current working directory"),
142     N_OPTS, 18, CL_SDCPP },
143   { "-idirafter",
144     N_("-idirafter <dir>        Add <dir> to the end of the system include path"),
145     N_OPTS, 9, CL_SDCPP | CL_JOINED | CL_SEPARATE },
146   { "-imacros",
147     N_("-imacros <file> Accept definition of macros in <file>"),
148     N_OPTS, 7, CL_SDCPP | CL_JOINED | CL_SEPARATE },
149   { "-include",
150     N_("-include <file> Include the contents of <file> before other files"),
151     N_OPTS, 7, CL_SDCPP | CL_JOINED | CL_SEPARATE },
152   { "-iprefix",
153     N_("-iprefix <path> Specify <path> as a prefix for next two options"),
154     N_OPTS, 7, CL_SDCPP | CL_JOINED | CL_SEPARATE },
155   { "-isysroot",
156     N_("-isysroot <dir> Set <dir> to be the system root directory"),
157     N_OPTS, 8, CL_SDCPP | CL_JOINED | CL_SEPARATE },
158   { "-isystem",
159     N_("-isystem <dir>  Add <dir> to the start of the system include path"),
160     N_OPTS, 7, CL_SDCPP | CL_JOINED | CL_SEPARATE },
161   { "-iwithprefix",
162     N_("-iwithprefix <dir>      Add <dir> to the end of the system include path"),
163     N_OPTS, 11, CL_SDCPP | CL_JOINED | CL_SEPARATE },
164   { "-iwithprefixbefore",
165     N_("-iwithprefixbefore <dir>        Add <dir> to the end of the main include path"),
166     OPT_iwithprefix, 17, CL_SDCPP | CL_JOINED | CL_SEPARATE },
167   { "-lang-asm",
168     0,
169     N_OPTS, 8, CL_UNDOCUMENTED },
170   { "-lang-objc",
171     0,
172     N_OPTS, 9, CL_SDCPP | CL_UNDOCUMENTED },
173   { "-nostdinc",
174     N_("Do not search standard system include directories (those specified with -isystem will still be used)"),
175     N_OPTS, 8, CL_SDCPP },
176   { "-o",
177     N_("-o <file>       Place output into <file>"),
178     N_OPTS, 1, CL_SDCPP | CL_JOINED | CL_SEPARATE },
179   { "-obj-ext=",
180     N_("-obj-ext=<extension>    Define object file extension, used for generation of make dependencies"),
181     OPT_o, 8, CL_SDCPP | CL_JOINED },
182   { "-pedantic",
183     N_("Issue warnings needed for strict compliance to the standard"),
184     N_OPTS, 8, CL_SDCPP },
185   { "-pedantic-errors",
186     N_("Like -pedantic but issue them as errors"),
187     N_OPTS, 15, CL_SDCPP },
188   { "-pedantic-parse-number",
189     N_("Pedantic parse number"),
190     N_OPTS, 21, CL_SDCPP },
191   { "-remap",
192     N_("Remap file names when including files"),
193     N_OPTS, 5, CL_SDCPP },
194   { "-std=c89",
195     N_("Conform to the ISO 1990 C standard"),
196     N_OPTS, 7, CL_SDCPP },
197   { "-std=c99",
198     N_("Conform to the ISO 1999 C standard"),
199     N_OPTS, 7, CL_SDCPP },
200   { "-std=iso9899:1990",
201     N_("Conform to the ISO 1990 C standard"),
202     N_OPTS, 16, 0 },
203   { "-std=iso9899:199409",
204     N_("Conform to the ISO 1990 C standard as amended in 1994"),
205     N_OPTS, 18, CL_SDCPP },
206   { "-std=iso9899:1999",
207     N_("Conform to the ISO 1999 C standard"),
208     N_OPTS, 16, 0 },
209   { "-traditional-cpp",
210     N_("Enable traditional preprocessing"),
211     N_OPTS, 15, CL_SDCPP },
212   { "-trigraphs",
213     N_("-trigraphs      Support ISO C trigraphs"),
214     N_OPTS, 9, CL_SDCPP },
215   { "-v",
216     N_("Enable verbose output"),
217     N_OPTS, 1, CL_SDCPP },
218   { "-w",
219     N_("Suppress warnings"),
220     N_OPTS, 1, CL_SDCPP }
221 };