Comment # 6 on bug 966257 from
The following fix fixes the issue for me.  Please include that - snapper is the
only thing blocking images for GCC 6 build staging for me.

--- snapper/Btrfs.cc.orig       2016-03-07 15:02:40.766724314 +0100
+++ snapper/Btrfs.cc    2016-03-07 15:02:56.582906315 +0100
@@ -40,6 +40,8 @@
 #include <btrfs/send.h>
 #include <btrfs/send-stream.h>
 #include <btrfs/send-utils.h>
+#undef min
+#undef max
 #include <boost/version.hpp>
 #include <boost/thread.hpp>
 #endif
--- snapper/BtrfsUtils.cc.orig  2016-03-07 15:02:49.094820151 +0100
+++ snapper/BtrfsUtils.cc       2016-03-07 15:03:13.319098902 +0100
@@ -33,6 +33,8 @@
 #ifdef HAVE_LIBBTRFS
 #include <btrfs/ioctl.h>
 #include <btrfs/send-utils.h>
+#undef min
+#undef max
 #endif

 #include "snapper/Log.h"


You are receiving this mail because: