Package: openexr Version: 1.2.2-2 Severity: serious Tags: patch When building 'openexr' on amd64/unstable, I get the following error:
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"OpenEXR\" -DVERSION=\"1.2.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRERROR=1 -DHAVE_IOS_BASE=1 -DHAVE_COMPLETE_IOMANIP=1 -DHAVE_STL_LIMITS=1 -I. -I. -I.. -I../Iex -I../Half -I../Imath -I../IlmImf -pipe -g -O2 -MT Image.o -MD -MP -MF ".deps/Image.Tpo" \ -c -o Image.o `test -f 'Image.cpp' || echo './'`Image.cpp; \ then mv -f ".deps/Image.Tpo" ".deps/Image.Po"; \ else rm -f ".deps/Image.Tpo"; exit 1; \ fi ./Image.h:59: error: expected `)' before '&' token ./Image.h:64: error: ISO C++ forbids declaration of 'Image' with no type The attached patch fixes this problem. Regards Andreas Jochens diff -urN ../tmp-orig/openexr-1.2.2/exrmaketiled/Image.h ./exrmaketiled/Image.h --- ../tmp-orig/openexr-1.2.2/exrmaketiled/Image.h 2004-06-04 04:11:23.000000000 +0000 +++ ./exrmaketiled/Image.h 2005-07-20 12:21:36.000000000 +0000 @@ -49,6 +49,7 @@ #include <string> #include <map> +class Image; class ImageChannel { -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]