Skip to content
Snippets Groups Projects
Commit 8ef12142 authored by Basile Desloges's avatar Basile Desloges
Browse files

[eacsl] wrapper script: deactivate Variadic translation if format strings are validated

The Variadic plugin translation is incompatible with the use of option
 `-e-acsl-validate-format-strings`, so add the option
 `-variadic-no-translation` if the user activated the validation of
 format strings.
parent d26a2b0c
No related branches found
No related tags found
No related merge requests found
......@@ -897,6 +897,11 @@ fi
FRAMAC_FLAGS="$FRAMAC_FLAGS \
-remove-unused-specified-functions"
if [ -n "$OPTION_VALIDATE_FORMAT_STRINGS" ]; then
FRAMAC_FLAGS="$FRAMAC_FLAGS \
-variadic-no-translation"
fi
# C, CPP and LD flags for compilation of E-ACSL-generated sources
EACSL_CFLAGS="$OPTION_EXTERNAL_ASSERT"
EACSL_CPPFLAGS="-I$EACSL_SHARE"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment