gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcl-devel] Re: build errors with gcc 3.1


From: David Shochat
Subject: [Gcl-devel] Re: build errors with gcc 3.1
Date: Sun, 28 Jul 2002 08:17:04 -0400
User-agent: Pan/0.12.91 (If you were in the moccasins of Peter Pigeonhole)

On Fri, 26 Jul 2002 16:32:11 -0400, David Shochat wrote:

> In file included from ../h/include.h:72,
>                  from sfasl.c:40:
> ../h/att_ext.h:208: conflicting types for `GBC_enable'
> ../h/notcomp.h:9: previous declaration of `GBC_enable'
> ../h/att_ext.h:284: conflicting types for `initflag'
> ../h/notcomp.h:15: previous declaration of `initflag'
> In file included from sfaslelf.c:273,
>                  from sfasl.c:45:
> sfaslelf.c: In function `fasload':
> sfaslelf.c:136: warning: passing arg 0 of `round_up' makes 
>  integer from pointer without a cast

Fixing the above 3 errors with fairly obvious changes to sfaslelf.c
and notcomp.h makes for a successful build (using gcc 3.1). I don't know
the code that well, but it seems to me that these changes would not harm
other build modes (removing 2 redundant declarations and adding
explicit casts to the ROUND_UP call). I'll make a patch if desired.
-- David






reply via email to

[Prev in Thread] Current Thread [Next in Thread]