summaryrefslogtreecommitdiff
path: root/src/storage
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2020-05-28 13:28:09 +0200
committerMax Kellermann <max@musicpd.org>2020-05-28 14:00:31 +0200
commitd751df0a73efe0645766d64a4c029b4803ebd60d (patch)
tree754ecb64451a359cc4ee298e6c9c21546137ff06 /src/storage
parent2c084781b04ed184941fa1b732d483ebca650a4d (diff)
storage/State: disable -Wcomma to work around Boost compiler warning
Diffstat (limited to 'src/storage')
-rw-r--r--src/storage/StorageState.cxx9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/storage/StorageState.cxx b/src/storage/StorageState.cxx
index eea57fa26..d6a63601e 100644
--- a/src/storage/StorageState.cxx
+++ b/src/storage/StorageState.cxx
@@ -33,9 +33,16 @@
#include "Instance.hxx"
#include "Log.hxx"
-#include <set>
+#ifdef __clang__
+/* ignore -Wcomma due to strange code in boost/array.hpp (in Boost
+ 1.72) */
+#pragma GCC diagnostic ignored "-Wcomma"
+#endif
+
#include <boost/crc.hpp>
+#include <set>
+
#define MOUNT_STATE_BEGIN "mount_begin"
#define MOUNT_STATE_END "mount_end"
#define MOUNT_STATE_STORAGE_URI "uri: "