mirror of https://github.com/CGAL/cgal
The warning needs quotes. Exclude VC2015 from a test
This commit is contained in:
parent
ad08f020b6
commit
2455db6692
|
|
@ -25,13 +25,13 @@
|
|||
# undef CGAL_USE_GMP
|
||||
#endif
|
||||
|
||||
#if defined(__has_include)
|
||||
#if defined(__has_include) && ( ! defined _MSC_VER || _MSC_VER > 1900)
|
||||
# if CGAL_USE_GMP && ! __has_include(<gmp.h>)
|
||||
# pragma CGAL_WARNING(<gmp.h> cannot be found. Less efficient number types will be used instead. Define CGAL_NO_GMP=1 if that is on purpose.)
|
||||
# pragma CGAL_WARNING("<gmp.h> cannot be found. Less efficient number types will be used instead. Define CGAL_NO_GMP=1 if that is on purpose.")
|
||||
# undef CGAL_USE_GMP
|
||||
# undef CGAL_USE_MPFR
|
||||
# elif CGAL_USE_MPFR && ! __has_include(<mpfr.h>)
|
||||
# pragma CGAL_WARNING(<mpfr.h> cannot be found and the GMP support in CGAL requires it. Less efficient number types will be used instead. Define CGAL_NO_GMP=1 if that is on purpose.)
|
||||
# pragma CGAL_WARNING("<mpfr.h> cannot be found and the GMP support in CGAL requires it. Less efficient number types will be used instead. Define CGAL_NO_GMP=1 if that is on purpose.")
|
||||
# undef CGAL_USE_GMP
|
||||
# undef CGAL_USE_MPFR
|
||||
# endif // CGAL_USE_MPFR and no <mpfr.h>
|
||||
|
|
|
|||
|
|
@ -523,7 +523,7 @@ namespace cpp11{
|
|||
/// Macro `CGAL_WARNING`.
|
||||
/// Must be used with `#pragma`, this way:
|
||||
///
|
||||
/// #pragma CGAL_WARNING(This line should trigger a warning)
|
||||
/// #pragma CGAL_WARNING("This line should trigger a warning")
|
||||
///
|
||||
/// @{
|
||||
#ifdef BOOST_MSVC
|
||||
|
|
|
|||
Loading…
Reference in New Issue