Hi Martin, hi Wolfgang,

On Sun, Dec 09, 2007 at 19:07:38 -0700, Martin Michlmayr wrote:
> 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.

Thanks for the heads up.

> 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).  There's some more information about this at
> http://www.cyrius.com/journal/2007/05/10#gcc-4.3-include
> 
> You can reproduce this problem with gcc-snapshot from unstable.

With the patch below, I can build pstoedit with gcc-snapshot's g++.
Wolfgang, can you please apply this for your next release?

diff -ru pstoedit-3.45-old/src/cppcomp.h pstoedit-3.45/src/cppcomp.h
--- pstoedit-3.45-old/src/cppcomp.h     2007-07-22 13:27:40.000000000 +0200
+++ pstoedit-3.45/src/cppcomp.h 2007-12-15 18:11:22.000000000 +0100
@@ -223,6 +223,8 @@
 #else
 
 #include I_iostream
+#include I_string_h    // for strlen
+#include I_stdlib      // for exit
 USESTD
 
 // approach for emulation:

Kind regards,
Ray
-- 
Pinky, Are You Pondering What I'm Pondering?
I think so Brain, but if we give peas a chance, won't the lima beans feel
left out? 
        Pinky and the Brain in "All You Need Is Narf"



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

Reply via email to