Article View: comp.os.linux.x
Article #233Re: parse error when compile?
From: Seg Fault
Date: Mon, 28 Sep 1998 00:00
Date: Mon, 28 Sep 1998 00:00
16 lines
1359 bytes
1359 bytes
> When I was trying to compile the following code, I always got the > parsing error at line 32 before * . > > I cannot find the error. Please tell me what's the normal cause of > the parsing error? > XRecordRange *rcRange[]; /* <=== parse error here before * . */ When I see this kind of error in C++ the cause is usually that the compiler does not know about the class. In this case, I would ensure that type XRecordRange is declared and/or is not some macro. HTH, Anthony
Technical Details
Message-ID:
<3610397D.7E9E9771@ulster.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<36102de8.0@ruby.hknet.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,8fe7b01c96b459ae,start X-Google-Attributes: gid11318c,public X-Google-Thread: f4bda,8fe7b01c96b459ae,start X-Google-Attributes: gidf4bda,public X-Google-Thread: 11038b,8fe7b01c96b459ae,start X-Google-Attributes: gid11038b,public From: Seg Fault <pioli@ulster.net> Subject: Re: parse error when compile? Date: 1998/09/28 Message-ID: <3610397D.7E9E9771@ulster.net> X-Deja-AN: 395828821 Content-Transfer-Encoding: 7bit References: <36102de8.0@ruby.hknet.com> Content-Type: text/plain; charset=us-ascii X-Complaints-To: newsabuse@supernews.com X-Trace: 907033103 TEBWCEYUUC005D085C usenet87.supernews.com Organization: http://www.supernews.com, The World's Usenet: Discussions Start Here Mime-Version: 1.0 Newsgroups: comp.os.linux.x,comp.windows.x.intrinsics,gnu.gcc.help