compiler error.

Hi! I'm getting a strange compiler error, and I cannot handle it. I use
MSDEV 6.0 with Platform SDK 2003 and IE 55 headers lib. Here's the error:
 
C:\Program Files\Microsoft SDK\include\windef.h(142) : error C2378:
'CheckBool' : redefinition; symbol cannot be overloaded with a typedef
        ..\Tidy\src\attrs.h(90) : see declaration of 'CheckBool'

 
and it points to windef.h file at line 
 
typedef int                 BOOL;
 
I tried to rename the BOOL stuff in attrs.h/attrs.c (from BOOL into TBOOL,
for example), and the error moves to another point:
 
C:\Program Files\Microsoft SDK\include\wtypes.h(975) : warning C4091:
'typedef ' : ignored on left of 'double' when no variable is declared
C:\Program Files\Microsoft SDK\include\wtypes.h(975) : error C2143: syntax
error : missing ';' before 'constant'
C:\Program Files\Microsoft SDK\include\wtypes.h(975) : fatal error C1004:
unexpected end of file found

Am I doing something wrong? Should I have set some flag or define in my
environment?
 
Thanks.
Dragos CIULICA.
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.5/68 - Release Date: 10.08.2005
 

Received on Thursday, 11 August 2005 14:06:46 UTC