Re: X and pf - typedef redefinitions

New Message Reply Date view Thread view Subject view Author view

Mark Johnson (johnson++at++vrlab.uccb.ns.ca)
Tue, 20 Sep 1994 12:35:58 -0300


On Sep 13, 3:13pm, Rudy Darken wrote:
> Subject: X and pf - typedef redefinitions
> In my performer application, I am creating a GL X-window with
> GLCreateMDraw() that performer will draw in . The problem is: how to you
> get this to compile? GL typedefs Boolean to a long in gl.h and X typedefs
> Boolean to a char in X11/Intrinsic.h The IRIX C++ Compiler (3.2.1) errors
> out on this redefinition. Is there a way to get around this?
>
>-- End of excerpt from Rudy Darken

I have had this same problem. It occurs for other types as well. The
solution is to always include X headers before others. Things like Performer
and Viewkit seem able to live with the X definitions.

Mark Johnson
johnson++at++vrlab.uccb.ns.ca


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:32 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.