Explicitly disable warning C4503 when building with MSVC.

This commit is contained in:
Robert Maynard 2016-04-26 08:45:24 -04:00
parent 7b608c2470
commit 6154e19a66

@ -250,7 +250,6 @@ VTKM_THIRDPARTY_PRE_INCLUDE
# include <boost/config.hpp>
VTKM_THIRDPARTY_POST_INCLUDE
# if defined(BOOST_HAS_VARIADIC_TMPL)
# define VTKM_USE_VARIADIC_TEMPLATE 1
# endif
@ -260,4 +259,11 @@ VTKM_THIRDPARTY_POST_INCLUDE
# error Both VTKM_USE_VARIADIC_TEMPLATE and VTKM_NO_VARIADIC_TEMPLATE defined. Do not know what to do.
#endif
//With MSVC the types that we generate cause warning C4503 (long symbol names)
//this doesn't affect the resulting binary so we just supress that warning
//
#ifdef VTKM_MSVC
#pragma warning(disable:4503)
#endif
#endif //vtkm_internal_Configure_h