This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: (int *const) function parameter


On Fri, 14 Aug 2009, Marc Mason wrote:

> Hello,
> 
> The following code is rejected by one compiler, while it is accepted by gcc
> without any warning. Several people in comp.lang.c seem to think that it is a
> bug in the first compiler which should ***not*** reject the program.
> 
> Message-ID: <h63e5s$ecu$1@aioe.org>
> http://groups.google.com/group/comp.lang.c/browse_frm/thread/2858a1c9ccdcd741
> 
> I'd like to ask what you think.

Bugs in other compilers are offtopic for this list.  The relevant wording 
from 6.7.5.3#15 has already been quoted in that discussion.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]