Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmake: Treat warnings as errors on Clang and GCC
-Wformat-security is enabled, some Linux packages build system have it enabled. obsproject#5766 -Wunused-parameter is enabled too. Also ensure that null conversion (C++ only for GCC) is enabled because its enablement by default can depend on the CMake generator. -Wno-error=deprecated-declarations is added on Linux/FreeBSD for release builds to help packager.
- Loading branch information