Package: gcc-3.2
Version: 1:3.2.3-0pre9
Severity: wishlist
the following code (compiled with -Wall -pedantic) could be
considered buggy, because it implicitly converts a
signed int to unsigned int when calling a. if you run it,
it will print the number 2^32-1 instead of -1.
#include stdio.h
int
On Fri, Apr 25, 2003 at 05:41:20PM +0200, Robert Millan wrote:
Package: gcc-3.2
Version: 1:3.2.3-0pre9
Severity: wishlist
the following code (compiled with -Wall -pedantic) could be
considered buggy, because it implicitly converts a
signed int to unsigned int when calling a. if you run it,
On Fri, Apr 25, 2003 at 02:18:18PM -0400, Daniel Jacobowitz wrote:
Is this roughly what you want:
[EMAIL PROTECTED]:~% gcc-3.2 -Wall -Wconversion -c c.c
c.c: In function `main':
c.c:8: warning: passing arg 1 of `a' as unsigned due to prototype
c.c:8: warning: negative integer implicitly
On Fri, Apr 25, 2003 at 08:40:11PM +0200, Robert Millan wrote:
On Fri, Apr 25, 2003 at 02:18:18PM -0400, Daniel Jacobowitz wrote:
Is this roughly what you want:
[EMAIL PROTECTED]:~% gcc-3.2 -Wall -Wconversion -c c.c
c.c: In function `main':
c.c:8: warning: passing arg 1 of `a' as
On Fri, Apr 25, 2003 at 20:40:11 +0200, Robert Millan wrote:
that disconcerts me, I thought -Wall would include all warnings.
No, it never has and never will. -Wall is probably best described as all
warnings the gcc developers consider useful under allmost all
circumstances.
Ray
--
People
5 matches
Mail list logo