Hi

Thanks a lot! I'll upload this fix as soon as etch is out of the
door.

Regards,

// Ola

On Wed, Apr 04, 2007 at 01:14:20PM +0200, Martin Michlmayr wrote:
> Package: source-highlight
> Version: 2.4-5
> 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 (20070326-1 or higher)
> from unstable. (Currently not available for i386, but for amd64, powerpc
> and ia64.  I hope to have i386 binaries in the archive in ~3 weeks.)
> 
> > Automatic build of source-highlight_2.4-5 on em64t by sbuild/amd64 0.53
> ...
> > if x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src    -g 
> > -O2 -MT fileutil.o -MD -MP -MF ".deps/fileutil.Tpo" -c -o fileutil.o 
> > fileutil.cc; \
> >     then mv -f ".deps/fileutil.Tpo" ".deps/fileutil.Po"; else rm -f 
> > ".deps/fileutil.Tpo"; exit 1; fi
> > fileutil.cc: In function 'void file_error(const std::string&, const 
> > std::string&)':
> > fileutil.cc:83: error: 'exit' was not declared in this scope
> > fileutil.cc: In function 'void internal_error(const std::string&)':
> > fileutil.cc:90: error: 'exit' was not declared in this scope
> > fileutil.cc: In function 'void reopen_stdin(const std::string&)':
> > fileutil.cc:188: error: 'exit' was not declared in this scope
> > make[5]: *** [fileutil.o] Error 1
> 
> --- src/lib/fileutil.cc~      2007-04-04 11:05:11.000000000 +0000
> +++ src/lib/fileutil.cc       2007-04-04 11:05:19.000000000 +0000
> @@ -17,6 +17,7 @@
>   *
>   */
>  
> +#include <cstdlib>
>  #include <iostream>
>  #include <fstream>
>  
> 
> -- 
> Martin Michlmayr
> http://www.cyrius.com/
> 
> 

-- 
 --------------------- Ola Lundqvist ---------------------------
/  [EMAIL PROTECTED]                     Annebergsslingan 37      \
|  [EMAIL PROTECTED]                     654 65 KARLSTAD          |
|  +46 (0)54-10 14 30                  +46 (0)70-332 1551       |
|  http://opalsys.net/                 UIN/icq: 4912500         |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------


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

Reply via email to