help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Token redefinition


From: Tim Van Holder
Subject: Re: Token redefinition
Date: Fri, 17 Nov 2006 15:41:11 +0100
User-agent: Thunderbird 1.5.0.8 (Windows/20061025)

Bob Smith wrote:
>>>>> The language uses token as "INT" "BOOL" or "FALSE"; when I compile the
>>>>> project using
>>>>> Visual Studio 6.0 the following message is displayed:
>>>>>
>>>>> "'BOOL' : redefinition; typedef cannot be overloaded with any other
>>>>> symbol"
> 
> How about #undef BOOL, etc.?

The original error suggests the windows headers have a typedef for BOOL;
and unfortunately there is no way to undo that after the fact.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]