xmlrpc-c/xmlrpc-c-1.05-gcc41.patch
ensc 4c4dfa4ddb - updated to 1.05
- updated patches
2006-06-04 16:21:22 +00:00

42 lines
1.4 KiB
Diff

2006-06-04 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
* include/xmlrpc-c/server_abyss.hpp: fixed compilation with
gcc41 by removing duplicate class-name in method declaration
* examples/cpp/xmlrpc_loop_server.cpp: added includes and
namespaces for std::cout + std::endl
--- xmlrpc-c-1.05/examples/cpp/xmlrpc_loop_server.cpp.gcc41 2006-01-09 00:36:06.000000000 +0100
+++ xmlrpc-c-1.05/examples/cpp/xmlrpc_loop_server.cpp 2006-06-04 14:24:28.000000000 +0200
@@ -11,6 +11,7 @@
#include <xmlrpc-c/base.hpp>
#include <xmlrpc-c/registry.hpp>
#include <xmlrpc-c/server_abyss.hpp>
+#include <iostream>
using namespace std;
@@ -55,7 +56,7 @@ main(int const,
);
while (true) {
- cout << "Waiting for next RPC..." << endl;
+ std::cout << "Waiting for next RPC..." << std::endl;
myAbyssServer.runOnce();
/* This waits for the next connection, accepts it, reads the
--- xmlrpc-c-1.05/include/xmlrpc-c/server_abyss.hpp.gcc41 2006-01-29 04:59:31.000000000 +0100
+++ xmlrpc-c-1.05/include/xmlrpc-c/server_abyss.hpp 2006-06-04 14:22:36.000000000 +0200
@@ -84,10 +84,10 @@ private:
TServer cServer;
void
- serverAbyss::setAdditionalServerParms(constrOpt const& opt);
+ setAdditionalServerParms(constrOpt const& opt);
void
- serverAbyss::initialize(constrOpt const& opt);
+ initialize(constrOpt const& opt);
};