summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2018-08-01 11:27:42 +0200
committerJohnny Willemsen <jwillemsen@remedy.nl>2018-08-01 11:27:42 +0200
commit9de678f6c8ff8690524165253c882e4c3f92e7fd (patch)
tree351ab47457f434682913a40f53a4ef0c2dee2edb /config
parent0a8d706e3a6fc92d4fdedcbf8b759860ef1c8fa6 (diff)
downloadMPC-9de678f6c8ff8690524165253c882e4c3f92e7fd.tar.gz
When using clang on Linux disable some warnings on the RTI generaterd code, issue #4574
* config/nddslib.mpb:
Diffstat (limited to 'config')
-rw-r--r--config/nddslib.mpb3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/nddslib.mpb b/config/nddslib.mpb
index edb08165..fb4dcc9a 100644
--- a/config/nddslib.mpb
+++ b/config/nddslib.mpb
@@ -15,6 +15,9 @@ project {
endif
ifeq ($(ACE_PLATFORM_CONFIG),config-linux.h)
FLAGS_C_CC += -DRTI_LINUX
+ ifeq ($(CXX),clang++)
+ FLAGS_C_CC += -Wno-return-type-c-linkage -Wno-deprecated-register
+ endif
endif
ifeq ($(ACE_PLATFORM_CONFIG),config-android.h)
FLAGS_C_CC += -DRTI_LINUX