diff options
author | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-06-22 11:07:12 +0200 |
---|---|---|
committer | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-06-22 11:07:12 +0200 |
commit | a35788c962a681e3a5b210d2febfb5b4d369cf86 (patch) | |
tree | 49be3abc2cad82afda3a7324f8220f219ed31d0c /cparser | |
parent | 66b0512c64d39f30c103e4a1df470637c6cfd7bd (diff) | |
parent | 0e9ededa8c1d194453f5113bf57c93d0803f03b1 (diff) | |
download | compcert-a35788c962a681e3a5b210d2febfb5b4d369cf86.tar.gz compcert-a35788c962a681e3a5b210d2febfb5b4d369cf86.zip |
Merge branch 'master' into asmexpand
Diffstat (limited to 'cparser')
-rw-r--r-- | cparser/Elab.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cparser/Elab.ml b/cparser/Elab.ml index bcf90f5e..aa015b83 100644 --- a/cparser/Elab.ml +++ b/cparser/Elab.ml @@ -640,7 +640,7 @@ and elab_field_group env (Field_group (spec, fieldlist, loc)) = error loc "non-default storage in struct or union"; if fieldlist = [] then if is_anonymous_composite spec then - error loc "ISO C99 does not support anonymous structs/unions" + warning loc "ISO C99 does not support anonymous structs/unions" else warning loc "declaration does not declare any members"; |