Article View: gnu.gcc.bug
Article #1794Re: spurious argument mismatch message?
From: Roland McGrath
Date: Fri, 14 Oct 1988 03:15
Date: Fri, 14 Oct 1988 03:15
11 lines
856 bytes
856 bytes
When a function is defined with traditional syntax:
void func(x)
short int x; { ... }
The `short int' gets widened to an `int'.
A prototype declaration containing a `short int' argument says that the
argument should not be widened.
--
Roland McGrath
roland@wheaties.ai.mit.edu, mit-eddie!wheaties.ai.mit.edu!roland
Technical Details
Message-ID:
<MCGRATH.88Oct13201508@tully.Berkeley.EDU>Path:
arc1-ca.pugleaf.net!utzoo!telly!ddsw1!mcdchg!rutgers!labrea!decwrl!ucbvax!mcgrathReferences:
<8810102002.AA19547@troy.frame.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!mcdchg!rutgers!labrea!decwrl!ucbvax!mcgrath From: mcgrath@tully.Berkeley.EDU (Roland McGrath) Newsgroups: gnu.gcc.bug Subject: Re: spurious argument mismatch message? Message-ID: <MCGRATH.88Oct13201508@tully.Berkeley.EDU> Date: 14 Oct 88 03:15:08 GMT References: <8810102002.AA19547@troy.frame.com> Sender: usenet@ucbvax.BERKELEY.EDU Distribution: gnu Organization: /lang/guest/mcgrath/News/.organization Lines: 11 In-reply-to: frame!troy!drf@SUN.COM's message of 10 Oct 88 20:02:09 GMT