[
https://issues.apache.org/jira/browse/DAFFODIL-2578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
John Interrante resolved DAFFODIL-2578.
---------------------------------------
Fix Version/s: 3.2.0
Assignee: (was: John Interrante)
Resolution: Fixed
Fixed in commit 4fd08c65ccbc88334b4be010b4258bec61e1435f
> 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
> Priority: Minor
> Fix For: 3.2.0
>
>
> 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)