aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/libeasysoap++/libeasysoap++0/libeasysoap++0-0.6.1-compile-errors-swb.patch
blob: 50638a69d3dc8f7604d75a192fb298f611a1d153 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
2005-05-07  Steven Brown  <swbrown@ucsd.edu>

	* include/easysoap/SOAPSTL.h: Specializations require template<>.

	* tests/interopclient.cpp: gcc 3.4 tries to invoke the private copy
	constructor on SOAPBase64 and SOAPHex when passed directly through
	the overload of << to AddParameter.  Not sure why it does this
	(bug?), but assigning a name to the variables makes it happy.


diff -ruN EasySoap++-0.6.1-old/include/easysoap/SOAPSTL.h EasySoap++-0.6.1/include/easysoap/SOAPSTL.h
--- EasySoap++-0.6.1-old/include/easysoap/SOAPSTL.h	Sat May  7 19:55:34 2005
+++ EasySoap++-0.6.1/include/easysoap/SOAPSTL.h	Sat May  7 20:56:10 2005
@@ -58,6 +58,7 @@
 /**
 *
 */
+template<>
 class SOAPTypeTraits<std::string>
 {
 public:
@@ -168,6 +169,7 @@
 /**
 *
 */
+template<>
 class SOAPTypeTraits< SOAPSTLBase64 > : public SOAPBase64Traits
 {
 };
@@ -200,6 +202,7 @@
 /**
 *
 */
+template<>
 class SOAPTypeTraits< SOAPSTLHex > : public SOAPHexTraits
 {
 };
diff -ruN EasySoap++-0.6.1-old/tests/interopclient.cpp EasySoap++-0.6.1/tests/interopclient.cpp
--- EasySoap++-0.6.1-old/tests/interopclient.cpp	Sat May  7 19:55:34 2005
+++ EasySoap++-0.6.1/tests/interopclient.cpp	Sat May  7 20:55:52 2005
@@ -990,7 +990,8 @@
 
 	SOAPMethod method;
 	SetupMethod(method, "echoBase64", e);
-	method.AddParameter("inputBase64") << SOAPBase64(inputBinary);
+	SOAPBase64 inputBase64(inputBinary);
+	method.AddParameter("inputBase64") << inputBase64;
 	const SOAPResponse& response = proxy.Execute(method);
 
 	SOAPBase64 base64(outputBinary);
@@ -1217,7 +1218,8 @@
 
 	SOAPMethod method;
 	SetupMethod(method, "echoHexBinary", e);
-	method.AddParameter("inputHexBinary") << SOAPHex(inputBinary);
+	SOAPHex inputHex(inputBinary);
+	method.AddParameter("inputHexBinary") << inputHex;
 	const SOAPResponse& response = proxy.Execute(method);
 
 	SOAPHex hex(outputBinary);