Hi,
thanks for the patch, I've applied it to current libavg svn.
I welcome any further patches of this sort :-).
Regards,
Uli
Martin Michlmayr wrote:
Package: libavg
Version: 0.6.0-3
Usertags: ftbfs-gcc-4.3
Tags: patch
Your package fails to build with GCC 4.3. Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning. In GCC 4.3, the C++ header
dependencies have been cleaned up. The advantage of this is that
programs will compile faster. The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC). Some background of this can be found at
http://gcc.gnu.org/PR28080
You can reproduce this problem with gcc-snapshot from unstable.
Automatic build of libavg_0.6.0-3 on coconut0 by sbuild/ia64 0.49
...
g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I.. -I/usr/include/libxml2 -g -Wall
-O2 -c Exception.cpp -fPIC -DPIC -o .libs/Exception.o
Exception.cpp: In function 'void avg::fatalError(const std::string&)':
Exception.cpp:60: error: 'exit' was not declared in this scope
make[4]: *** [Exception.lo] Error 1
--- src/base/Exception.cpp~ 2007-04-02 12:27:53.000000000 +0000
+++ src/base/Exception.cpp 2007-04-02 12:28:03.000000000 +0000
@@ -22,6 +22,8 @@
#include "Exception.h"
#include "Logger.h"
+#include <cstdlib>
+
using namespace std;
namespace avg {
There are some other C++ errors later on, but let's fix the header
includes now.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]