From 98e92f1a795d64e54ad3a1ec3065c601b876c043 Mon Sep 17 00:00:00 2001 From: Tianqi Chen Date: Tue, 26 Aug 2014 09:29:17 -0700 Subject: [PATCH] more detailed warning --- src/utils/omp.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/utils/omp.h b/src/utils/omp.h index a7f213cc5..8d6531526 100644 --- a/src/utils/omp.h +++ b/src/utils/omp.h @@ -10,7 +10,9 @@ #else #ifndef DISABLE_OPENMP #ifndef _MSC_VER -#warning "OpenMP is not available, compile to single thread code" +#warning "OpenMP is not available, compile to single thread code."\ + "You may want to ungrade your compiler to enable OpenMP support,"\ + "to get benefit of multi-threading." #else // TODO add warning for msvc #endif