by AHF » Fri Feb 10, 2012 8:32 am
If I try in Pelles C for windows I get:
Building tcbfuncs.obj.
C:\fw21\FWH_8\include\ClipApi.h(60): error #2121: Redeclaration of 'WORD'.
C:\fw21\FWH_8\include\ClipApi.h(65): error #2121: Redeclaration of 'PWORD'.
C:\fw21\FWH_8\include\ClipApi.h(66): error #2121: Redeclaration of 'LPWORD'.
C:\fw21\FWH_8\include\ClipApi.h(71): error #2025: Expected an enumerator identifier.
C:\fw21\FWH_8\include\ClipApi.h(71): error #2001: Syntax error: expected '}' but found 'integer constant'.
C:\fw21\FWH_8\include\ClipApi.h(71): error #2121: Redeclaration of 'BOOL'.
C:\fw21\WINH32\WINH32 xbset08\tcbfuncs.c(127): warning #1063: Single-line comment contains escaped new-line.
C:\fw21\WINH32\WINH32 xbset08\tcbfuncs.c(130): warning #1063: Single-line comment contains escaped new-line.
C:\fw21\FWH_8\include\ClipApi.h(463): error #2120: Redeclaration of 'strlen', previously declared at C:\fw21\xHarbourinc\XHB Set 08\xHB\c_include\string.h(30); expected 'unsigned int __cdecl function(const char *)' but found 'unsigned int __cdecl function(char *)'.
C:\fw21\FWH_8\include\ClipApi.h(464): error #2120: Redeclaration of 'strcpy', previously declared at C:\fw21\xHarbourinc\XHB Set 08\xHB\c_include\string.h(27); expected 'char * __cdecl function(char *, const char *)' but found 'void __cdecl function(unsigned char *, unsigned char *)'.
C:\fw21\FWH_8\include\ClipApi.h(465): error #2120: Redeclaration of 'strcmp', previously declared at C:\fw21\xHarbourinc\XHB Set 08\xHB\c_include\string.h(25); expected 'int __cdecl function(const char *, const char *)' but found 'BOOL __cdecl function(char *, char *)'.
C:\fw21\FWH_8\include\ClipApi.h(466): error #2120: Redeclaration of 'strcat', previously declared at C:\fw21\xHarbourinc\XHB Set 08\xHB\c_include\string.h(23); expected 'char * __cdecl function(char *, const char *)' but found 'unsigned char * __cdecl function(unsigned char *, unsigned char *)'.
C:\fw21\FWH_8\include\ClipApi.h(511): warning #2099: Missing type specifier; assuming 'int'.
C:\fw21\WINH32\WINH32 xbset08\tcbfuncs.c(182): warning #2027: Missing prototype for 'MoveTo'.
C:\fw21\WINH32\WINH32 xbset08\tcbfuncs.c(41): warning #2114: Local 'HeaderHeight' is not referenced.
C:\fw21\WINH32\WINH32 xbset08\tcbfuncs.c(261): warning #2114: Local 'HeaderHeight' is not referenced.
C:\fw21\WINH32\WINH32 xbset08\tcbfuncs.c(323): warning #2114: Local 'HeaderHeight' is not referenced.
*** Error code: 1 ***
Done.
Regards
Antonio H Ferreira