Commit d751df0a authored by Max Kellermann's avatar Max Kellermann

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

parent 2c084781
...@@ -33,9 +33,16 @@ ...@@ -33,9 +33,16 @@
#include "Instance.hxx" #include "Instance.hxx"
#include "Log.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 <boost/crc.hpp>
#include <set>
#define MOUNT_STATE_BEGIN "mount_begin" #define MOUNT_STATE_BEGIN "mount_begin"
#define MOUNT_STATE_END "mount_end" #define MOUNT_STATE_END "mount_end"
#define MOUNT_STATE_STORAGE_URI "uri: " #define MOUNT_STATE_STORAGE_URI "uri: "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment