Blender Git Commit Log

Git Commits -> Revision bd09b51

Revision bd09b51 by Sergey Sharybin (master)
May 22, 2017, 09:08 (GMT)
Fix/workaround GCC bug about -Wno-implicit-fallthrough

For some reason GCC-6 successfully compiles test program with
-Wno-implicit-fallthrough passed via command line. It just
silently ignores the unknown arguments which are starting with
-Wno-.

The issue is, if some other waning happens in the code, then
GCC will complain about unknown -Wno- argument which is not
supported by current GCC version.

This makes some misleading warning prints about unknown
command line argument when any other warning happens in code
from extern/.

Commit Details:

Full Hash: bd09b51379ee1281cf94f94d2ca58b9658bb49e3
Parent Commit: f3d9f0c
Lines Changed: +4, -1

1 Modified Path:

/CMakeLists.txt (+4, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021