delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/30/09:30:34

From: "Olaf van der Spek" <Olaf AT XCC DOT TMFWeb DOT NL>
Newsgroups: comp.os.msdos.djgpp
Subject: Using zlib
Date: Tue, 30 May 2000 15:18:00 +0200
Organization: EuroNet Internet
Lines: 17
Sender: spek AT d21006 DOT dtk DOT chello DOT nl
Message-ID: <8h0f4e$opc$1@beast.euro.net>
NNTP-Posting-Host: d21006.dtk.chello.nl
X-Trace: beast.euro.net 959692750 25388 213.46.21.6 (30 May 2000 13:19:10 GMT)
X-Complaints-To: abuse AT euronet DOT nl
NNTP-Posting-Date: 30 May 2000 13:19:10 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,

I got a problem using zlib. I compiled it to a .a file fine.
When I try to compile a file that includes zlib.h, I get this error:
Syntax error before '(' in for exampe this line:
ZEXTERN const char * ZEXPORT zlibVersion OF((void));

What did I do wrong?

--

Olaf van der Spek
Almere, Holland
Olaf AT XCC DOT TMFWeb DOT NL
http://xcc.tiberian.com/


- Raw text -


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