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:
@ -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:
|
||||
|
||||
Reference in New Issue
Block a user