Package: meep
Version: 0.20.3-1
User: [EMAIL PROTECTED]
Usertags: ftbfs-gcc-4.4
Tags: patch

Your package fails to build with the upcoming GCC 4.4.  Version 4.4
has not been released yet but I'm building with a snapshot in order
to find errors and give people an advance warning.

You can reproduce this problem with gcc-snapshot from unstable.

> Automatic build of meep_0.20.3-1 on em64t by sbuild/amd64 0.53
...
> /bin/sh ../libtool --tag=CXX   --mode=compile x86_64-linux-gnu-g++ 
> -DHAVE_CONFIG_H -I. -I.. -I../../../src  -I../../../src   -g -O2 -MT 
> h5file.lo -MD -MP -MF .deps/h5file.Tpo -c -o h5file.lo ../../../src/h5file.cpp
>  x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../../../src -I../../../src 
> -g -O2 -MT h5file.lo -MD -MP -MF .deps/h5file.Tpo -c ../../../src/h5file.cpp  
> -fPIC -DPIC -o .libs/h5file.o
> ../../../src/h5file.cpp: In member function 'void meep::h5file::remove()':
> ../../../src/h5file.cpp:208: error: 'remove' is not a member of 'std'
> make[4]: *** [h5file.lo] Error 1
> make[4]: Leaving directory `/build/tbm/meep-0.20.3/debian/build-serial/src'

C headers are not included in namespace std; here's the way I'd fix it
but YMMV.

--- src/h5file.cpp~     2008-11-08 13:39:21.000000000 +0000
+++ src/h5file.cpp      2008-11-08 13:47:40.000000000 +0000
@@ -16,9 +16,8 @@
  */
 
 #include <cstdio>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
+#include <cstdlib>
+#include <cstring>
 
 #include "meep.hpp"
 

-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to