public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Problems with BOOL
@ 2000-05-26 11:09 Kevin Wright
  2000-05-26 11:40 ` Problems with BOOL - solution Kevin Wright
  0 siblings, 1 reply; 2+ messages in thread
From: Kevin Wright @ 2000-05-26 11:09 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: Problems with BOOL - solution
  2000-05-26 11:09 Problems with BOOL Kevin Wright
@ 2000-05-26 11:40 ` Kevin Wright
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Wright @ 2000-05-26 11:40 UTC (permalink / raw)
  To: Kevin Wright, cygwin

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-05-26 11:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-26 11:09 Problems with BOOL Kevin Wright
2000-05-26 11:40 ` Problems with BOOL - solution Kevin Wright

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).