Skip to content
Snippets Groups Projects
Commit a05d3f04 authored by Allan Blanchard's avatar Allan Blanchard
Browse files

[wp] Use generic error message for machdep

parent 424137c4
No related branches found
No related tags found
No related merge requests found
......@@ -250,7 +250,7 @@ let array_size = function
| Some e ->
match constant e with
| 0L when Cil.gccMode () || Cil.msvcMode () -> None
| 0L -> Warning.error "0 sized array only allowed in GCC/MSVC mode"
| 0L -> Warning.error "0 sized array %s" (Cil.allowed_machdep "GCC/MSVC")
| n -> Some n
let get_int e =
......
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