John Interrante created DAFFODIL-2578:
-----------------------------------------
Summary: Raise minimum C level to ISO C11 with GNU extensions
Key: DAFFODIL-2578
URL: https://issues.apache.org/jira/browse/DAFFODIL-2578
Project: Daffodil
Issue Type: Bug
Components: Back End C-Generator
Reporter: John Interrante
Assignee: John Interrante
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)