fix the bug #31403: parser bug in structure

- a warning: unnamed struct/union that defines no instances
    - allow a nested named struct declaration w/o identifier
      only when option -fms-extensions is used
This commit is contained in:
seyko
2015-04-10 06:31:58 +03:00
parent 9fc3d66f1b
commit dec959358a
4 changed files with 23 additions and 3 deletions

View File

@ -236,6 +236,11 @@ Do not generate common symbols for uninitialized data.
@item -fleading-underscore
Add a leading underscore at the beginning of each C symbol.
@item -fms-extensions
Allow a MS C compiler extensions to the language. Curretly this
assume a nested named structure declaration without identifier behave
like an unnamed one.
@end table
Warning options: