From f312210c2688827cd3753d2ed9eab1e77f7b4391 Mon Sep 17 00:00:00 2001 From: James Xu Date: Fri, 5 Apr 2019 13:51:32 -0700 Subject: [PATCH] update deprecated macro for MSVC (#27) * fix windows build * add deprecated macro (#3) --- urdf/include/urdf/visibility_control.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/urdf/include/urdf/visibility_control.hpp b/urdf/include/urdf/visibility_control.hpp index 9610f1b3..9ddbfb86 100644 --- a/urdf/include/urdf/visibility_control.hpp +++ b/urdf/include/urdf/visibility_control.hpp @@ -53,7 +53,7 @@ #else #define URDF_EXPORT __declspec(dllexport) #define URDF_IMPORT __declspec(dllimport) - #define URDF_DEPRECATED(msg) __attribute__((deprecated(msg))) + #define URDF_DEPRECATED(msg) __declspec(deprecated(msg)) #endif #ifdef URDF_BUILDING_LIBRARY #define URDF_PUBLIC URDF_EXPORT