Andrew Stitcher created PROTON-2972:
---------------------------------------

             Summary: 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
             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