Zlib external symbols

Giganews Newsgroups
Subject: Zlib external symbols
Posted by:  Clayton Arends (nospam_claytonarends@hotmail.com)
Date: Fri, 8 Oct 2010

I downloaded an Indy snapshot yesterday and it built fine.  When I tried to
compile a C++Builder package that extends Indy intercepts it wasn't able to
compile.  Some recent changes to ZLibHeaders are the culprit and I do not
know what the official expectation is for using this unit.

Many types have been wrapped in {$EXTERNALSYM}.  These types exist in
"zlib.h" but there is no {$HPPEMIT} line for C++ code to include zlib.h.
The path that contains zlib.h -- $(INDY)\Protocols\Zlib -- is not already in
the standard include path for my projects.

For now, commenting out the new {$EXTERNALSYM} lines gets me back up and
running but I would like to know the eventual goal in this unit.  Is this
change something that the Indy team really wants to do?  Are we expected to
#include the zlib .h files ourselves?  Are further modifications coming to
this unit to allow successful compilation in C++Builder?

Clayton

Replies