2 ms·
> compile with -Wreturn-type if you want to avoid such things... Isn't -Wreturn-type enabled by default in both gcc and clang atleast for c++?
by kouosi 8d ago
> compile with -Wreturn-type if you want to avoid such things...
Isn't -Wreturn-type enabled by default in both gcc and clang atleast for c++?
- mathisfun123 8d agoprobably - i guess then i meant -Werror=return-type