You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Jiri Daněk (Jira)" <ji...@apache.org> on 2022/03/23 15:57:00 UTC

[jira] [Updated] (DISPATCH-2025) Compile using C11 language version

     [ https://issues.apache.org/jira/browse/DISPATCH-2025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jiri Daněk updated DISPATCH-2025:
---------------------------------
    Fix Version/s: 1.16.0

> Compile using C11 language version
> ----------------------------------
>
>                 Key: DISPATCH-2025
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-2025
>             Project: Qpid Dispatch
>          Issue Type: Improvement
>    Affects Versions: 1.16.0
>            Reporter: Jiri Daněk
>            Assignee: Jiri Daněk
>            Priority: Major
>             Fix For: 1.16.0
>
>
> All supported platforms of Dispatch can compile using C11 (or gnu11) language standard.
> There is a caveat that GCC 4.8.5 claims to support C11 atomics but it doesn't. (It does not define {{__STDC_NO_ATOMICS__}} while in fact the [{{stdatomic.h}} header is missing|https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58016].) Thankfully the Dispatch code is able to deal with the situation by using GCC-specific features, so it is not a problem.
> I do not see any downsides to requiring C11 for Dispatch compilation.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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