diff options
author | Timo Lotterbach <timo.lotterbach@bmw-carit.de> | 2013-01-11 05:00:30 -0800 |
---|---|---|
committer | Timo Lotterbach <timo.lotterbach@bmw-carit.de> | 2013-01-14 00:34:18 -0800 |
commit | 1c42c56b760c6fee39f98cf9f6c0b5b7bc7c7594 (patch) | |
tree | 7b54483720d3cf8e668592aab3e1ec6436ff1e48 /config | |
parent | 592011c6e11afa5b41ffea50a1e4651cd7998944 (diff) | |
download | layer_management-1c42c56b760c6fee39f98cf9f6c0b5b7bc7c7594.tar.gz |
C-Code: fixed compiler warnings in C Code
accidentally the compiler warnings settings have not been used during
the build of C files (*.c).
After enabling the warnings settings for C-Code, a fair amount of warnings
have been found. This fix removed these warnings.
Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
Diffstat (limited to 'config')
-rw-r--r-- | config/res/config.h.cmake | 60 |
1 files changed, 35 insertions, 25 deletions
diff --git a/config/res/config.h.cmake b/config/res/config.h.cmake index e25dde0..cd5c234 100644 --- a/config/res/config.h.cmake +++ b/config/res/config.h.cmake @@ -20,33 +20,40 @@ #ifndef __CONFIG_H__ #define __CONFIG_H__ -// Auto-generated. Do not modify. -// Variables configured by CMake build system - -//----------------------------------------------------------------------------- -// string variables -//----------------------------------------------------------------------------- -// version of the LayerManagementService +/* + Auto-generated. Do not modify. + Variables configured by CMake build system +*/ + +/* +----------------------------------------------------------------------------- + string variables +----------------------------------------------------------------------------- +*/ +/* version of the LayerManagementService */ #define ILM_VERSION "${ILM_VERSION}" -// CMake build type, e.g. Debug, Release +/* CMake build type, e.g. Debug, Release */ #define CMAKE_BUILD_TYPE "${CMAKE_BUILD_TYPE}" -// compiler flags used to build project +/* compiler flags used to build project */ #define CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}" -// install prefix of target platform +/* install prefix of target platform */ #define CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}" - -//----------------------------------------------------------------------------- -// build flags -//----------------------------------------------------------------------------- +/* +----------------------------------------------------------------------------- + build flags +----------------------------------------------------------------------------- +*/ ${EXPORTED_BUILD_FLAGS} -//----------------------------------------------------------------------------- -// human readable report -//----------------------------------------------------------------------------- +/* +----------------------------------------------------------------------------- + human readable report +----------------------------------------------------------------------------- +*/ #define DEBUG_FLAG 1 #define INFO_FLAG 2 @@ -67,23 +74,26 @@ ${EXPORTED_BUILD_FLAG_ARRAY} const int gBuildFlagCount = sizeof(gBuildFlags) / sizeof(gBuildFlags[0]); - -//----------------------------------------------------------------------------- -// manage list of statically linked plugins -//----------------------------------------------------------------------------- +/* +----------------------------------------------------------------------------- + manage list of statically linked plugins +----------------------------------------------------------------------------- +*/ #define REGISTER_PLUGIN(PLUGIN) \ extern "C" IPlugin* create ## PLUGIN(ICommandExecutor& executor, Configuration& config); \ static bool PLUGIN ## _instance = PluginManager::registerStaticPluginCreateFunction(create ## PLUGIN); #define STATIC_PLUGIN_REGISTRATION ${STATIC_PLUGIN_REGISTRATION} -//----------------------------------------------------------------------------- -// define plugin entry point depending on build settings -//----------------------------------------------------------------------------- +/* +----------------------------------------------------------------------------- + define plugin entry point depending on build settings +----------------------------------------------------------------------------- +*/ #define DECLARE_LAYERMANAGEMENT_PLUGIN(name) \ extern "C" IPlugin* create ## name(ICommandExecutor& executor, Configuration& config) \ { \ return new name(executor, config); \ } -#endif // __CONFIG_H__ +#endif /* __CONFIG_H__ */ |