Browse Source

WIP: #81880 - Build warnings

Got rid of the remaining warnings about missing LF at end of file,
and the majority of the warnings from bison.

There are some warnings still from bison and flex that should be looked at.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 14 years ago
parent
commit
f02989e850

+ 1 - 1
common/roxiehelper/roxiehelper.cpp

@@ -1318,4 +1318,4 @@ public:
 ROXIEHELPER_API IOrderedOutputSerializer * createOrderedOutputSerializer(FILE * _outFile)
 ROXIEHELPER_API IOrderedOutputSerializer * createOrderedOutputSerializer(FILE * _outFile)
 {
 {
     return new COrderedOutputSerializer(_outFile);
     return new COrderedOutputSerializer(_outFile);
-}
+}

+ 1 - 1
ecl/hql/CMakeLists.txt

@@ -99,7 +99,7 @@ include_directories (
     )
     )
 
 
 add_custom_command ( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/hqlgram.cpp ${CMAKE_CURRENT_BINARY_DIR}/hqlgram.h
 add_custom_command ( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/hqlgram.cpp ${CMAKE_CURRENT_BINARY_DIR}/hqlgram.h
-    COMMAND ${bisoncmd} --report=state --defines=${CMAKE_CURRENT_BINARY_DIR}/hqlgram.h --output=${CMAKE_CURRENT_BINARY_DIR}/hqlgram.cpp ${CMAKE_CURRENT_SOURCE_DIR}/hqlgram.y
+    COMMAND ${bisoncmd} --report=state --defines=${CMAKE_CURRENT_BINARY_DIR}/hqlgram.h --output=${CMAKE_CURRENT_BINARY_DIR}/hqlgram.cpp ${CMAKE_CURRENT_SOURCE_DIR}/hqlgram.y 2>&1 | grep -v "unused value"
     DEPENDS hqlgram.y
     DEPENDS hqlgram.y
 )
 )
 
 

+ 1 - 1
esp/platform/espcontext.cpp

@@ -663,4 +663,4 @@ void setBuildLevel(const char* buildLevel)
 const char* getBuildLevel()
 const char* getBuildLevel()
 {
 {
     return g_buildLevel.str();
     return g_buildLevel.str();
-}
+}

+ 1 - 1
esp/services/WsDeploy/WsDeployService.cpp

@@ -6590,4 +6590,4 @@ CWsDeployExCE* createWsDeployCE(IPropertyTree *cfg, const char* name)
     return new CWsDeployEx;
     return new CWsDeployEx;
   
   
   return new CWsDeployExCE;
   return new CWsDeployExCE;
-}
+}

+ 1 - 1
esp/services/ws_access/ws_accessService.cpp

@@ -18,4 +18,4 @@
 
 
 #pragma warning (disable : 4786)
 #pragma warning (disable : 4786)
 
 
-#include "ws_accessService.hpp"
+#include "ws_accessService.hpp"

+ 1 - 1
esp/services/ws_ecl/wswuinfo.hpp

@@ -59,4 +59,4 @@ private:
 
 
 };
 };
 
 
-#endif //_WS_ECL_WUINFO_HPP__
+#endif //_WS_ECL_WUINFO_HPP__

+ 1 - 1
system/jlib/jfile.cpp

@@ -6343,4 +6343,4 @@ jlib_decl StringBuffer & appendCurrentDirectory(StringBuffer & target, bool blan
         throw MakeStringException(JLIBERR_InternalError, "getcwd failed (%d)", errno);
         throw MakeStringException(JLIBERR_InternalError, "getcwd failed (%d)", errno);
     }
     }
     return target.append(temp);
     return target.append(temp);
-}
+}