Hey Andi,

I get error's compiling with VC or XCC:

C:\xHarbour\source\rtl\zlib\gzio.c(510): error: Syntax error; found 'file'
expecting ')'.

C:\xHarbour\source\rtl\zlib\gzio.c(510): error: Syntax error; found 'file'
expecting ')'.

C:\xHarbour\source\rtl\zlib\gzio.c(510): error: Redeclaration of 'gzFile'
previously declared at C:\xHarbour\source\rtl\zlib\zlib.h(1207): found
'int' expected 'struct gzFile_s *'.

C:\xHarbour\source\rtl\zlib\gzio.c(510): error: Syntax error; found 'file'
expecting ';'.

C:\xHarbour\source\rtl\zlib\gzio.c(510): warning: Missing type specifier.

C:\xHarbour\source\rtl\zlib\gzio.c(510): error: Syntax error; found ')'
expecting ';'.

C:\xHarbour\source\rtl\zlib\gzio.c(510): warning: Missing type specifier.

C:\xHarbour\source\rtl\zlib\gzio.c(510): error: Syntax error; found '?'
expecting ';'.

C:\xHarbour\source\rtl\zlib\gzio.c(510): warning: Missing type specifier.

C:\xHarbour\source\rtl\zlib\gzio.c(510): error: Syntax error; found 'file'
expecting ')'.

C:\xHarbour\source\rtl\zlib\gzio.c(510): error: Syntax error; found 'file'
expecting ')'.

C:\xHarbour\source\rtl\zlib\gzio.c(510): error: Redeclaration of 'gzFile'
previously declared at C:\xHarbour\source\rtl\zlib\gzio.c(510): found 'int'
expected 'int'.

C:\xHarbour\source\rtl\zlib\gzio.c(510): error: Syntax error; found 'file'
expecting ';'.

C:\xHarbour\source\rtl\zlib\gzio.c(510): warning: Missing type specifier.

C:\xHarbour\source\rtl\zlib\gzio.c(510): error: Syntax error; found ')'
expecting ';'.

C:\xHarbour\source\rtl\zlib\gzio.c(510): warning: Missing type specifier.

C:\xHarbour\source\rtl\zlib\gzio.c(510): error: Syntax error; found '--'
expecting ';'.

C:\xHarbour\source\rtl\zlib\gzio.c(510): error: Unrecognized declaration.

C:\xHarbour\source\rtl\zlib\gzio.c(510): error: Unrecognized declaration.

C:\xHarbour\source\rtl\zlib\gzio.c(510): warning: Missing type specifier.

C:\xHarbour\source\rtl\zlib\gzio.c(510): error: Syntax error; found 'file'
expecting ')'.

C:\xHarbour\source\rtl\zlib\gzio.c(510): error: Redeclaration of 'gzFile'
previously declared at C:\xHarbour\source\rtl\zlib\gzio.c(510): found 'int'
expected 'int'.

C:\xHarbour\source\rtl\zlib\gzio.c(510): error: Syntax error; found 'file'
expecting ';'.

C:\xHarbour\source\rtl\zlib\gzio.c(510): warning: Missing type specifier.

C:\xHarbour\source\rtl\zlib\gzio.c(510): error: Syntax error; found ')'
expecting ';'.

C:\xHarbour\source\rtl\zlib\gzio.c(510): warning: Missing type specifier.

C:\xHarbour\source\rtl\zlib\gzio.c(510): error: Syntax error; found "++"
expecting ';'.

C:\xHarbour\source\rtl\zlib\gzio.c(510): error: Unrecognized declaration.

C:\xHarbour\source\rtl\zlib\gzio.c(510): error: Unrecognized declaration.

C:\xHarbour\source\rtl\zlib\gzio.c(510): warning: Missing type specifier.

C:\xHarbour\source\rtl\zlib\gzio.c(510): error: Syntax error; found 'file'
expecting ')'.

C:\xHarbour\source\rtl\zlib\gzio.c(510): error: Syntax error; found 'file'
expecting ')'.

C:\xHarbour\source\rtl\zlib\gzio.c(510): error: Redeclaration of 'gzFile'
previously declared at C:\xHarbour\source\rtl\zlib\gzio.c(510): found 'int
*' expected 'int'.

C:\xHarbour\source\rtl\zlib\gzio.c(510): error: Syntax error; found 'file'
expecting ';'.

C:\xHarbour\source\rtl\zlib\gzio.c(510): warning: Missing type specifier.

C:\xHarbour\source\rtl\zlib\gzio.c(510): error: Syntax error; found ')'
expecting ';'.

C:\xHarbour\source\rtl\zlib\gzio.c(510): warning: Missing type specifier.

C:\xHarbour\source\rtl\zlib\gzio.c(510): error: Syntax error; found ')'
expecting ';'.

C:\xHarbour\source\rtl\zlib\gzio.c(510): error: Unrecognized declaration.

C:\xHarbour\source\rtl\zlib\gzio.c(510): error: Unrecognized declaration.

C:\xHarbour\source\rtl\zlib\gzio.c(510): error: Unrecognized declaration.

C:\xHarbour\source\rtl\zlib\gzio.c(510): warning: Missing type specifier.

C:\xHarbour\source\rtl\zlib\gzio.c(510): error: Redeclaration of 'gzgetc_'
previously declared at C:\xHarbour\source\rtl\zlib\zlib.h(1656): found 'int
__cdecl function(int *)' expected 'int __cdecl function(struct gzFile_s *)'.

C:\xHarbour\source\rtl\zlib\gzio.c(510): error: Syntax error; found ')'
expecting ';'.

C:\xHarbour\source\rtl\zlib\gzio.c(515): error: Unrecognized declaration.

C:\xHarbour\source\rtl\zlib\gzio.c(515): warning: Missing type specifier.

C:\xHarbour\source\rtl\zlib\gzio.c(515): error: Expecting an identifier.

C:\xHarbour\source\rtl\zlib\gzio.c(515): error: Syntax error; found '&'
expecting ')'.

C:\xHarbour\source\rtl\zlib\gzio.c(515): error: Extraneous old-style
parameter list.

C:\xHarbour\source\rtl\zlib\gzio.c(515): error: Syntax error; found '=='
expecting ';'.

C:\xHarbour\source\rtl\zlib\gzio.c(515): error: Unrecognized declaration.

C:\xHarbour\source\rtl\zlib\gzio.c(515): error: Unrecognized declaration.

C:\xHarbour\source\rtl\zlib\gzio.c(515): warning: Missing type specifier.

C:\xHarbour\source\rtl\zlib\gzio.c(515): error: Redeclaration of 'c'
previously declared at C:\xHarbour\source\rtl\zlib\gzio.c(513): found 'int'
expected 'unsigned char'.

C:\xHarbour\source\rtl\zlib\gzio.c(515): error: Syntax error; found ':'
expecting ';'.

C:\xHarbour\source\rtl\zlib\gzio.c(515): error: Unrecognized declaration.

C:\xHarbour\source\rtl\zlib\gzio.c(515): error: Unrecognized declaration.

C:\xHarbour\source\rtl\zlib\gzio.c(516): error: Unrecognized declaration.

C:\xHarbour\source\rtl\zlib\gzio.c(525): error: Redeclaration of 'gzungetc'
previously declared at C:\xHarbour\source\rtl\zlib\zlib.h(1380): found 'int
__cdecl function(int, int *)' expected 'int __cdecl function(int, struct
gzFile_s *)'.

C:\xHarbour\source\rtl\zlib\gzio.c(551): error: Redeclaration of 'gzgets'
previously declared at C:\xHarbour\source\rtl\zlib\zlib.h(1352): found
'char * __cdecl function(int *, char *, int)' expected 'char * __cdecl
function(struct gzFile_s *, char *, int)'.

C:\xHarbour\source\rtl\zlib\gzio.c(555): error: Type error in argument 1 to
'gzread'; found 'int *' expected 'struct gzFile_s *'.

C:\xHarbour\source\rtl\zlib\gzio.c(570): error: Redeclaration of 'gzwrite'
previously declared at C:\xHarbour\source\rtl\zlib\zlib.h(1321): found 'int
__cdecl function(int *, const void *, unsigned int)' expected 'int __cdecl
function(struct gzFile_s *, const void *, unsigned int)'.

C:\xHarbour\source\rtl\zlib\gzio.c(611): error: Redeclaration of 'gzprintf'
previously declared at C:\xHarbour\source\rtl\zlib\zlib.h(1329): found 'int
__cdecl function(int *, const char *, ...)' expected 'int __cdecl
function(struct gzFile_s *, const char *, ...)'.

C:\xHarbour\source\rtl\zlib\gzio.c(687): error: Redeclaration of 'gzputc'
previously declared at C:\xHarbour\source\rtl\zlib\zlib.h(1365): found 'int
__cdecl function(int *, int)' expected 'int __cdecl function(struct
gzFile_s *, int)'.

C:\xHarbour\source\rtl\zlib\gzio.c(702): error: Redeclaration of 'gzputs'
previously declared at C:\xHarbour\source\rtl\zlib\zlib.h(1344): found 'int
__cdecl function(int *, const char *)' expected 'int __cdecl
function(struct gzFile_s *, const char *)'.

C:\xHarbour\source\rtl\zlib\gzio.c(714): error: Redeclaration of 'do_flush'
previously declared at C:\xHarbour\source\rtl\zlib\gzio.c(84): found 'int
__cdecl function(int *, int)' expected 'int __cdecl function(struct
gzFile_s *, int)'.

C:\xHarbour\source\rtl\zlib\gzio.c(755): error: Redeclaration of 'gzflush'
previously declared at C:\xHarbour\source\rtl\zlib\zlib.h(1392): found 'int
__cdecl function(int *, int)' expected 'int __cdecl function(struct
gzFile_s *, int)'.

C:\xHarbour\source\rtl\zlib\gzio.c(777): error: Redeclaration of 'gzseek'
previously declared at C:\xHarbour\source\rtl\zlib\zlib.h(1701): found
'long int __cdecl function(int *, long int, int)' expected 'long int
__cdecl function(struct gzFile_s *, long int, int)'.

C:\xHarbour\source\rtl\zlib\gzio.c(834): error: Type error in argument 1 to
'gzrewind'; found 'int *' expected 'struct gzFile_s *'.

C:\xHarbour\source\rtl\zlib\gzio.c(853): error: Type error in argument 1 to
'gzread'; found 'int *' expected 'struct gzFile_s *'.

C:\xHarbour\source\rtl\zlib\gzio.c(865): error: Redeclaration of 'gzrewind'
previously declared at C:\xHarbour\source\rtl\zlib\zlib.h(1427): found 'int
__cdecl function(int *)' expected 'int __cdecl function(struct gzFile_s *)'.

C:\xHarbour\source\rtl\zlib\gzio.c(889): error: Redeclaration of 'gztell'
previously declared at C:\xHarbour\source\rtl\zlib\zlib.h(1702): found
'long int __cdecl function(int *)' expected 'long int __cdecl
function(struct gzFile_s *)'.

C:\xHarbour\source\rtl\zlib\gzio.c(899): error: Redeclaration of 'gzeof'
previously declared at C:\xHarbour\source\rtl\zlib\zlib.h(1455): found 'int
__cdecl function(int *)' expected 'int __cdecl function(struct gzFile_s *)'.

C:\xHarbour\source\rtl\zlib\gzio.c(916): error: Redeclaration of 'gzdirect'
previously declared at C:\xHarbour\source\rtl\zlib\zlib.h(1470): found 'int
__cdecl function(int *)' expected 'int __cdecl function(struct gzFile_s *)'.

C:\xHarbour\source\rtl\zlib\gzio.c(961): error: Redeclaration of 'gzclose'
previously declared at C:\xHarbour\source\rtl\zlib\zlib.h(1491): found 'int
__cdecl function(int *)' expected 'int __cdecl function(struct gzFile_s *)'.

C:\xHarbour\source\rtl\zlib\gzio.c(996): error: Redeclaration of 'gzerror'
previously declared at C:\xHarbour\source\rtl\zlib\zlib.h(1516): found
'const char * __cdecl function(int *, int *)' expected 'const char *
__cdecl function(struct gzFile_s *, int *)'.

C:\xHarbour\source\rtl\zlib\gzio.c(1025): error: Redeclaration of
'gzclearerr' previously declared at
C:\xHarbour\source\rtl\zlib\zlib.h(1532): found 'void __cdecl function(int
*)' expected 'void __cdecl function(struct gzFile_s *)'.

Can you fix please?
Thanks!

Patrick

On Tue, Jan 31, 2012 at 4:12 AM, Andi Jahja <andi.ja...@yahoo.co.id> wrote:

> 2012-01-31 10:00 UTC+0700 Andi Jahja <xharbour/AT/telkom/net/id>
>  * source/rtl/zlib/adler32.c
>  * source/rtl/zlib/compress.c
>  * source/rtl/zlib/crc32.c
>  * source/rtl/zlib/crc32.h
>  * source/rtl/zlib/deflate.c
>  * source/rtl/zlib/deflate.h
>  * source/rtl/zlib/infback.c
>  * source/rtl/zlib/inffast.c
>  * source/rtl/zlib/inffast.h
>  * source/rtl/zlib/inffixed.h
>  * source/rtl/zlib/inflate.c
>  * source/rtl/zlib/inflate.h
>  * source/rtl/zlib/inftrees.c
>  * source/rtl/zlib/inftrees.h
>  * source/rtl/zlib/trees.c
>  * source/rtl/zlib/trees.h
>  * source/rtl/zlib/uncompr.c
>  * source/rtl/zlib/zconf.h
>  * source/rtl/zlib/zconf.in.h
>  * source/rtl/zlib/zlib.h
>  * source/rtl/zlib/zutil.c
>  * source/rtl/zlib/zutil.h
>  - source/rtl/zlib/gzio.c
>  + source/rtl/zlib/gzlib.c
>  + source/rtl/zlib/gzwrite.c
>  + source/rtl/zlib/gzguts.h
>  * winmake/common.mak
>  * winmake/compile.mak
>    ! updated to zlib v. 1.26
>
>  * contrib/png/png.c
>  * contrib/png/png.h
>  * contrib/png/pngconf.h
>  * contrib/png/pngdebug.h
>  * contrib/png/pngerror.c
>  * contrib/png/pngget.c
>  * contrib/png/pnginfo.h
>  * contrib/png/pnglibconf.h
>  * contrib/png/pngmem.c
>  * contrib/png/pngpread.c
>  * contrib/png/pngpriv.h
>  * contrib/png/pngread.c
>  * contrib/png/pngrio.c
>  * contrib/png/pngrtran.c
>  * contrib/png/pngrutil.c
>  * contrib/png/pngset.c
>  * contrib/png/pngstruct.h
>  * contrib/png/pngtrans.c
>  * contrib/png/pngwio.c
>  * contrib/png/pngwrite.c
>  * contrib/png/pngwtran.c
>  * contrib/png/pngwutil.c
>    ! updated to png v. 1.57
>
>  * source/rtl/pcre/config.h
>  * source/rtl/pcre/config.h.generic
>  * source/rtl/pcre/pcre.h
>  * source/rtl/pcre/pcre.h.generic
>  * source/rtl/pcre/pcreposix.c
>  * source/rtl/pcre/pcreposix.h
>  * source/rtl/pcre/pcre_chartables.c
>  * source/rtl/pcre/pcre_chartables.c.dist
>  * source/rtl/pcre/pcre_compile.c
>  * source/rtl/pcre/pcre_config.c
>  * source/rtl/pcre/pcre_dfa_exec.c
>  * source/rtl/pcre/pcre_exec.c
>  * source/rtl/pcre/pcre_fullinfo.c
>  * source/rtl/pcre/pcre_get.c
>  * source/rtl/pcre/pcre_globals.c
>  * source/rtl/pcre/pcre_info.c
>  * source/rtl/pcre/pcre_internal.h
>  * source/rtl/pcre/pcre_maketables.c
>  * source/rtl/pcre/pcre_newline.c
>  * source/rtl/pcre/pcre_ord2utf8.c
>  * source/rtl/pcre/pcre_printint.src
>  * source/rtl/pcre/pcre_refcount.c
>  * source/rtl/pcre/pcre_scanner.h
>  * source/rtl/pcre/pcre_study.c
>  * source/rtl/pcre/pcre_tables.c
>  * source/rtl/pcre/pcre_try_flipped.c
>  * source/rtl/pcre/pcre_ucd.c
>  * source/rtl/pcre/pcre_valid_utf8.c
>  * source/rtl/pcre/pcre_version.c
>  * source/rtl/pcre/pcre_xclass.c
>  * source/rtl/pcre/ucp.h
>    ! updated to pcre v. 8.21
>
>  * utils/hbdoc/hbdoc.prg
>  * utils/hbpp/hbpp.c
>  * utils/hbmake/hbmake.prg
>  * utils/hbtest/hbtest.prg
>  * utils/hbrun/hbrun.prg
>  * compiler/hbusage.c
>    ! bump copyright years to 2012
> --
>
> Andi
>
>
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> xHarbour-developers mailing list
> xHarbour-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xharbour-developers
>
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to