public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c/6614: incorrect conversion warning for function taking a short
@ 2002-05-09 14:46 josh.dybnis
0 siblings, 0 replies; only message in thread
From: josh.dybnis @ 2002-05-09 14:46 UTC (permalink / raw)
To: gcc-gnats
>Number: 6614
>Category: c
>Synopsis: incorrect conversion warning for function taking a short
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu May 09 14:46:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Josh Dybnis
>Release: 2.95.3-6 mingw build
>Organization:
>Environment:
Windows XP/mingw
>Description:
incorrectly warns:
warning: passing arg 1 of `func' with different width due to prototype
when compiling:
void func (short);
void short_test (void)
{ short x = 0;
func(x);
}
with command line:
gcc -Wconversion -c test.c
>How-To-Repeat:
gcc -Wconversion -c test.c
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-05-09 21:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-09 14:46 c/6614: incorrect conversion warning for function taking a short josh.dybnis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).