From 3e1e15a0f7bd6c5f9c3dfb308d5ebfe99686a663 Mon Sep 17 00:00:00 2001 From: MarkRivers Date: Thu, 6 Dec 2012 22:24:05 +0000 Subject: [PATCH] Turn off some warnings on Linux --- motorApp/NewportSrc/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/motorApp/NewportSrc/Makefile b/motorApp/NewportSrc/Makefile index 8d6ab32c..a846bc12 100644 --- a/motorApp/NewportSrc/Makefile +++ b/motorApp/NewportSrc/Makefile @@ -6,6 +6,10 @@ include $(TOP)/configure/CONFIG # must be uncommented to use diagnostic debugging messages. #!USR_CXXFLAGS += -DDEBUG +# The Newport XPS_C8_driver.cpp file uses "char *" when they should use "const char *". +# Turn off warnings when we call this functions with string constants +USR_CPPFLAGS_Linux += -Wno-write-strings + # Install the XPS header file in case applications in another module need to use it INC += XPS_C8_drivers.h