2 |
7u83 |
1 |
/*
|
|
|
2 |
Crown Copyright (c) 1997, 1998
|
|
|
3 |
|
|
|
4 |
This TenDRA(r) Computer Program is subject to Copyright
|
|
|
5 |
owned by the United Kingdom Secretary of State for Defence
|
|
|
6 |
acting through the Defence Evaluation and Research Agency
|
|
|
7 |
(DERA). It is made available to Recipients with a
|
|
|
8 |
royalty-free licence for its use, reproduction, transfer
|
|
|
9 |
to other parties and amendment for any purpose not excluding
|
|
|
10 |
product development provided that any such use et cetera
|
|
|
11 |
shall be deemed to be acceptance of the following conditions:-
|
|
|
12 |
|
|
|
13 |
(1) Its Recipients shall ensure that this Notice is
|
|
|
14 |
reproduced upon any copies or amended versions of it;
|
|
|
15 |
|
|
|
16 |
(2) Any amended version of it shall be clearly marked to
|
|
|
17 |
show both the nature of and the organisation responsible
|
|
|
18 |
for the relevant amendment or amendments;
|
|
|
19 |
|
|
|
20 |
(3) Its onward transfer from a recipient to another
|
|
|
21 |
party shall be deemed to be that party's acceptance of
|
|
|
22 |
these conditions;
|
|
|
23 |
|
|
|
24 |
(4) DERA gives no warranty or assurance as to its
|
|
|
25 |
quality or suitability for any purpose and DERA accepts
|
|
|
26 |
no liability whatsoever in relation to any use to which
|
|
|
27 |
it may be put.
|
|
|
28 |
*/
|
|
|
29 |
|
|
|
30 |
/* AUTOMATICALLY GENERATED BY make_err FROM cpp */
|
|
|
31 |
|
|
|
32 |
|
|
|
33 |
{ "error", OPT_VALUE_error },
|
|
|
34 |
{ "warning", OPT_VALUE_warning },
|
|
|
35 |
{ "none", OPT_VALUE_none },
|
|
|
36 |
{ "whatever", OPT_VALUE_whatever },
|
|
|
37 |
{ "new", OPT_VALUE_new },
|
|
|
38 |
{ "wall", OPT_VALUE_wall },
|
|
|
39 |
#ifndef ERR_ALTERNATE
|
|
|
40 |
{ "cpp_error", OPT_VALUE_error },
|
|
|
41 |
#else
|
|
|
42 |
{ "cpp_error", OPT_VALUE_none },
|
|
|
43 |
#endif
|
|
|
44 |
#ifndef ERR_ALTERNATE
|
|
|
45 |
{ "c_error", OPT_VALUE_none },
|
|
|
46 |
#else
|
|
|
47 |
{ "c_error", OPT_VALUE_error },
|
|
|
48 |
#endif
|
|
|
49 |
#ifndef ERR_ALTERNATE
|
|
|
50 |
{ "addr_register", OPT_VALUE_none },
|
|
|
51 |
#else
|
|
|
52 |
{ "addr_register", OPT_VALUE_error },
|
|
|
53 |
#endif
|
|
|
54 |
#ifndef ERR_ALTERNATE
|
|
|
55 |
{ "bitf_overflow", OPT_VALUE_wall },
|
|
|
56 |
#else
|
|
|
57 |
{ "bitf_overflow", OPT_VALUE_error },
|
|
|
58 |
#endif
|
|
|
59 |
#ifndef ERR_ALTERNATE
|
|
|
60 |
{ "bitf_type", OPT_VALUE_none },
|
|
|
61 |
#else
|
|
|
62 |
{ "bitf_type", OPT_VALUE_error },
|
|
|
63 |
#endif
|
|
|
64 |
{ "bool_assign", OPT_VALUE_wall },
|
|
|
65 |
{ "case_fall", OPT_VALUE_wall },
|
|
|
66 |
{ "cast_explicit", OPT_VALUE_none },
|
|
|
67 |
#ifndef ERR_ALTERNATE
|
|
|
68 |
{ "class_scope", OPT_VALUE_on },
|
|
|
69 |
#else
|
|
|
70 |
{ "class_scope", OPT_VALUE_off },
|
|
|
71 |
#endif
|
|
|
72 |
{ "comma_extra", OPT_VALUE_error },
|
|
|
73 |
{ "complete_struct", OPT_VALUE_wall },
|
|
|
74 |
{ "concat_string", OPT_VALUE_error },
|
|
|
75 |
{ "cond_default", OPT_VALUE_off },
|
|
|
76 |
#ifndef ERR_ALTERNATE
|
|
|
77 |
{ "cond_lvalue", OPT_VALUE_none },
|
|
|
78 |
#else
|
|
|
79 |
{ "cond_lvalue", OPT_VALUE_error },
|
|
|
80 |
#endif
|
|
|
81 |
{ "const_cond", OPT_VALUE_wall },
|
|
|
82 |
#ifndef ERR_ALTERNATE
|
|
|
83 |
{ "const_internal", OPT_VALUE_on },
|
|
|
84 |
#else
|
|
|
85 |
{ "const_internal", OPT_VALUE_off },
|
|
|
86 |
#endif
|
|
|
87 |
{ "const_string", OPT_VALUE_wall },
|
|
|
88 |
{ "conv", OPT_VALUE_wall },
|
|
|
89 |
{ "conv_int_int", OPT_VALUE_wall },
|
|
|
90 |
{ "conv_int_int_expl", OPT_VALUE_none },
|
|
|
91 |
{ "conv_int_int_impl", OPT_VALUE_wall },
|
|
|
92 |
#ifndef ERR_ALTERNATE
|
|
|
93 |
{ "conv_int_enum", OPT_VALUE_error },
|
|
|
94 |
#else
|
|
|
95 |
{ "conv_int_enum", OPT_VALUE_wall },
|
|
|
96 |
#endif
|
|
|
97 |
{ "conv_int_ptr", OPT_VALUE_wall },
|
|
|
98 |
{ "conv_int_ptr_expl", OPT_VALUE_wall },
|
|
|
99 |
{ "conv_int_ptr_impl", OPT_VALUE_error },
|
|
|
100 |
{ "conv_ptr_ptr", OPT_VALUE_wall },
|
|
|
101 |
{ "conv_ptr_ptr_expl", OPT_VALUE_wall },
|
|
|
102 |
{ "conv_ptr_ptr_impl", OPT_VALUE_error },
|
|
|
103 |
{ "conv_ptr_ptr_void", OPT_VALUE_wall },
|
|
|
104 |
#ifndef ERR_ALTERNATE
|
|
|
105 |
{ "conv_ptr_void_ptr", OPT_VALUE_error },
|
|
|
106 |
#else
|
|
|
107 |
{ "conv_ptr_void_ptr", OPT_VALUE_wall },
|
|
|
108 |
#endif
|
|
|
109 |
{ "conv_ptr_func", OPT_VALUE_error },
|
|
|
110 |
#ifndef ERR_ALTERNATE
|
|
|
111 |
{ "cpplus_comment", OPT_VALUE_none },
|
|
|
112 |
#else
|
|
|
113 |
{ "cpplus_comment", OPT_VALUE_error },
|
|
|
114 |
#endif
|
|
|
115 |
{ "decl_cond", OPT_VALUE_error },
|
|
|
116 |
{ "decl_empty", OPT_VALUE_error },
|
|
|
117 |
{ "decl_hide", OPT_VALUE_wall },
|
|
|
118 |
#ifndef ERR_ALTERNATE
|
|
|
119 |
{ "decl_none", OPT_VALUE_none },
|
|
|
120 |
#else
|
|
|
121 |
{ "decl_none", OPT_VALUE_error },
|
|
|
122 |
#endif
|
|
|
123 |
{ "decl_struct_anon", OPT_VALUE_error },
|
|
|
124 |
{ "decl_unify", OPT_VALUE_off },
|
|
|
125 |
{ "decl_volatile", OPT_VALUE_off },
|
|
|
126 |
{ "delete_over", OPT_VALUE_none },
|
|
|
127 |
{ "digraph", OPT_VALUE_wall },
|
|
|
128 |
{ "discard", OPT_VALUE_wall },
|
|
|
129 |
{ "discard_exp", OPT_VALUE_wall },
|
|
|
130 |
{ "discard_func", OPT_VALUE_wall },
|
|
|
131 |
{ "discard_static", OPT_VALUE_wall },
|
|
|
132 |
{ "discard_value", OPT_VALUE_wall },
|
|
|
133 |
{ "dollar_ident", OPT_VALUE_error },
|
|
|
134 |
{ "dspec_none", OPT_VALUE_error },
|
|
|
135 |
#ifndef ERR_ALTERNATE
|
|
|
136 |
{ "dspec_none_func", OPT_VALUE_new },
|
|
|
137 |
#else
|
|
|
138 |
{ "dspec_none_func", OPT_VALUE_wall },
|
|
|
139 |
#endif
|
|
|
140 |
{ "ellipsis_extra", OPT_VALUE_error },
|
|
|
141 |
{ "ellipsis_ident", OPT_VALUE_error },
|
|
|
142 |
{ "empty_body", OPT_VALUE_wall },
|
|
|
143 |
{ "enum_decl", OPT_VALUE_error },
|
|
|
144 |
{ "enum_switch", OPT_VALUE_wall },
|
|
|
145 |
{ "eof_nline", OPT_VALUE_error },
|
|
|
146 |
{ "escape_overflow", OPT_VALUE_error },
|
|
|
147 |
{ "escape_unknown", OPT_VALUE_error },
|
|
|
148 |
#ifndef ERR_ALTERNATE
|
|
|
149 |
{ "for_scope", OPT_VALUE_on },
|
|
|
150 |
#else
|
|
|
151 |
{ "for_scope", OPT_VALUE_off },
|
|
|
152 |
#endif
|
|
|
153 |
{ "func_block", OPT_VALUE_error },
|
|
|
154 |
#ifndef ERR_ALTERNATE
|
|
|
155 |
{ "func_impl", OPT_VALUE_error },
|
|
|
156 |
#else
|
|
|
157 |
{ "func_impl", OPT_VALUE_wall },
|
|
|
158 |
#endif
|
|
|
159 |
{ "func_incompat", OPT_VALUE_error },
|
|
|
160 |
{ "func_linkage", OPT_VALUE_error },
|
|
|
161 |
{ "func_proto", OPT_VALUE_none },
|
|
|
162 |
#ifndef ERR_ALTERNATE
|
|
|
163 |
{ "func_ret_void", OPT_VALUE_error },
|
|
|
164 |
#else
|
|
|
165 |
{ "func_ret_void", OPT_VALUE_wall },
|
|
|
166 |
#endif
|
|
|
167 |
{ "func_token_undef", OPT_VALUE_wall },
|
|
|
168 |
{ "func_weak", OPT_VALUE_none },
|
|
|
169 |
{ "gen_ptr_char", OPT_VALUE_error },
|
|
|
170 |
{ "hash_ident", OPT_VALUE_error },
|
|
|
171 |
{ "include_full", OPT_VALUE_wall },
|
|
|
172 |
{ "include_verbose", OPT_VALUE_off },
|
|
|
173 |
#ifndef ERR_ALTERNATE
|
|
|
174 |
{ "infer_int", OPT_VALUE_new },
|
|
|
175 |
#else
|
|
|
176 |
{ "infer_int", OPT_VALUE_wall },
|
|
|
177 |
#endif
|
|
|
178 |
#ifndef ERR_ALTERNATE
|
|
|
179 |
{ "infer_int_cv", OPT_VALUE_new },
|
|
|
180 |
#else
|
|
|
181 |
{ "infer_int_cv", OPT_VALUE_wall },
|
|
|
182 |
#endif
|
|
|
183 |
{ "init_aggregate", OPT_VALUE_wall },
|
|
|
184 |
#ifndef ERR_ALTERNATE
|
|
|
185 |
{ "init_dynamic", OPT_VALUE_none },
|
|
|
186 |
#else
|
|
|
187 |
{ "init_dynamic", OPT_VALUE_error },
|
|
|
188 |
#endif
|
|
|
189 |
#ifndef ERR_ALTERNATE
|
|
|
190 |
{ "init_struct", OPT_VALUE_none },
|
|
|
191 |
#else
|
|
|
192 |
{ "init_struct", OPT_VALUE_wall },
|
|
|
193 |
#endif
|
|
|
194 |
#ifndef ERR_ALTERNATE
|
|
|
195 |
{ "inline_internal", OPT_VALUE_off },
|
|
|
196 |
#else
|
|
|
197 |
{ "inline_internal", OPT_VALUE_on },
|
|
|
198 |
#endif
|
|
|
199 |
{ "int_operator", OPT_VALUE_wall },
|
|
|
200 |
{ "int_overflow", OPT_VALUE_wall },
|
|
|
201 |
{ "interf_incompat", OPT_VALUE_error },
|
|
|
202 |
#ifndef ERR_ALTERNATE
|
|
|
203 |
{ "iso_keyword", OPT_VALUE_wall },
|
|
|
204 |
#else
|
|
|
205 |
{ "iso_keyword", OPT_VALUE_error },
|
|
|
206 |
#endif
|
|
|
207 |
#ifndef ERR_ALTERNATE
|
|
|
208 |
{ "link_incompat", OPT_VALUE_error },
|
|
|
209 |
#else
|
|
|
210 |
{ "link_incompat", OPT_VALUE_wall },
|
|
|
211 |
#endif
|
|
|
212 |
{ "link_internal", OPT_VALUE_on },
|
|
|
213 |
#ifndef ERR_ALTERNATE
|
|
|
214 |
{ "link_resolve", OPT_VALUE_error },
|
|
|
215 |
#else
|
|
|
216 |
{ "link_resolve", OPT_VALUE_wall },
|
|
|
217 |
#endif
|
|
|
218 |
{ "lint_comment", OPT_VALUE_error },
|
|
|
219 |
{ "longlong", OPT_VALUE_error },
|
|
|
220 |
{ "macro_arg_dir", OPT_VALUE_wall },
|
|
|
221 |
{ "macro_nest", OPT_VALUE_error },
|
|
|
222 |
{ "macro_redef", OPT_VALUE_error },
|
|
|
223 |
{ "macro_weak", OPT_VALUE_error },
|
|
|
224 |
{ "member_incompat", OPT_VALUE_error },
|
|
|
225 |
{ "name_limit", OPT_VALUE_off },
|
|
|
226 |
{ "nest_comment", OPT_VALUE_wall },
|
|
|
227 |
{ "new_array", OPT_VALUE_on },
|
|
|
228 |
{ "overload_ambig", OPT_VALUE_error },
|
|
|
229 |
{ "overload_dep", OPT_VALUE_wall },
|
|
|
230 |
{ "overload_expl", OPT_VALUE_off },
|
|
|
231 |
{ "overload_res", OPT_VALUE_none },
|
|
|
232 |
{ "overload_strict", OPT_VALUE_on },
|
|
|
233 |
#ifndef ERR_ALTERNATE
|
|
|
234 |
{ "param_impl", OPT_VALUE_error },
|
|
|
235 |
#else
|
|
|
236 |
{ "param_impl", OPT_VALUE_wall },
|
|
|
237 |
#endif
|
|
|
238 |
{ "paren", OPT_VALUE_wall },
|
|
|
239 |
{ "ppdir_id", OPT_VALUE_error },
|
|
|
240 |
{ "ppdir_null", OPT_VALUE_none },
|
|
|
241 |
{ "ppdir_text", OPT_VALUE_error },
|
|
|
242 |
{ "ppdir_unknown", OPT_VALUE_error },
|
|
|
243 |
{ "ppdir_assert", OPT_VALUE_error },
|
|
|
244 |
{ "ppdir_assert_ignore", OPT_VALUE_off },
|
|
|
245 |
{ "ppdir_file", OPT_VALUE_error },
|
|
|
246 |
{ "ppdir_file_ignore", OPT_VALUE_off },
|
|
|
247 |
{ "ppdir_ident", OPT_VALUE_error },
|
|
|
248 |
{ "ppdir_ident_ignore", OPT_VALUE_off },
|
|
|
249 |
{ "ppdir_import", OPT_VALUE_error },
|
|
|
250 |
{ "ppdir_import_ignore", OPT_VALUE_off },
|
|
|
251 |
{ "ppdir_indent", OPT_VALUE_none },
|
|
|
252 |
{ "ppdir_indent_dir", OPT_VALUE_none },
|
|
|
253 |
{ "ppdir_unassert", OPT_VALUE_error },
|
|
|
254 |
{ "ppdir_unassert_ignore", OPT_VALUE_off },
|
|
|
255 |
{ "ppdir_warning", OPT_VALUE_error },
|
|
|
256 |
{ "ppdir_warning_ignore", OPT_VALUE_off },
|
|
|
257 |
{ "ppdir_weak", OPT_VALUE_error },
|
|
|
258 |
{ "ppdir_weak_ignore", OPT_VALUE_off },
|
|
|
259 |
{ "pragma_unknown", OPT_VALUE_wall },
|
|
|
260 |
{ "preproc_old", OPT_VALUE_off },
|
|
|
261 |
{ "printf_string", OPT_VALUE_warning },
|
|
|
262 |
#ifndef ERR_ALTERNATE
|
|
|
263 |
{ "proto_scope", OPT_VALUE_off },
|
|
|
264 |
#else
|
|
|
265 |
{ "proto_scope", OPT_VALUE_on },
|
|
|
266 |
#endif
|
|
|
267 |
{ "ptr_operator", OPT_VALUE_wall },
|
|
|
268 |
{ "ptr_void", OPT_VALUE_error },
|
|
|
269 |
{ "reached", OPT_VALUE_wall },
|
|
|
270 |
{ "semicolon_extra", OPT_VALUE_error },
|
|
|
271 |
{ "templ_export", OPT_VALUE_off },
|
|
|
272 |
{ "templ_undecl", OPT_VALUE_new },
|
|
|
273 |
{ "this_lvalue", OPT_VALUE_error },
|
|
|
274 |
#ifndef ERR_ALTERNATE
|
|
|
275 |
{ "throw_bad", OPT_VALUE_wall },
|
|
|
276 |
#else
|
|
|
277 |
{ "throw_bad", OPT_VALUE_none },
|
|
|
278 |
#endif
|
|
|
279 |
#ifndef ERR_ALTERNATE
|
|
|
280 |
{ "token_const", OPT_VALUE_error },
|
|
|
281 |
#else
|
|
|
282 |
{ "token_const", OPT_VALUE_wall },
|
|
|
283 |
#endif
|
|
|
284 |
{ "token_redef", OPT_VALUE_wall },
|
|
|
285 |
{ "token_undef", OPT_VALUE_error },
|
|
|
286 |
{ "trigraph", OPT_VALUE_wall },
|
|
|
287 |
#ifndef ERR_ALTERNATE
|
|
|
288 |
{ "type_obj_incompl", OPT_VALUE_none },
|
|
|
289 |
#else
|
|
|
290 |
{ "type_obj_incompl", OPT_VALUE_error },
|
|
|
291 |
#endif
|
|
|
292 |
{ "type_qual_incompat", OPT_VALUE_error },
|
|
|
293 |
#ifndef ERR_ALTERNATE
|
|
|
294 |
{ "type_redef", OPT_VALUE_none },
|
|
|
295 |
#else
|
|
|
296 |
{ "type_redef", OPT_VALUE_error },
|
|
|
297 |
#endif
|
|
|
298 |
{ "type_tag_ignore", OPT_VALUE_error },
|
|
|
299 |
{ "unmatched", OPT_VALUE_error },
|
|
|
300 |
{ "variable", OPT_VALUE_wall },
|
|
|
301 |
#ifndef ERR_ALTERNATE
|
|
|
302 |
{ "weak", OPT_VALUE_off },
|
|
|
303 |
#else
|
|
|
304 |
{ "weak", OPT_VALUE_wall },
|
|
|
305 |
#endif
|