www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/12/01:53:33

Date: Wed, 12 Feb 1997 08:44:58 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Shawn Hargreaves <Shawn AT talula DOT demon DOT co DOT uk>
cc: djgpp AT delorie DOT com
Subject: Re: Allegro 2.2 make problem ;-)
In-Reply-To: <nStqzAAA7MAzEwQF@talula.demon.co.uk>
Message-ID: <Pine.SUN.3.91.970212084029.6507F-100000@is>
MIME-Version: 1.0

On Tue, 11 Feb 1997, Shawn Hargreaves wrote:

> >src/asmdef.c : In function main
> >src/asmdef.c 41 : warning : implicit declaration of function offsetof
> >and too long list of : parse before [...]
> 
> Huh? That doesn't make any sense at all! The offsetof() macro is defined
> in stddef.h, which is included by asmdef.c. Check that your asmdef.c has
> this include, and if so, look in the djgpp stddef header (it defines
> offsetof somewhere around line 12). I really can't understand why that
> could have gone wrong: ideas, anyone?

First, the original poster should have posted the entire list of messages 
he got from gcc instead of arbitrarily editing out some of them.  One 
possible reason to get the above is that stddef.h is corrupted; or maybe 
sys/djtypes.h is corrupted or from an old DJGPP version.  But I think 
that looking at the full text of all the error messages will unlock the 
problem much faster, so Dim, please post it.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019