mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +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]]
|
||||
// Except in these cases:
|
||||
// - nvcc on visual studio
|
||||
#if !(defined(VTKM_MSVC) && defined(VTKM_CUDA))
|
||||
// - nvcc
|
||||
#if !(defined(VTKM_CUDA))
|
||||
#define VTK_M_DEPRECATED_ATTRIBUTE_SUPPORTED
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user