qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PROTON-1609) build C examples with c90 flag for older compilers
Date Wed, 04 Oct 2017 14:42:00 GMT

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

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

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

PROTON-1609: Fix C++ example flags


> 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message