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 2021/04/02 10:00: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:
---------------------------------
    Description: 
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].)

I do not see any downsides to requiring C11 for Dispatch compilation.

  was:
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].)

I do not see any downsides to requiring C11 for Dispatch compilation.


> 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
>            Priority: Major
>
> 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].)
> I do not see any downsides to requiring C11 for Dispatch compilation.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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