Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 43fccfd

Browse files
committed
ignore clang warnings within Connext code
Signed-off-by: Dirk Thomas <[email protected]>
1 parent ea2e081 commit 43fccfd

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

rosidl_typesupport_connext_c/src/wstring_conversion.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,15 @@
1414

1515
#include <rosidl_typesupport_connext_c/wstring_conversion.hpp>
1616

17+
#ifdef __clang__
18+
# pragma clang diagnostic push
19+
# pragma clang diagnostic ignored "-Wdeprecated-register"
20+
# pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
21+
#endif
1722
#include "ndds/ndds_c.h"
23+
#ifdef __clang__
24+
# pragma clang diagnostic pop
25+
#endif
1826
#include "rosidl_generator_c/u16string_functions.h"
1927

2028
namespace rosidl_typesupport_connext_c

0 commit comments

Comments
 (0)