wmperry(a)aventail.com (William M. Perry) wrote:
Andy Piper <andyp(a)parallax.co.uk> writes:
> At 05:16 PM 6/3/98 -0700, Kevin Oberman wrote:
> >frame.c has always failed with an internal compiler error but the
> >glyphs-x module looks to have a real error:
> >cc -c -O2 -Demacs -I. -DHAVE_CONFIG_H -I/usr/local/include -D_BSD
> -I/usr/dt/include glyphs-x.c
> >cc: Error: glyphs-x.c, line 850: In this declaration, the type of
> "read_bitmap_data_from_file" is not compatible with the type of a previous
> declaration of "read_bitmap_data_from_file" at line number 406 in file
> glyphs.h.
> >int read_bitmap_data_from_file (CONST char *filename, unsigned int *width,
> >----^
>
> I can't see what the compiler is complaining about.
Could the definition of CONST somehow be different between the .h and .c
files? Some .h file included after glyphs.h doing the definition, or
redoing it, etc?
curiously, gcc didn't complain about that - i'd done a
make CC=gcc
for that particular file.
--
Andrew J Cosgriff <ajc(a)bing.wattle.id.au> exterminate all rational thought !
photocopy timezone computer luminous news