[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] libjpeg
On Tue, 15 Jun 2010 12:43:35 , Miro Kropacek <miro.kropacek@gmail.com> wrote:
> > 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.
>
As a temporary solution I added -DXMD_H to the gcc def options
in the HW makefile.
It now compiles and shows the version of libjpeg. :-)
I also removed the -g from the buid of libjpeg so that it builds without
debug and that makes HW smaller than it was last night.
Thanks,
Peter