From d9afb091e7dbd68b6ad705c338334f4d95299705 Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Tue, 24 Mar 2020 17:07:53 +0100 Subject: [PATCH] remove compiler warning --- App/tools/driver.makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/App/tools/driver.makefile b/App/tools/driver.makefile index c393d7e..5ca8732 100644 --- a/App/tools/driver.makefile +++ b/App/tools/driver.makefile @@ -1042,8 +1042,9 @@ MUNCH=$(MUNCH_$(VXWORKS_MAJOR_VERSION)) $(MUNCH) < $< > $@ ${VERSIONFILE}: - echo "#include " >> $@ - echo "epicsShareExtern char _${PRJ}LibRelease[] = \"${LIBVERSION}\";" >> $@ + echo "#include " > $@ + echo "epicsShareExtern const char _${PRJ}LibRelease[];" >> $@ + echo "const char _${PRJ}LibRelease[] = \"${LIBVERSION}\";" >> $@ # EPICS R3.14+: # Create file to fill registry from dbd file.