Your message dated Sat, 6 Aug 2005 03:43:28 +0200 with message-id <[EMAIL PROTECTED]> and subject line Fixed in 0.0.7-1 has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) -------------------------------------- Received: (at submit) by bugs.debian.org; 7 Aug 2004 11:44:01 +0000 >From [EMAIL PROTECTED] Sat Aug 07 04:44:01 2004 Return-path: <[EMAIL PROTECTED]> Received: from c214127.adsl.hansenet.de (localhost) [213.39.214.127] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1BtPcG-0002ae-00; Sat, 07 Aug 2004 04:44:00 -0700 Received: from aj by localhost with local (Exim 4.34) id 1BtPcF-0000PV-DC; Sat, 07 Aug 2004 13:43:59 +0200 To: Debian Bug Tracking System <[EMAIL PROTECTED]> From: Andreas Jochens <[EMAIL PROTECTED]> Subject: yafray: FTBFS with gcc-3.4: `cerr' undeclared (first use this function) Message-Id: <[EMAIL PROTECTED]> Date: Sat, 07 Aug 2004 13:43:59 +0200 Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2004_03_25 X-Spam-Level: Package: yafray Severity: normal Tags: patch When building 'yafray' with gcc-3.4 I get the following error: src/yafraycore/buffer.h: In constructor `yafray::gBuf_t<T1, T2>::gBuf_t(int, int)': src/yafraycore/buffer.h:43: error: `cerr' undeclared (first use this function) src/yafraycore/buffer.h:43: error: (Each undeclared identifier is reported only once for each function it appears in.) src/yafraycore/buffer.h: In member function `void yafray::gBuf_t<T1, T2>::set(int, int)': src/yafraycore/buffer.h:59: error: `cerr' undeclared (first use this function) src/yafraycore/buffer.h: In member function `yafray::gBuf_t<T1, T2>& yafray::gBuf_t<T1, T2>::operator=(const yafray::gBuf_t<T1, T2>&)': src/yafraycore/buffer.h:71: error: `cerr' undeclared (first use this function) src/yafraycore/buffer.h: In constructor `yafray::Buffer_t<T>::Buffer_t(int, int)': src/yafraycore/buffer.h:155: error: `cout' undeclared (first use this function) src/yafraycore/buffer.h: In member function `void yafray::Buffer_t<T>::set(int, int)': src/yafraycore/buffer.h:177: error: `cout' undeclared (first use this function) src/yafraycore/buffer.h: In member function `yafray::Buffer_t<T>& yafray::Buffer_t<T>::operator=(const yafray::Buffer_t<T>&)': src/yafraycore/buffer.h:189: error: `cout' undeclared (first use this function) src/backgrounds/hdri.cc: In constructor `yafray::HDRI_Background_t::HDRI_Background_t(const char*, int, bool)': src/backgrounds/hdri.cc:11: error: `cout' undeclared (first use this function) src/backgrounds/hdri.cc: In static member function `static yafray::background_t* yafray::HDRI_Background_t::factory(yafray::paramMap_t&, yafray::renderEnvironment_t&)': src/backgrounds/hdri.cc:69: error: `cerr' undeclared (first use this function) scons: *** [src/backgrounds/hdri.os] Error 1 scons: building terminated because of errors. make: *** [build-stamp] Error 2 With the attached patch 'yafray' can be compiled using gcc-3.4. Regards Andreas Jochens diff -urN ../tmp-orig/yafray-0.0.6.2/src/loader/gram_loader.h ./src/loader/gram_loader.h --- ../tmp-orig/yafray-0.0.6.2/src/loader/gram_loader.h 2004-02-03 16:42:26.000000000 +0100 +++ ./src/loader/gram_loader.h 2004-08-07 13:27:21.708348989 +0200 @@ -22,6 +22,7 @@ #ifndef __GRAML_H #define __GRAML_H +#include <iostream> #include "gram_lex.h" struct sym_t @@ -86,7 +87,7 @@ if(!parser.parse()) { - cout<<"Error en linea "<<parser.line()<<" columna "<<parser.col() + std::cout<<"Error en linea "<<parser.line()<<" columna "<<parser.col() <<" token "<<parser.text()<<"\n"; error=true; return; @@ -117,7 +118,7 @@ { if(ic>=MAX_PROD) { - cout<<"Warning: reached maximal production lenght\n"; + std::cout<<"Warning: reached maximal production lenght\n"; error=true; break; } @@ -131,7 +132,7 @@ { if(tokens.find((*s)->name)==tokens.end()) { - cout<<"Error, undefined token "<<(*s)->name<<"\n"; + std::cout<<"Error, undefined token "<<(*s)->name<<"\n"; error=true; continue; } @@ -145,7 +146,7 @@ np.join=joins[(*p)->func]; else { - cout<<"Warning: undefined join function "<<(*p)->func<<"\n"; + std::cout<<"Warning: undefined join function "<<(*p)->func<<"\n"; error=true; np.join=NULL; } diff -urN ../tmp-orig/yafray-0.0.6.2/src/yafraycore/buffer.h ./src/yafraycore/buffer.h --- ../tmp-orig/yafray-0.0.6.2/src/yafraycore/buffer.h 2004-02-03 16:42:26.000000000 +0100 +++ ./src/yafraycore/buffer.h 2004-08-07 13:24:13.459758924 +0200 @@ -28,6 +28,7 @@ #endif #include <stdio.h> +#include <iostream> __BEGIN_YAFRAY @@ -40,7 +41,7 @@ data = new T1 [x*y*T2*sizeof(T1)]; if (data==NULL) { - cerr << "Error allocating memory in cBuffer\n"; + std::cerr << "Error allocating memory in cBuffer\n"; exit(1); } mx = x; @@ -56,7 +57,7 @@ data = new T1 [x*y*T2*sizeof(T1)]; if(data==NULL) { - cerr << "Error allocating memory in cBuffer\n"; + std::cerr << "Error allocating memory in cBuffer\n"; exit(1); } mx = x; @@ -68,8 +69,8 @@ gBuf_t & operator = (const gBuf_t &source) { - if ((mx!=source.mx) || (my!=source.my)) cerr << "Error, trying to assign buffers of a diferent size\n"; - if ((data == NULL) || (source.data == NULL)) cerr << "Assigning unallocated buffers\n"; + if ((mx!=source.mx) || (my!=source.my)) std::cerr << "Error, trying to assign buffers of a diferent size\n"; + if ((data == NULL) || (source.data == NULL)) std::cerr << "Assigning unallocated buffers\n"; int total = mx*my*T2*sizeof(T1); for(int i=0;i<total;++i) data[i] = source.data[i]; @@ -152,7 +153,7 @@ data=new T [x*y]; if(data==NULL) { - cout<<"Error allocating memory in cBuffer\n"; + std::cout<<"Error allocating memory in cBuffer\n"; exit(1); } mx=x; @@ -174,7 +175,7 @@ data=new T [x*y]; if(data==NULL) { - cout<<"Error allocating memory in cBuffer\n"; + std::cout<<"Error allocating memory in cBuffer\n"; exit(1); } mx=x; @@ -186,11 +187,11 @@ { if( (mx!=source.mx) || (my!=source.my) ) { - cout<<"Error, trying to assign buffers of a diferent size\n"; + std::cout<<"Error, trying to assign buffers of a diferent size\n"; } if( (data == NULL) || (source.data == NULL) ) { - cout<<"Assigning unallocated buffers\n"; + std::cout<<"Assigning unallocated buffers\n"; } int total=mx*my; for(int i=0;i<total;++i) data[i]=source.data[i]; --------------------------------------- Received: (at 264162-done) by bugs.debian.org; 6 Aug 2005 01:43:31 +0000 >From [EMAIL PROTECTED] Fri Aug 05 18:43:31 2005 Return-path: <[EMAIL PROTECTED]> Received: from higgs.djpig.de [213.133.98.126] by spohr.debian.org with esmtp (Exim 3.36 1 (Debian)) id 1E1Dil-00026W-00; Fri, 05 Aug 2005 18:43:31 -0700 Received: from djpig by higgs.djpig.de with local (Exim 4.50) id 1E1Dii-0001E7-HI for [EMAIL PROTECTED]; Sat, 06 Aug 2005 03:43:28 +0200 Date: Sat, 6 Aug 2005 03:43:28 +0200 From: Frank Lichtenheld <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Fixed in 0.0.7-1 Message-ID: <[EMAIL PROTECTED]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Level: X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no version=2.60-bugs.debian.org_2005_01_02 Version: 0.0.7-1 This was fixed with upstream version 0.0.7. Gruesse, -- Frank Lichtenheld <[EMAIL PROTECTED]> www: http://www.djpig.de/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]