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 20:58:00 GMT

    [ 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

To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org

View raw message