These are chat archives for boostorg/hana

Apr 2017
Jason Rice
Apr 12 2017 21:17

@ldionne, I made a really small commit to make Hana work on clang c++1z, but I am getting other warnings that probably shouldn't be. (when compiling with -std=c++1z)

/usr/local/src/hana/test/type/is_valid.cpp:32:13: error: control reaches end of non-void lambda
        ) { });

I'm very suprised that these don't have the same warnings when using c++14 (or maybe my hack on CMakeLists.txt is throwing something, but it is still weird)

The changes I made are here:

The problem is that the lambda doesn't return and the compiler throws a warning.
Oh and the workaround was suggested here: