boostorg / hana

Your standard library for metaprogramming
http://boostorg.github.io/hana
Boost Software License 1.0
1.66k stars 217 forks source link

Get warnings with clang14 #504

Closed prudhomm closed 1 year ago

prudhomm commented 2 years ago

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 commented 2 years ago

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

ldionne commented 1 year ago

This should be fixed now.