From 776e4627ded5a5866675a547cc7575ef6bcaec0e Mon Sep 17 00:00:00 2001 From: tqchen Date: Thu, 28 Aug 2014 08:40:34 -0700 Subject: [PATCH] pass pedantic --- Makefile | 2 +- src/utils/utils.h | 2 +- wrapper/xgboost_wrapper.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 9fcef3e54..cf002f319 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ export CC = gcc export CXX = g++ export LDFLAGS= -pthread -lm -export CFLAGS = -Wall -O3 -msse2 -Wno-unknown-pragmas -fPIC +export CFLAGS = -Wall -O3 -msse2 -Wno-unknown-pragmas -fPIC ifeq ($(no_omp),1) CFLAGS += -DDISABLE_OPENMP diff --git a/src/utils/utils.h b/src/utils/utils.h index a4ca8cf3c..501895224 100644 --- a/src/utils/utils.h +++ b/src/utils/utils.h @@ -31,7 +31,7 @@ #define _FILE_OFFSET_BITS 64 extern "C" { #include -}; +} #endif #ifdef _MSC_VER diff --git a/wrapper/xgboost_wrapper.cpp b/wrapper/xgboost_wrapper.cpp index 9ae48e007..70c7e87b0 100644 --- a/wrapper/xgboost_wrapper.cpp +++ b/wrapper/xgboost_wrapper.cpp @@ -265,4 +265,4 @@ extern "C"{ } return static_cast(handle)->GetModelDump(featmap, false, len); } -}; +}