Alan Conway created PROTON-1609:
-----------------------------------
Summary: build C examples with c90 flag for older compilers
Key: PROTON-1609
URL: https://issues.apache.org/jira/browse/PROTON-1609
Project: Qpid Proton
Issue Type: Improvement
Components: examples
Affects Versions: 0.17.0
Reporter: Alan Conway
Assignee: Alan Conway
Fix For: proton-c-0.18.0
The main proton library requires a c99 compiler (actually the overlap of c90
and c++03) but the examples should compile with c90 to ensure they work with
older compiolers.
Fix CMakeLists to use the -std=c90 flag for examples with clang and gcc
compilers, to get early warning of c90-incompatible code in the examples.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]