Make wxGCC_ONLY_WARNING_SUPPRESS really gcc-specific
This macro was still used with clang because it also predefines __GNUC__, contradicting its name and purpose, as it was always identical to just wxGCC_WARNING_SUPPRESS. Only make it do something for gcc now and nothing for clang.
This commit is contained in:
parent
58840fe7fd
commit
44dfad47e2
1 changed files with 1 additions and 1 deletions
|
|
@ -639,7 +639,7 @@ typedef short int WXTYPE;
|
|||
/*
|
||||
Similar macros but for gcc-specific warnings.
|
||||
*/
|
||||
#ifdef __GNUC__
|
||||
#if defined(__GNUC__) && !defined(__clang__)
|
||||
# define wxGCC_ONLY_WARNING_SUPPRESS(x) wxGCC_WARNING_SUPPRESS(x)
|
||||
# define wxGCC_ONLY_WARNING_RESTORE(x) wxGCC_WARNING_RESTORE(x)
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue