🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52637

Error parsing __

#52637
From: Wong Siu To
Date: Thu, 18 Jun 1992 07:48
28 lines
1240 bytes
Hi all,

I'm sorry if this's a FAQ but an answer to this question is important to
me. :(

I've a program with contructs like these:

void ErrorReturn __P((NADD *, FILE *, char *[]));
char * CodeString __P((int));
FILE * OpenTemp __P((const char *));

They give me compilation errors: 

prog.c:226: parse error before `__P'

I'm using gcc 2.1 on DECstation 5000/200 running Ultrix 4.2a.  
 
Any help will be appreciated.

Thanks in advance.



-- 
----------------------------------------------------------------------------
ST Wong				       BITNET: A866700@CUCSC.BITNET
Computer Services Centre               Internet: a866700@hp9000.csc.cuhk.hk
The Chinese Univsersity of Hong Kong             st@csc.mgate1.cuhk.hk 
Technical Details
Message-ID: <1992Jun18.074848.7532@hp9000.csc.cuhk.hk>
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!hp9000.csc.cuhk.hk!a866700

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,def916cd890e8793,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-06-17 23:02:36 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!hp9000.csc.cuhk.hk!a866700
From: a866700@hp9000.csc.cuhk.hk (Wong Siu To)
Subject: Error parsing __
Message-ID: <1992Jun18.074848.7532@hp9000.csc.cuhk.hk>
Organization: The Chinese University of Hong Kong
Date: Thu, 18 Jun 1992 07:48:48 GMT
Lines: 28