From mint-bounce@lists.fishpool.fi Tue Jun 15 06:57:31 2010 To: From: Peter Slegg Subject: Re: [MiNT] libjpeg Reply-To: Peter Slegg X-Mailer: MyMAIL Rev:1.94.13761 (Atari/(STiK/STinG/GlueSTiK)) X-Hardware: Atari Milan MIME-Version: 1.0 Date: Tue, 15 Jun 2010 11:53:49 +0200 (GMT) Content-Type: text/plain; charset="iso-8859-1" X-Priority: 3 X-MSMail-Priority: Normal Message-Id: <000d6add.01b8d262a74d@smtp.freeola.net> References: In-Reply-To: AANLkTinB6Azmo6COTIlLiU6SeYJciYNAnrPaLLv2TBtH@mail.gmail.com X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: p.slegg@scubadivers.co.uk Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.sparemint.org id o5FAvF3X003183 On Tue, 15 Jun 2010 12:43:35 , Miro Kropacek 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