First of all I'm a relatively inexperienced C++ programmer so this may seem a simple question to answer.
I'm trying to use zlib from www.zlib.net to decompress some data. However I run into an error when I try to compile the program :
E2015 Ambiguity between 'Byte' and 'System::Byte'
And the offending code (within zconf.h) is :
Expand|Select|Wrap|Line Numbers
- #ifdef SMALL_MEDIUM
- /* Borland C/C++ and some old MSC versions ignore FAR inside typedef */
- # define Bytef Byte
- #else
- typedef Byte Bytef;
- #endif
Can anyone tell me what I must do to get the zlib C code to work in Borland's C++ builder 6 ?
Many thanks
Zed