diff options
| author | Neil <nyamatongwe@gmail.com> | 2019-12-29 09:52:53 +1100 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2019-12-29 09:52:53 +1100 |
| commit | a0d074425813daed19550b909275fd68f43975cf (patch) | |
| tree | 86a90a214dddd5808d01a745916e19d1ea97b2e3 /win32/PlatWin.cxx | |
| parent | 0e8b84a8747b9fe382bc291b1f07830363ca8c74 (diff) | |
| download | scintilla-mirror-a0d074425813daed19550b909275fd68f43975cf.tar.gz | |
Backport: Move suppression of Clang warning language-extension-token from makefile to only
C++ file that requires it.
Backport of changeset 7844:bb2bc0e7f17a.
Diffstat (limited to 'win32/PlatWin.cxx')
| -rw-r--r-- | win32/PlatWin.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index 14516d30e..44e758698 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -58,6 +58,11 @@ #define LOAD_LIBRARY_SEARCH_SYSTEM32 0x00000800 #endif +// __uuidof is a Microsoft extension but makes COM code neater, so disable warning +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wlanguage-extension-token" +#endif + namespace Scintilla { UINT CodePageFromCharSet(DWORD characterSet, UINT documentCodePage); |
