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

Andrew Stitcher resolved PROTON-2972.
-------------------------------------
      Assignee: Andrew Stitcher
    Resolution: Fixed

> Recent versions of clang++ warn about Catch2 use of __COUNTER__
> ---------------------------------------------------------------
>
>                 Key: PROTON-2972
>                 URL: https://issues.apache.org/jira/browse/PROTON-2972
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: build, proton-c
>         Environment: Clang++ 22
>            Reporter: Andrew Stitcher
>            Assignee: Andrew Stitcher
>            Priority: Major
>             Fix For: proton-c-0.41.0
>
>
> It seems that since this has been proposed for C++26, Clang produces a 
> warning if it is used in strict compile modes for earlier standards.
> Gcc does not complain, presumably because it is an almost universally 
> supported preprocessor feature. Clang previously it didn't complain either.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to