Open alaingdl opened 2 years ago
Amazing how pedantic compilers can be. Maybe I'll just use if/else instead, lol. Only the tested values are possible here since this gets called manually. Will fix it when I get a chance...
Clang is especially pedantic ! Conversely, some pedantry could help the code to survive when we do forget a case ... (we did have some case we just forgot to test null, and on some cases null is not null, and other cases null is null ... ) ((-DCMAKE_CXX_FLAGS="-fsanitize=null"))
Take your time, good tests are way more critical.
Hi. Not urgent, not critical ... Could someone (@ogressel ?) takes the time to help Clang on that :
Thanks !
A.