Hi, I'm compiling nana with gcc 13.2 (from msys2 on windows) and std=c++23. Using the switch -Werror=return-type I force to errors the warnings of methods not returning a value through all paths (normally allowed for compatibility with C). So I get an error in the method on general_events.hpp :
which had no return statement in the else branch. Honestly I'm not sure if I'm returning a right/meaningful value, but it then compiles and works normally.
I've also fixed a tiny typo.
Hi, I'm compiling nana with gcc 13.2 (from msys2 on windows) and std=c++23. Using the switch -Werror=return-type I force to errors the warnings of methods not returning a value through all paths (normally allowed for compatibility with C). So I get an error in the method on general_events.hpp :
which had no return statement in the else branch. Honestly I'm not sure if I'm returning a right/meaningful value, but it then compiles and works normally. I've also fixed a tiny typo.