From: Shawn Hargreaves Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro 2.2 make problem ;-) Date: Tue, 11 Feb 1997 19:55:44 +0000 Organization: None Distribution: world Message-ID: References: <3300B94F DOT 5703 AT post DOT comstar DOT ru> NNTP-Posting-Host: talula.demon.co.uk MIME-Version: 1.0 Lines: 21 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Dim Zegebart writes: >It's sad to say but it's true - 'I have problem making >brilliant Allegro 2.2 beta' Argh. One day I'll manage to make a version that compiles flawlessly for everyone, but I guess I haven't got there yet :-) >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? /* * Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/ * Ghoti: 'gh' as in 'enough', 'o' as in 'women', and 'ti' as in 'nation'. */