aboutsummaryrefslogtreecommitdiffstats
path: root/cparser/Elab.ml
diff options
context:
space:
mode:
Diffstat (limited to 'cparser/Elab.ml')
-rw-r--r--cparser/Elab.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/cparser/Elab.ml b/cparser/Elab.ml
index f82ae176..b6418217 100644
--- a/cparser/Elab.ml
+++ b/cparser/Elab.ml
@@ -843,9 +843,9 @@ and elab_struct_or_union_info keep_ty kind loc env members attrs =
(* Warn for empty structs or unions *)
if m = [] then
if kind = Struct then begin
- warning loc Celeven_extension "anonymous structs are a C11 extension"
+ warning loc Gnu_empty_struct "empty struct is a GNU extension"
end else begin
- fatal_error loc "anonymous unions are a C11 extension"
+ fatal_error loc "empty union is a GNU extension"
end;
(composite_info_def env' kind attrs m, env')