4 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Debian Bug #45609...
FromSent OnAttachments
Stefan Hornburg (Racke)Dec 13, 2007 2:11 pm 
Sam VarshavchikDec 13, 2007 4:49 pm 
Stefan Hornburg (Racke)Dec 17, 2007 3:25 am.patch
Sam VarshavchikDec 17, 2007 4:05 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Debian Bug #456096: Build failure with GCC snapshot (upcoming 4.3)Actions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Dec 13, 2007 4:49:32 pm
List:net.sourceforge.lists.courier-users

Stefan Hornburg (Racke) writes:

The following problem was reported to the Debian BTS
(http://bugs.debian.org/456096):

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). 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. Note that Red Hat, Novell and Ubuntu have done some work getting packages to build with GCC 4.3 so there might be patches floating around somewhere. I suggest you talk to your upstream.

This specific compiler error should merely need a #include <string.h> in the file. This specific case is trivial, but I probably won't be using 4.3 for a little while, and have no way of knowing if something else needs to be fixed, so the original submitter should report anything else that falls out.