mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
LYX_BEGIN_MUTE_GCC_WARNING: disable for gcc <= 7
I do not know until which version gcc has complained when trying to mute a warning that it does not support. Recent versions do not do that. For now let's just do gcc 7, the limit should be higher.
This commit is contained in:
parent
159e8f2dde
commit
d86dbf6675
@ -13,7 +13,7 @@
|
||||
#ifndef LYX_MUTE_WARNING_H
|
||||
#define LYX_MUTE_WARNING_H
|
||||
|
||||
#if defined(__GNUC__) && !defined(__clang__)
|
||||
#if defined(__GNUC__) && __GNUC__ > 7 && !defined(__clang__)
|
||||
/* This macro can be used to stipulate that a given GCC warning is not
|
||||
* relevant in a given block.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user