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

Merge topic 'use_modern_deprecated'


aacca8f6 vtkDeprecation: Use [[deprecated]] for Windows

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Rejected-by: default avatarbuildbot <buildbot@kitware.com>
Merge-request: !11930
parents e3b55299 aacca8f6
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