This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Problems with BOOL - solution


Well,

I believe I have solved my problem. In the Xmd.h header
file I installed from the xfree86 project (from Dr. Sadiqqi)
has this line commented out. 

/* typedef CARD8           BOOL; */

once I uncommented it, aterm compiled like a charm.

Not sure why it was commented out but it seems to be ok 
like this.

--Kevin Wright

> -----Original Message-----
> From: cygwin-owner@sourceware.cygnus.com
> [mailto:cygwin-owner@sourceware.cygnus.com]On Behalf Of Kevin Wright
> Sent: Friday, May 26, 2000 11:09 AM
> To: cygwin@sourceware.cygnus.com
> Subject: Problems with BOOL 
> 
> 
> Hello,
> 
> I'm not sure if this the correct forum for this. (if not,
> please let me know).
> 
> Recently, I've been having problems building some software
> under cygwin (v1.1.1). I've seen this in a few packages
> and one is aterm. Here's the error:
> 
> In file included from /usr/X11R6/include/X11/Xlibint.h:40,
>                  from ximage_utils.c:57:
> /usr/X11R6/include/X11/Xproto.h:341: parse error before `BOOL'
> /usr/X11R6/include/X11/Xproto.h:341: warning: no semicolon at end 
> of struct
> or union
> 
> 
> Is BOOL already defined for cygwin? Do I need to change the code
> to use FOOBOOL instead of BOOL?
> 
> Thanks in advance,
> 
> Kevin Wright
> Mountain View, CA
> 
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
> 
> 

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]