We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53c6393 commit b00e7dcCopy full SHA for b00e7dc
2 files changed
src/config/options.schema.json
@@ -279,7 +279,7 @@
279
"cstd": {
280
"title": "cil.cstd",
281
"type": "string",
282
- "description": "Specify the c standard used for parsing.",
+ "description": "Specify the c standard used for preprocessing and parsing.",
283
"default": "c99",
284
"enum": [
285
"c89", "c90",
src/maingoblint.ml
@@ -267,6 +267,8 @@ let preprocess_files () =
267
(* Preprocessor flags *)
268
let cppflags = ref (get_string_list "pre.cppflags") in
269
270
+ cppflags := ("--std=" ^ get_string "cil.cstd") :: !cppflags;
271
+
272
if get_bool "ana.sv-comp.enabled" then (
273
let architecture_flag = match get_string "exp.architecture" with
274
| "32bit" -> "-m32"
0 commit comments