diff options
| author | Neil Hodgson <nyamatongwe@gmail.com> | 2012-05-27 20:43:53 +1000 |
|---|---|---|
| committer | Neil Hodgson <nyamatongwe@gmail.com> | 2012-05-27 20:43:53 +1000 |
| commit | 27396c64a17916276f6dd00173e531ff7153e199 (patch) | |
| tree | aebb32f571e5279780befc1358cf109f3ca586c9 /gtk/PlatGTK.cxx | |
| parent | 431cb00684cbdc2b2946fae0c90be04919dc47bc (diff) | |
| download | scintilla-mirror-27396c64a17916276f6dd00173e531ff7153e199.tar.gz | |
Disable a warning that clang 3.0 gives incorrectly.
Diffstat (limited to 'gtk/PlatGTK.cxx')
| -rw-r--r-- | gtk/PlatGTK.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx index 7bbd84049..d98c23530 100644 --- a/gtk/PlatGTK.cxx +++ b/gtk/PlatGTK.cxx @@ -25,6 +25,11 @@ #include "UniConversion.h" #include "XPM.h" +#if defined(__clang__) +// Clang 3.0 incorrectly displays sentinel warnings. Fixed by clang 3.1. +#pragma GCC diagnostic ignored "-Wsentinel" +#endif + /* GLIB must be compiled with thread support, otherwise we will bail on trying to use locks, and that could lead to problems for someone. `glib-config --libs gthread` needs |
