Skip to content
Snippets Groups Projects
Commit aacca8f6 authored by Mathieu Westphal (Kitware)'s avatar Mathieu Westphal (Kitware) :zap:
Browse files

vtkDeprecation: Use [[deprecated]] for Windows

parent e3b55299
No related branches found
No related tags found
No related merge requests found
......@@ -74,7 +74,7 @@
#define VTK_DEPRECATION(reason) [[vtk::deprecated(reason)]]
#else
#if defined(_WIN32) || defined(_WIN64)
#define VTK_DEPRECATION(reason) __declspec(deprecated(reason))
#define VTK_DEPRECATION(reason) [[deprecated(reason)]]
#elif defined(__clang__)
#if __has_extension(attribute_deprecated_with_message)
#define VTK_DEPRECATION(reason) __attribute__((__deprecated__(reason)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment