]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/libeasysoap++/libeasysoap++0/libeasysoap++0-0.6.1-compile-errors-swb.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / libeasysoap++ / libeasysoap++0 / libeasysoap++0-0.6.1-compile-errors-swb.patch
1 2005-05-07  Steven Brown  <swbrown@ucsd.edu>
2
3         * include/easysoap/SOAPSTL.h: Specializations require template<>.
4
5         * tests/interopclient.cpp: gcc 3.4 tries to invoke the private copy
6         constructor on SOAPBase64 and SOAPHex when passed directly through
7         the overload of << to AddParameter.  Not sure why it does this
8         (bug?), but assigning a name to the variables makes it happy.
9
10
11 diff -ruN EasySoap++-0.6.1-old/include/easysoap/SOAPSTL.h EasySoap++-0.6.1/include/easysoap/SOAPSTL.h
12 --- EasySoap++-0.6.1-old/include/easysoap/SOAPSTL.h     Sat May  7 19:55:34 2005
13 +++ EasySoap++-0.6.1/include/easysoap/SOAPSTL.h Sat May  7 20:56:10 2005
14 @@ -58,6 +58,7 @@
15  /**
16  *
17  */
18 +template<>
19  class SOAPTypeTraits<std::string>
20  {
21  public:
22 @@ -168,6 +169,7 @@
23  /**
24  *
25  */
26 +template<>
27  class SOAPTypeTraits< SOAPSTLBase64 > : public SOAPBase64Traits
28  {
29  };
30 @@ -200,6 +202,7 @@
31  /**
32  *
33  */
34 +template<>
35  class SOAPTypeTraits< SOAPSTLHex > : public SOAPHexTraits
36  {
37  };
38 diff -ruN EasySoap++-0.6.1-old/tests/interopclient.cpp EasySoap++-0.6.1/tests/interopclient.cpp
39 --- EasySoap++-0.6.1-old/tests/interopclient.cpp        Sat May  7 19:55:34 2005
40 +++ EasySoap++-0.6.1/tests/interopclient.cpp    Sat May  7 20:55:52 2005
41 @@ -990,7 +990,8 @@
42  
43         SOAPMethod method;
44         SetupMethod(method, "echoBase64", e);
45 -       method.AddParameter("inputBase64") << SOAPBase64(inputBinary);
46 +       SOAPBase64 inputBase64(inputBinary);
47 +       method.AddParameter("inputBase64") << inputBase64;
48         const SOAPResponse& response = proxy.Execute(method);
49  
50         SOAPBase64 base64(outputBinary);
51 @@ -1217,7 +1218,8 @@
52  
53         SOAPMethod method;
54         SetupMethod(method, "echoHexBinary", e);
55 -       method.AddParameter("inputHexBinary") << SOAPHex(inputBinary);
56 +       SOAPHex inputHex(inputBinary);
57 +       method.AddParameter("inputHexBinary") << inputHex;
58         const SOAPResponse& response = proxy.Execute(method);
59  
60         SOAPHex hex(outputBinary);