Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set -Werror=return-local-addr on Unix build
Returning a reference to a temporary is such an obvious bug that I'm not sure why compilers only treat it as a warning by default. This -W flag is tested on Linux with G++, and might need changing for Clang.
- Loading branch information