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

Commit

Permalink
ignore clang warnings within Connext code
Browse files Browse the repository at this point in the history
Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
  • Loading branch information
dirk-thomas committed May 2, 2019
1 parent ea2e081 commit 43fccfd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions rosidl_typesupport_connext_c/src/wstring_conversion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,15 @@

#include <rosidl_typesupport_connext_c/wstring_conversion.hpp>

#ifdef __clang__
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wdeprecated-register"
# pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
#endif
#include "ndds/ndds_c.h"
#ifdef __clang__
# pragma clang diagnostic pop
#endif
#include "rosidl_generator_c/u16string_functions.h"

namespace rosidl_typesupport_connext_c
Expand Down

0 comments on commit 43fccfd

Please sign in to comment.