[liblouis-liblouisxml] Re: Accidental bugs by not using braces

  • From: "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Tue, 25 Feb 2014 05:06:20 -0600

I have been compiling liblouis with -Wall locally. There are no warnings. 
there are lots of warnings with liblouisutdml, most of them about signedness of 
pointers.

John

On Tue, Feb 25, 2014 at 09:45:46AM +0100, Christian Egli wrote:
> Christian Egli <christian.egli@xxxxxx> writes:
> 
> > Unfortunately -Wunreachable-code has been removed from gcc as it was
> > apparently not stable (see
> > http://gcc.gnu.org/ml/gcc-help/2011-05/msg00360.html)
> 
> Actually reading the info pages for gcc it appears that -Wparentheses
> can at least help partially. This is included in -Wall. How -Wall can be
> used to compile liblouis is described in HACKING
> (http://liblouis.googlecode.com/svn/trunk/HACKING)
> 
> Thanks
> Christian
> 
> -- 
> Christian Egli
> Swiss Library for the Blind, Visually Impaired and Print Disabled
> Grubenstrasse 12, CH-8045 Zürich, Switzerland
> 
> 
> -----
> SBS Leser, die neue Hoerbuch-App fuer iPhone und iPad. Mehr Infos unter 
> http://online.sbs.ch
> For a description of the software, to download it and links to
> project pages go to http://www.abilitiessoft.com

-- 
John J. Boyer; President, Chief Software Developer
Abilitiessoft, Inc.
http://www.abilitiessoft.com
Madison, Wisconsin USA
Developing software for people with disabilities

For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

Other related posts: