Hacker News new | ask | show | jobs
by kouosi 76 days 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++?

1 comments

probably - i guess then i meant -Werror=return-type