delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/12/14:30:14

From: "Jason Filby" <jasonf AT global DOT co DOT za>
Newsgroups: comp.os.msdos.djgpp
Subject: Wierd problem
Date: Tue, 12 Jan 1999 21:27:12 +0200
Organization: USKO Enterprise Networks
Lines: 18
Message-ID: <77gb55$ip4$1@news.global.co.za>
NNTP-Posting-Host: asy02.anx1.blma.gia.net.za
X-Trace: news.global.co.za 916172773 19236 196.3.169.34 (12 Jan 1999 20:26:13 GMT)
X-Complaints-To: abuse AT global DOT co DOT za
NNTP-Posting-Date: 12 Jan 1999 20:26:13 GMT
X-Newsreader: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi all,

When compiling this litte bit of code, I got this error:

typedef
void               <------ parse error before `PVOID'
(*PTEST) (
  ULONG a;
)

The wierd thing is that if I replace the void (the line that has the error)
with something else, like int, it works fine! Any ideas?

Thanks

- Jason Filby


- Raw text -


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