added default-constructor patch
This commit is contained in:
parent
aab85350fb
commit
a453e46a1e
29
xmlrpc-c-default-constructor.patch
Normal file
29
xmlrpc-c-default-constructor.patch
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
From 3047dab03a91b5f63f6dee481f9eda69e044adfa Mon Sep 17 00:00:00 2001
|
||||||
|
From: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
|
||||||
|
Date: Sat, 2 Apr 2011 15:29:47 +0200
|
||||||
|
Subject: [PATCH] added default constructor
|
||||||
|
|
||||||
|
fixes
|
||||||
|
|
||||||
|
| src/cpp/registry.cpp: In member function 'virtual void xmlrpc_c::method2::execute(const xmlrpc_c::paramList&, xmlrpc_c::value*)':
|
||||||
|
| src/cpp/registry.cpp:73:20: error: uninitialized const 'nullCallInfo' [-fpermissive]
|
||||||
|
| include/xmlrpc-c/registry.hpp:17:24: note: 'const class xmlrpc_c::callInfo' has no user-provided default constructor
|
||||||
|
---
|
||||||
|
include/xmlrpc-c/registry.hpp | 1 +
|
||||||
|
1 files changed, 1 insertions(+), 0 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/include/xmlrpc-c/registry.hpp b/include/xmlrpc-c/registry.hpp
|
||||||
|
index 81db5b0..a08dbdd 100644
|
||||||
|
--- a/include/xmlrpc-c/registry.hpp
|
||||||
|
+++ b/include/xmlrpc-c/registry.hpp
|
||||||
|
@@ -24,6 +24,7 @@ class XMLRPC_DLLEXPORT callInfo {
|
||||||
|
information pertinent to that kind of server.
|
||||||
|
-----------------------------------------------------------------------------*/
|
||||||
|
public:
|
||||||
|
+ callInfo() {};
|
||||||
|
virtual ~callInfo() {}; // This makes it polymorphic
|
||||||
|
};
|
||||||
|
|
||||||
|
--
|
||||||
|
1.7.4
|
||||||
|
|
@ -28,6 +28,7 @@ Patch107: xmlrpc-c-uninit-curl.patch
|
|||||||
Patch108: xmlrpc-c-30x-redirect.patch
|
Patch108: xmlrpc-c-30x-redirect.patch
|
||||||
Patch109: xmlrpc-c-check-vasprintf-return-value.patch
|
Patch109: xmlrpc-c-check-vasprintf-return-value.patch
|
||||||
Patch110: xmlrpc-c-include-string_int.h.patch
|
Patch110: xmlrpc-c-include-string_int.h.patch
|
||||||
|
Patch111: xmlrpc-c-default-constructor.patch
|
||||||
|
|
||||||
|
|
||||||
BuildRoot: %_tmppath/%name-%version-%release-root
|
BuildRoot: %_tmppath/%name-%version-%release-root
|
||||||
@ -117,6 +118,7 @@ This package contains some handy XML-RPC demo applications.
|
|||||||
%patch108 -p1
|
%patch108 -p1
|
||||||
%patch109 -p1
|
%patch109 -p1
|
||||||
%patch110 -p1
|
%patch110 -p1
|
||||||
|
%patch111 -p1
|
||||||
|
|
||||||
## not needed...
|
## not needed...
|
||||||
rm doc/{INSTALL,configure_doc}
|
rm doc/{INSTALL,configure_doc}
|
||||||
|
Loading…
Reference in New Issue
Block a user