[PATCH] Avoid a warning with -Wno-tautological-compare

2016-07-20 Thread Nadav Har'El
Needed on gcc 6 for one of the files Signed-off-by: Nadav Har'El --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 63427bf..530e9a5 100644 --- a/Makefile +++ b/Makefile @@ -502,6 +502,8 @@ $(out)/bsd/sys/netinet/in_rmx.o:

[PATCH] Drop unneeded include statement

2016-07-20 Thread Nadav Har'El
Signed-off-by: Nadav Har'El --- core/mempool.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/core/mempool.cc b/core/mempool.cc index 0fbd857..50c938f 100644 --- a/core/mempool.cc +++ b/core/mempool.cc @@ -11,7 +11,6 @@ #include #include #include -#include

[PATCH] Do not use enum class as constructor priority

2016-07-20 Thread Nadav Har'El
According to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59281 gcc 6 no longer allows to use enum class as constructor priorities, as we did in include/osv/prio.hh. Constructor priorities must be integers, and enum class do not support conversion to int. The solution is to go back to old-style