Mail Archives: djgpp/1997/02/12/01:53:33
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 -