Skip to content

Commit 7a88482

Browse files
committed
fix warning
1 parent 22929a2 commit 7a88482

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/xml_parsing.cpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,17 @@
2929
#if defined(__linux) || defined(__linux__)
3030
#pragma GCC diagnostic push
3131
#pragma GCC diagnostic ignored "-Wattributes"
32+
#pragma GCC diagnostic ignored "-Wtype-limits"
33+
#endif
34+
35+
#include "tinyxml2.h"
36+
37+
#if defined(__linux) || defined(__linux__)
38+
#pragma GCC diagnostic pop
3239
#endif
3340

3441
#include <map>
3542
#include "behaviortree_cpp/xml_parsing.h"
36-
#include "tinyxml2.h"
3743
#include <filesystem>
3844

3945
#ifdef USING_ROS2

0 commit comments

Comments
 (0)