mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-08 20:40:11 +02:00
Only ignore -Wmaybe-uninitialized on GCC
An ifdef sounds like a better approach than ignoring two additional warnings.
This commit is contained in:
@@ -27,9 +27,9 @@
|
||||
// FIXME: When used in a Boost.Containers small vector, GCC somehow complains
|
||||
// that the fields in this class may be uninitialized (during the
|
||||
// deserialization). This warning only shows up during a unity build.
|
||||
#pragma GCC diagnostic ignored "-Wpragmas"
|
||||
#pragma clang diagnostic ignored "-Wunknown-warning-option"
|
||||
#if defined(__GNUC__) && !defined(__llvm__)
|
||||
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Wraps around `IParamValueQueue` for serializing a queue containing changes to
|
||||
|
||||
Reference in New Issue
Block a user