more detailed warning

This commit is contained in:
Tianqi Chen 2014-08-26 09:29:17 -07:00
parent b1bffde6c9
commit 98e92f1a79

View File

@ -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