Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
systemsmanagement:wbem
openwbem
gcc-4.7-patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gcc-4.7-patch of Package openwbem
From 032179a95738cf492bce2e2d67787324d7b6508f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de> Date: Thu, 27 Sep 2012 10:31:45 +0200 Subject: [PATCH 01/12] Include OW_vector for gcc 4.7 --- src/common/OW_Map.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/OW_Map.hpp b/src/common/OW_Map.hpp index d263d9d..a45beaf 100644 --- a/src/common/OW_Map.hpp +++ b/src/common/OW_Map.hpp @@ -36,6 +36,7 @@ #ifndef OW_MAP_HPP_INCLUDE_GUARD_ #define OW_MAP_HPP_INCLUDE_GUARD_ #include "OW_config.h" +#include "OW_vector.hpp" #include "OW_COWReference.hpp" #include <map> #include <functional> -- 1.7.10.4 From 7fbef1e6f0129579a4926321c9476b58e9a6c98c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de> Date: Thu, 27 Sep 2012 10:32:59 +0200 Subject: [PATCH 02/12] Include cstring for memset --- src/providerifcs/npi/OW_FTABLERef.hpp | 1 + src/repositories/hdb/OW_AssocDb.hpp | 1 + 2 files changed, 2 insertions(+) diff --git a/src/providerifcs/npi/OW_FTABLERef.hpp b/src/providerifcs/npi/OW_FTABLERef.hpp index 0d82fac..c9d5314 100644 --- a/src/providerifcs/npi/OW_FTABLERef.hpp +++ b/src/providerifcs/npi/OW_FTABLERef.hpp @@ -46,6 +46,7 @@ #include "OW_SharedLibraryReference.hpp" #include "OW_Reference.hpp" #include "npi.h" +#include <cstring> // for memcpy namespace OW_NAMESPACE { diff --git a/src/repositories/hdb/OW_AssocDb.hpp b/src/repositories/hdb/OW_AssocDb.hpp index 3296955..05350d7 100644 --- a/src/repositories/hdb/OW_AssocDb.hpp +++ b/src/repositories/hdb/OW_AssocDb.hpp @@ -49,6 +49,7 @@ #include "OW_ResultHandlerIFC.hpp" #include "OW_IntrusiveReference.hpp" #include "OW_IntrusiveCountableBase.hpp" +#include <cstring> // for memset namespace OW_NAMESPACE { -- 1.7.10.4 From c14aef8285d885445f9ce5552e928d41787adfb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de> Date: Thu, 27 Sep 2012 12:39:16 +0200 Subject: [PATCH 03/12] Include cstdlib for free --- src/providerifcs/npi/OW_NPIProviderIFCUtils.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/providerifcs/npi/OW_NPIProviderIFCUtils.hpp b/src/providerifcs/npi/OW_NPIProviderIFCUtils.hpp index ad515a1..4aae237 100644 --- a/src/providerifcs/npi/OW_NPIProviderIFCUtils.hpp +++ b/src/providerifcs/npi/OW_NPIProviderIFCUtils.hpp @@ -34,6 +34,7 @@ #include "OW_CIMParamValue.hpp" #include "OW_CIMObjectPath.hpp" #include "NPIExternal.hpp" +#include <cstdlib> // for free namespace OW_NAMESPACE { -- 1.7.10.4 From 4118ce858616c003aa3818a0d012a95b190fb783 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de> Date: Thu, 27 Sep 2012 12:41:26 +0200 Subject: [PATCH 04/12] Include cstring for memcpy and strdup --- src/providerifcs/cmpi/common/cmpiBrokerEnc.cpp | 1 + src/providerifcs/cmpi/common/cmpiInstance.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/src/providerifcs/cmpi/common/cmpiBrokerEnc.cpp b/src/providerifcs/cmpi/common/cmpiBrokerEnc.cpp index 5b53370..3b50b15 100644 --- a/src/providerifcs/cmpi/common/cmpiBrokerEnc.cpp +++ b/src/providerifcs/cmpi/common/cmpiBrokerEnc.cpp @@ -25,6 +25,7 @@ #include "OW_CIMObjectPath.hpp" #include "OW_ProviderEnvironmentIFC.hpp" #include "OW_Logger.hpp" +#include <cstring> // for strcmp namespace { diff --git a/src/providerifcs/cmpi/common/cmpiInstance.cpp b/src/providerifcs/cmpi/common/cmpiInstance.cpp index 4b54412..252a312 100644 --- a/src/providerifcs/cmpi/common/cmpiInstance.cpp +++ b/src/providerifcs/cmpi/common/cmpiInstance.cpp @@ -21,6 +21,7 @@ #include "cmpisrv.h" #include "OW_CIMInstance.hpp" +#include <cstring> // for strdup // TEST #include <iostream> -- 1.7.10.4 From 6ebbf05cdc3d314f9496bbd2bdbc26310630e6bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de> Date: Thu, 27 Sep 2012 12:42:10 +0200 Subject: [PATCH 05/12] Include cstdlib for exit --- src/cimom/server/OW_Platform.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cimom/server/OW_Platform.cpp b/src/cimom/server/OW_Platform.cpp index d94e06a..c332e21 100644 --- a/src/cimom/server/OW_Platform.cpp +++ b/src/cimom/server/OW_Platform.cpp @@ -43,6 +43,7 @@ #include "OW_PlatformSignal.hpp" #include "OW_ServiceEnvironmentIFC.hpp" #include "OW_Logger.hpp" +#include <cstdlib> #ifdef OW_NETWARE #include "OW_Condition.hpp" -- 1.7.10.4 From 81fa9e68a8a37e3978778ad58527aba3f439c405 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de> Date: Thu, 27 Sep 2012 12:43:13 +0200 Subject: [PATCH 06/12] Include cstring for strsignal --- src/cimom/server/OW_PlatformSignal.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cimom/server/OW_PlatformSignal.cpp b/src/cimom/server/OW_PlatformSignal.cpp index 70bda99..c55ace2 100644 --- a/src/cimom/server/OW_PlatformSignal.cpp +++ b/src/cimom/server/OW_PlatformSignal.cpp @@ -36,6 +36,7 @@ #include "OW_PlatformSignal.hpp" #include "OW_UserUtils.hpp" #include <ostream> +#include <cstring> // for strsignal namespace OW_NAMESPACE { -- 1.7.10.4 From efa61137182a82dd5db1c361e0d004913e9bb0ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de> Date: Thu, 27 Sep 2012 12:45:21 +0200 Subject: [PATCH 07/12] Include OW_vector for vector::clone --- src/cimom/indication/OW_IndicationServerImpl.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cimom/indication/OW_IndicationServerImpl.hpp b/src/cimom/indication/OW_IndicationServerImpl.hpp index f7a8578..bb4da7b 100644 --- a/src/cimom/indication/OW_IndicationServerImpl.hpp +++ b/src/cimom/indication/OW_IndicationServerImpl.hpp @@ -38,6 +38,7 @@ #include "OW_Types.hpp" #include "OW_CIMFwd.hpp" #include "OW_IfcsFwd.hpp" +#include "OW_vector.hpp" #include "OW_List.hpp" #include "OW_Condition.hpp" #include "OW_CIMInstance.hpp" -- 1.7.10.4 From d3026b584588c0535f5e33abcef954f95f6e7a74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de> Date: Thu, 27 Sep 2012 12:56:34 +0200 Subject: [PATCH 09/12] Define clone override before including default definition --- src/common/OW_List.hpp | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/common/OW_List.hpp b/src/common/OW_List.hpp index 670fb4a..2ff9e11 100644 --- a/src/common/OW_List.hpp +++ b/src/common/OW_List.hpp @@ -36,11 +36,21 @@ #ifndef OW_LIST_HPP_INCLUDE_GUARD_ #define OW_LIST_HPP_INCLUDE_GUARD_ #include "OW_config.h" -#include "OW_COWReference.hpp" #include <list> namespace OW_NAMESPACE { +template <class T> +inline std::list<T>* COWReferenceClone(std::list<T>* obj) +{ + return new std::list<T>(*obj); +} +} + +#include "OW_COWReference.hpp" + +namespace OW_NAMESPACE +{ // forward declarations are necessary for template friends. template<class T> class List; @@ -289,12 +299,6 @@ inline void swap(List<T>& x, List<T>& y) { x.swap(y); } -template <class T> -inline std::list<T>* COWReferenceClone(std::list<T>* obj) -{ - return new std::list<T>(*obj); -} - } // end namespace OW_NAMESPACE #endif -- 1.7.10.4 From 6f03ec50bec81373536548e6bbc86efc6dcbda0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de> Date: Thu, 27 Sep 2012 12:57:00 +0200 Subject: [PATCH 10/12] Include climits for CHAR_MAX --- src/mof/OW_MOFCompiler.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mof/OW_MOFCompiler.cpp b/src/mof/OW_MOFCompiler.cpp index b5447ff..90bca68 100644 --- a/src/mof/OW_MOFCompiler.cpp +++ b/src/mof/OW_MOFCompiler.cpp @@ -51,6 +51,7 @@ #include <assert.h> #include <cctype> +#include <climits> // for CHAR_MAX // forward declarations of some lex/yacc functions we need to call. void owmof_delete_buffer(YY_BUFFER_STATE b); -- 1.7.10.4 From 9cb4fe214a8b552e4a9c40927394407023fab39b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de> Date: Thu, 27 Sep 2012 12:57:34 +0200 Subject: [PATCH 11/12] Include OW_vector and OW_List to get clone lookup right --- src/mof/OW_MOFCompiler.hpp | 1 + src/mof/OW_MOFGrammar.hpp | 1 + 2 files changed, 2 insertions(+) diff --git a/src/mof/OW_MOFCompiler.hpp b/src/mof/OW_MOFCompiler.hpp index 8fe1035..cf97b12 100644 --- a/src/mof/OW_MOFCompiler.hpp +++ b/src/mof/OW_MOFCompiler.hpp @@ -39,6 +39,7 @@ #include "OW_String.hpp" #include "OW_MOFParserErrorHandlerIFC.hpp" #include "OW_Exception.hpp" +#include "OW_List.hpp" #include "OW_Array.hpp" #include "OW_MOFLineInfo.hpp" #include "OW_MOFGrammar.hpp" diff --git a/src/mof/OW_MOFGrammar.hpp b/src/mof/OW_MOFGrammar.hpp index 398539f..e5d4e7a 100644 --- a/src/mof/OW_MOFGrammar.hpp +++ b/src/mof/OW_MOFGrammar.hpp @@ -36,6 +36,7 @@ #define OW_MOF_GRAMMAR_HPP_INCLUDE_GUARD_ #include "OW_config.h" #include "OW_String.hpp" +#include "OW_vector.hpp" #include "OW_List.hpp" #include "OW_AutoPtr.hpp" #include "OW_MOFVisitor.hpp" -- 1.7.10.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor