GCC 5 uses a conflicting __sentinel definition in include/c++/bits/stl_algo.h
Reported by: matteo
#endif
#if __GNUC_PREREQ__(4, 0)
-#define __sentinel __attribute__((__sentinel__))
+#define __null_sentinel __attribute__((__sentinel__))
#define __exported __attribute__((__visibility__("default")))
/* Only default visibility is supported on PE/COFF targets. */
#ifndef __CYGWIN__
#define __hidden
#endif
#else
-#define __sentinel
+#define __null_sentinel
#define __exported
#define __hidden
#endif