public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* This can't be right...
@ 1997-08-23 14:31 Peter Seebach
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Seebach @ 1997-08-23 14:31 UTC (permalink / raw)
  To: egcs

---
cc -c  -DIN_GCC   -g     -I. -I.. -I. -I./.. -I./../config call.c
call.c: In function strictly_better:
call.c:1090: argument `x' doesn't match function prototype
call.c:1090: a formal parameter type that promotes to `int'
call.c:1090: can match only `int' in the prototype
call.c:1090: argument `y' doesn't match function prototype
call.c:1090: a formal parameter type that promotes to `int'
call.c:1090: can match only `int' in the prototype
*** Error code 1
---

(cc is gcc 1.42)

Well, it's right.  'unsigned short' as an old-style parameter is
really int, and cannot match 'unsigned short' in a prototype earlier
in the file.

-s

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: This can't be right...
@ 1997-08-24  3:43 Jeffrey A Law
  0 siblings, 0 replies; 2+ messages in thread
From: Jeffrey A Law @ 1997-08-24  3:43 UTC (permalink / raw)
  To: egcs

  In message <199708231701.MAA16067@monolith.solon.com>you write:
  > Well, it's right.  'unsigned short' as an old-style parameter is
  > really int, and cannot match 'unsigned short' in a prototype earlier
  > in the file.
Thanks.  I've checked in a fix for this (just make the args
unsigned ints).  It'll be in the next snapshot.

Jeff

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-08-24  3:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-08-23 14:31 This can't be right Peter Seebach
1997-08-24  3:43 Jeffrey A Law

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).