hana icon indicating copy to clipboard operation
hana copied to clipboard

Get warnings with clang14

Open prudhomm opened this issue 3 years ago • 1 comments

I now get this warning a lot

fast_and

 /scratch/prudhomm/feelpp/feelpp/contrib/boost/hana/include/boost/hana/detail/fast_and.hpp:21:50: warning: left operand of comma operator has no effect [-Wunused-value]
[build]         : std::is_same<fast_and<b...>, fast_and<(b, true)...>>

make

[build] /scratch/prudhomm/feelpp/feelpp/contrib/boost/hana/include/boost/hana/core/make.hpp:35:28: warning: left operand of comma operator has no effect [-Wunused-value]
[build]             static_assert((sizeof...(X), false),
[build]                            ^~~~~~~~~~~~

any idea how to remove this ?

prudhomm avatar May 25 '22 06:05 prudhomm

this seems to be a duplicate of #503 and #502

prudhomm avatar May 26 '22 05:05 prudhomm

This should be fixed now.

ldionne avatar Oct 21 '22 02:10 ldionne