Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Fix pedantic warning "ISO C99 doesn't support unnamed structs/unions" found when compiling nested.dfdl.xsd's NestedUnion example with current Makefile's CFLAGS. Verify that both gcc and clang support "-std=gnu11" all the way back to gcc-4 and clang-3 on CentOS 7. Raise runtime2's minimum C language support level to ISO C11 with GNU extensions and make all the places where Daffodil calls the C compiler pass "-std=gnu11" to the C compiler to compile code with the same minimum C level. ISO C11 also allows "for (" loops to define loop variables in place so we can make that change too.