[
https://issues.apache.org/jira/browse/PROTON-2972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18116222#comment-18116222
]
ASF subversion and git services commented on PROTON-2972:
---------------------------------------------------------
Commit 5586eb3694d4c5b95125dd350a4e5cea6280cbd6 in qpid-proton's branch
refs/heads/main from Andrew Stitcher
[ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=5586eb369 ]
PROTON-2972: Stop recent clang++ warning about __COUNTER__
This is used in Catch2 tests to create unique names.
> 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
> 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]