GNU bug report logs - #9203
24.0.50; some Clang experience

Previous Next

Package: emacs;

Reported by: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>

Date: Sat, 30 Jul 2011 11:54:01 UTC

Severity: normal

Found in version 24.0.50

Done: Tom Tromey <tom <at> tromey.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
Cc: 9203 <at> debbugs.gnu.org
Subject: bug#9203: 24.0.50; some Clang experience
Date: Sat, 30 Jul 2011 15:27:06 +0300
> From: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
> Date: Sat, 30 Jul 2011 13:53:30 +0200
> 
> When using
> 
> 	Apple clang version 2.0 (tags/Apple/clang-139) (based on LLVM 2.9svn)
> 	Target: x86_64-apple-darwin10
> 	Thread model: posix
> 
> to compile GNU Emacs on Mac OS X 10.6.8 with intel Core i7 it warns about some statements:
> 
> emacs-24.0.50/lib-src/../src/regex.c:6603:15: warning: 
>       comparison of unsigned enum expression >= 0 is always true [-Wtautological-compare]
>       if (ret >= 0)
>           ~~~ ^  ~

`ret' is of the type `reg_errcode_t', which is an enumerated data
type, so its signedness is implementation-defined, AFAIK.  Why did you
use that particular warning option?




This bug report was last modified 9 years and 210 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.