Blender Git Loki

Git Commits -> Revision 948e080

Revision 948e080 by Sybren A. Stüvel (master)
August 20, 2020, 14:12 (GMT)
Silence `-Wmaybe-uninitialized` warning on GCC/Linux

Add `-Wno-maybe-uninitialized` option to `CMAKE_CXX_FLAGS_RELEASE` and
`CMAKE_CXX_FLAGS_RELWITHDEBINFO` variables on GCC/Linux.

In Release builds GCC's `-Wmaybe-uninitialized` warning is unreliable,
and thus causes noise that can drown out other warnings. These warnings
are now silenced in release mode builds.a

Debug builds seem fine, so flags for debug builds are not touched by
this commit.

No functional changes.

Reviewed By: Sergey

Differential Revision: https://developer.blender.org/D8615

Commit Details:

Full Hash: 948e080fc5bb501f5fde183c3d5f52c3ca797190
Parent Commit: 7fac0f9
Lines Changed: +8, -0

1 Modified Path:

/build_files/cmake/platform/platform_unix.cmake (+8, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021