tags 472561 + patch
thanks

Hi!

Please find attached a patch to fix this bug. I used the following
compiler to test my patch:

[(sid)[EMAIL PROTECTED] ~] gcc-snapshot -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 20080323-1' 
--with-bugurl=file:///usr/share/doc/gcc-snapshot/README.Bugs 
--enable-languages=c,c++,java,fortran,objc,obj-c++,ada 
--prefix=/usr/lib/gcc-snapshot --enable-shared --with-system-zlib --disable-nls 
--enable-clocale=gnu --enable-libstdcxx-debug --enable-java-awt=gtk 
--enable-gtk-cairo --disable-plugin --with-java-home=/usr/lib/gcc-snapshot/jre 
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-mpfr 
--enable-targets=all --disable-werror --build=i486-linux-gnu 
--host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.4.0 20080323 (experimental) [trunk revision 133461] (Debian 
20080323-1)

HTH.

Kumar
-- 
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036
diff -Nru --exclude changelog felix-1.1.3/lpsrc/flx_gc.pak felix-1.1.3/lpsrc/flx_gc.pak
--- felix-1.1.3/lpsrc/flx_gc.pak	2007-04-18 12:35:38.000000000 +0530
+++ felix-1.1.3/lpsrc/flx_gc.pak	2008-03-26 13:14:01.000000000 +0530
@@ -80,6 +80,7 @@
 #define __FLX_GC_H__
 
 #include <cstdlib>
+#include <cstring>
 #include "flx_gc_config.hpp"
 
 // we use an STL set to hold the collection of roots
@@ -705,6 +706,7 @@
 
 @select(tangler('rtl/flx_collector.cpp'))
 #include <cstdlib>
+#include <cstring>
 #include <map>
 #include <limits.h>
 #include <cassert>
diff -Nru --exclude changelog /tmp/WNdc24WIyi/felix-1.1.3/lpsrc/flx_posixtimer_demux.ipk /tmp/wrp5EUGY33/felix-1.1.3/lpsrc/flx_posixtimer_demux.ipk
--- felix-1.1.3/lpsrc/flx_posixtimer_demux.ipk	2007-04-18 13:06:21.000000000 +0530
+++ felix-1.1.3/lpsrc/flx_posixtimer_demux.ipk	2008-03-26 13:14:01.000000000 +0530
@@ -54,6 +54,7 @@
 
 #include <queue>    // stl seems to have a prio_queue
 #include <sys/time.h> // gettimeofday for calculating "now"
+#include <cstdio>
 
 //using namespace flx::pthread;
 namespace flx { namespace demux {
diff -Nru --exclude changelog /tmp/WNdc24WIyi/felix-1.1.3/lpsrc/flx_rtl.pak /tmp/wrp5EUGY33/felix-1.1.3/lpsrc/flx_rtl.pak
--- felix-1.1.3/lpsrc/flx_rtl.pak	2007-04-18 12:35:40.000000000 +0530
+++ felix-1.1.3/lpsrc/flx_rtl.pak	2008-03-26 13:14:01.000000000 +0530
@@ -3384,6 +3384,7 @@
 
 @select(tangler('rtl/flx_ioutil.cpp'))
 #include <cstdio>
+#include <cstring>
 #include <string>
 #include "flx_ioutil.hpp"
 namespace flx { namespace rtl { namespace ioutil {
@@ -3523,6 +3524,7 @@
 @doc()
 
 @select(tangler('rtl/flx_strutil.cpp'))
+#include <cstdlib>
 #include "flx_strutil.hpp"
 
 namespace flx { namespace rtl { namespace strutil {

Attachment: signature.asc
Description: Digital signature

Reply via email to