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

  • From: Christian Egli <christian.egli@xxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Tue, 25 Feb 2014 09:45:46 +0100

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

Other related posts: