[ 
https://issues.apache.org/jira/browse/PROTON-1609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16192024#comment-16192024
 ] 

ASF subversion and git services commented on PROTON-1609:
---------------------------------------------------------

Commit 338cb30eb09bb0344b03240524fa5ed4edc57553 in qpid-proton's branch 
refs/heads/master from [~astitcher]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=338cb30 ]

PROTON-1609: Use a gcc flag for C90 that works on gcc 4.4.7


> 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]

Reply via email to