From f47ab8fa0d51521e5bfc7d3f23d0eb84e24aaf13 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Mon, 24 Apr 2023 13:25:21 +0200 Subject: [PATCH] Deprecated non-relocatable macro Signed-off-by: Silvio Traversaro --- include/gz/fuel_tools/config.hh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/gz/fuel_tools/config.hh.in b/include/gz/fuel_tools/config.hh.in index 74707ab8..96da880a 100644 --- a/include/gz/fuel_tools/config.hh.in +++ b/include/gz/fuel_tools/config.hh.in @@ -30,6 +30,6 @@ #define GZ_FUEL_TOOLS_VERSION_HEADER "Gazebo Fuel Tools, version ${PROJECT_VERSION_FULL}\nCopyright (C) 2017 Open Source Robotics Foundation.\nReleased under the Apache 2.0 License.\n\n" -#define GZ_FUEL_INITIAL_CONFIG_PATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}/ignition/${GZ_DESIGNATION}${PROJECT_VERSION_MAJOR}/" +#define GZ_FUEL_INITIAL_CONFIG_PATH _Pragma ("GCC warning \"'GZ_FUEL_INITIAL_CONFIG_PATH' macro is deprecated and should not be used. \"") "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}/ignition/${GZ_DESIGNATION}${PROJECT_VERSION_MAJOR}/" #endif