delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2007/02/23/03:32:08

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
NNTP-Posting-Date: Fri, 23 Feb 2007 02:20:33 -0600
Message-ID: <45DE9F3A.A0C793CA@yahoo.com>
Date: Fri, 23 Feb 2007 03:00:58 -0500
From: CBFalconer <cbfalconer AT yahoo DOT com>
Organization: Ched Research http://cbfalconer.home.att.net
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: cdecl error
References: <erlisi$s0n$1 AT aioe DOT org>
Lines: 18
NNTP-Posting-Host: 216.195.145.197
X-Trace: sv3-zpmPPOXvMzrCWpW9N/w2Yag9JqcnjpyYkYpBsnfARMrssu+7LYFHlzxMHDdSSsnmwTAnvmjZyYnkRks!lAp4kf4nNhO3ZQBrAQj5Q7eQnVpkMqlYgM3YBD94AYnzYgGSHo1/ggfRPsx4s3g=
X-Complaints-To: abuse AT gwi DOT net
X-DMCA-Complaints-To: abuse AT gwi DOT net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.32
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Grizlyk wrote:
> 
> What is it, why "cdelc" reserve the word "ptr"?
> 
> cdecl> explain int (*ptr)[40];
> parse error
> cdecl> explain int (*pt)[40];
> declare pt as pointer to array 40 of int

IIRC it uses it as an abbreviation for 'pointer', and never bothers
to tell anyone.  A poor decision by someone sometime.

-- 
Chuck F (cbfalconer at maineline dot net)
   Available for consulting/temporary embedded and systems.
   <http://cbfalconer.home.att.net>


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019