mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-16 17:22:55 +00:00
Merge topic 'disable_deprecation_under_nvcc'
e37eedadb CUDA doesn't like [[deprecated]] when applied to typedefs Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kenneth Moreland <kmorel@sandia.gov> Merge-request: !2018
This commit is contained in:
commit
ac55c0e551
@ -64,8 +64,8 @@
|
|||||||
|
|
||||||
// C++14 and better supports [[deprecated]]
|
// C++14 and better supports [[deprecated]]
|
||||||
// Except in these cases:
|
// Except in these cases:
|
||||||
// - nvcc on visual studio
|
// - nvcc
|
||||||
#if !(defined(VTKM_MSVC) && defined(VTKM_CUDA))
|
#if !(defined(VTKM_CUDA))
|
||||||
#define VTK_M_DEPRECATED_ATTRIBUTE_SUPPORTED
|
#define VTK_M_DEPRECATED_ATTRIBUTE_SUPPORTED
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user