Cycles: Silent paranoid uninitialized GCC warnings in release kernels

This commit is contained in:
Sergey Sharybin
2015-06-13 16:17:55 +02:00
parent 54b824106b
commit 097aa852cf
2 changed files with 2 additions and 0 deletions

View File

@@ -24,6 +24,7 @@
*/ */
#if defined(__GNUC__) && defined(NDEBUG) #if defined(__GNUC__) && defined(NDEBUG)
# pragma GCC diagnostic ignored "-Wmaybe-uninitialized" # pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
# pragma GCC diagnostic ignored "-Wuninitialized"
#endif #endif
/* Selective nodes compilation. */ /* Selective nodes compilation. */

View File

@@ -20,6 +20,7 @@
*/ */
#if defined(__GNUC__) && defined(NDEBUG) #if defined(__GNUC__) && defined(NDEBUG)
# pragma GCC diagnostic ignored "-Wmaybe-uninitialized" # pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
# pragma GCC diagnostic ignored "-Wuninitialized"
#endif #endif
#include <string.h> #include <string.h>