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

Re: [MiNT] libjpeg



> In file included from /usr/include/jpeglib.h:27,
>                 from p_about.c:31:
> /usr/include/jmorecfg.h:156: warning: empty declaration
> make: *** [obj.040/p_about.o] Error 1
It this is only error message, I suspect -Werror is used (i.e.
interpret warning as errors).

> The offending line is the typedef:
>
> /* INT16 must hold at least the values -32768..32767. */
>
> #ifndef XMD_H            /* X11/xmd.h correctly defines INT16 */
> typedef short INT16;
> #endif
>
>
> I suspect this might not be needed but suggestions welcomed.
Well, you shouldn't change official headers (in /usr/include). So
either inspect why you get this warning in source code (gcc4, i.e.
strict compiler for example) or remove -Werror flag from Highwire as
temporary solution.


-- 
MiKRO / Mystic Bytes
http://mikro.atari.org