patch applied (packages/base): Unbreak the GHC build with older versions of gcc

Simon Marlow marlowsd at gmail.com
Tue Sep 9 11:52:59 EDT 2008


Ian Lynagh wrote:
> Thu Sep  4 11:51:22 PDT 2008  Ian Lynagh <igloo at earth.li>
>   * Unbreak the GHC build with older versions of gcc
>   Patch from kili at outback.escape.de, who says:
>     Stg.h must be included before HsBase.h, because the latter contains
>     function definitions causing older versions of gcc (3.3.5 in my
>     case) to bail out with "error: global register variable follows a
>     function definition" on Regs.h, which is included by Stg.h.

This is highly suspicious, we shouldn't be including Stg.h here.  I'll look 
into it.

Cheers,
	Simon


More information about the Cvs-libraries mailing list