updated gcc43 patch; call make with -k to detect all errors within only one

build
This commit is contained in:
ensc 2008-02-26 22:06:58 +00:00
parent a8f2c04328
commit c5b71ad1c9
2 changed files with 29 additions and 4 deletions

View File

@ -1,12 +1,26 @@
From 830193235868354d28a7cbe22bb68260bf01e753 Mon Sep 17 00:00:00 2001
From f40f0ff70302a90c7a41aecfafd67d2652fd2177 Mon Sep 17 00:00:00 2001
From: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Date: Tue, 26 Feb 2008 22:45:15 +0100
Subject: [PATCH] gcc43
---
examples/cpp/pstream_client.cpp | 1 +
src/cpp/packetsocket.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
tools/xmlrpc_cpp_proxy/xmlrpc_cpp_proxy.cpp | 1 +
3 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/examples/cpp/pstream_client.cpp b/examples/cpp/pstream_client.cpp
index ec1a808..43e5700 100644
--- a/examples/cpp/pstream_client.cpp
+++ b/examples/cpp/pstream_client.cpp
@@ -16,6 +16,7 @@
=============================================================================*/
#include <cassert>
+#include <cstdlib>
#include <string>
#include <iostream>
#include <unistd.h>
diff --git a/src/cpp/packetsocket.cpp b/src/cpp/packetsocket.cpp
index 4dd8567..2e314bc 100644
--- a/src/cpp/packetsocket.cpp
@ -19,6 +33,17 @@ index 4dd8567..2e314bc 100644
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
diff --git a/tools/xmlrpc_cpp_proxy/xmlrpc_cpp_proxy.cpp b/tools/xmlrpc_cpp_proxy/xmlrpc_cpp_proxy.cpp
index fefae80..7ec8a47 100644
--- a/tools/xmlrpc_cpp_proxy/xmlrpc_cpp_proxy.cpp
+++ b/tools/xmlrpc_cpp_proxy/xmlrpc_cpp_proxy.cpp
@@ -1,5 +1,6 @@
#include <iostream>
#include <stdexcept>
+#include <cstdlib>
#include "xmlrpcType.hpp"
#include "xmlrpcMethod.hpp"
--
1.5.4.1

View File

@ -84,7 +84,7 @@ cmake .. \
-DMUST_BUILD_LIBWWW_CLIENT:BOOL=OFF \
-DCMAKE_INSTALL_PREFIX:PATH=%_prefix \
-DBUILD_SHARED_LIBS:BOOL=ON
make VERBOSE=1 %{?_smp_mflags}
make -k VERBOSE=1 %{?_smp_mflags}
%install