Quiet gcc and clang warnings
gcc ignores the c++17 standard advisory in some versions and simply doesn't warn about unused private variables. Clang and MSVC do warn about unused private variables and do follow the standard
This commit is contained in:
parent
32c5a4d1ea
commit
e1ee1ef7e5
|
@ -50,7 +50,7 @@ private:
|
|||
// The locale in use before switching to the "C" locale
|
||||
// (the locale can be set by user, and is not always the system locale)
|
||||
std::string m_user_locale;
|
||||
#ifdef __GNUC__
|
||||
#ifndef __clang__
|
||||
// [[maybe_unused]] attribute is ignored by Gcc but generates a warning.
|
||||
wxLocale* m_wxLocale;
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue