qt: only ignore -Wstringop-overflow on gcc 11
This commit is contained in:
@@ -340,7 +340,7 @@ bool NewFloppyDialog::create86f(const QString& filename, const disk_size_t& disk
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Ignore false positive warning caused by a bug on gcc */
|
/* Ignore false positive warning caused by a bug on gcc */
|
||||||
#ifdef __GNUC__
|
#if __GNUC__ >= 11
|
||||||
#pragma GCC diagnostic ignored "-Wstringop-overflow"
|
#pragma GCC diagnostic ignored "-Wstringop-overflow"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user