We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ed54c4 commit 41bd3eaCopy full SHA for 41bd3ea
gz_ros2_control/src/gz_system.cpp
@@ -578,12 +578,24 @@ void GazeboSimSystem::registerSensors(
578
CallbackReturn
579
GazeboSimSystem::on_init(const hardware_interface::HardwareInfo & info)
580
{
581
+#ifdef _MSC_VER
582
+#pragma warning(push)
583
+#pragma warning(disable : 4996)
584
+#else
585
+#pragma GCC diagnostic push
586
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
587
+#endif
588
if (hardware_interface::SystemInterface::on_init(info) !=
589
CallbackReturn::SUCCESS)
590
591
return CallbackReturn::ERROR;
592
}
593
return CallbackReturn::SUCCESS;
594
595
+#pragma warning(pop)
596
597
+#pragma GCC diagnostic pop
598
599
600
601
0 commit comments