storage/State: disable -Wcomma to work around Boost compiler warning

This commit is contained in:
Max Kellermann 2020-05-28 13:28:09 +02:00
parent 2c084781b0
commit d751df0a73

View File

@ -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: "