aboutsummaryrefslogtreecommitdiffstats
path: root/driver/Clflags.ml
diff options
context:
space:
mode:
authorxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2013-12-28 10:20:50 +0000
committerxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2013-12-28 10:20:50 +0000
commitc167c00901b85bd4e66447958a10df612d17ea00 (patch)
tree2533c4f8dcee125537f149a0c6a2d885ef35c24b /driver/Clflags.ml
parentde0ae111b043a473d78b510364d9447cf54fed27 (diff)
downloadcompcert-c167c00901b85bd4e66447958a10df612d17ea00.tar.gz
compcert-c167c00901b85bd4e66447958a10df612d17ea00.zip
More tolerance for functions declared without a prototype
(option -funprototyped, on by default). Error if call to vararg function and -fvararg-calls is off. git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2389 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'driver/Clflags.ml')
-rw-r--r--driver/Clflags.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/driver/Clflags.ml b/driver/Clflags.ml
index 4f41bf67..4d6e3f63 100644
--- a/driver/Clflags.ml
+++ b/driver/Clflags.ml
@@ -19,6 +19,7 @@ let option_flongdouble = ref false
let option_fstruct_return = ref false
let option_fbitfields = ref false
let option_fvararg_calls = ref true
+let option_funprototyped = ref true
let option_fpacked_structs = ref false
let option_ffpu = ref true
let option_ffloatconstprop = ref 2