home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!boulder!ucsu!ucsu.Colorado.EDU!baileyc
- From: baileyc@ucsu.Colorado.EDU (Christopher R. Bailey)
- Subject: Xlib.h vs. types.h on RS/6000
- Message-ID: <1992Dec12.025838.19261@ucsu.Colorado.EDU>
- Keywords: IBM RS/6000, X, Xlib, types
- Sender: news@ucsu.Colorado.EDU (USENET News System)
- Nntp-Posting-Host: ucsu.colorado.edu
- Organization: University of Colorado, Boulder
- Distribution: usa
- Date: Sat, 12 Dec 1992 02:58:38 GMT
- Lines: 25
-
-
- We have X11R5 on our IBM RS/6000's. I have a program I'm trying to build,
- but keep getting the error:
-
- In file included from /usr/local/X.V11R5/include/X11/Intrinsic.h:30,
- from X11/Xt_interface.c:15:
- /usr/local/X.V11R5/include/X11/Xlib.h:64: conflicting types for `wchar_t'
- /usr/include/sys/types.h:55: previous declaration of `wchar_t'
-
- Xlib declares it as unsigned long, and types.h declares it as unsigned short.
-
- This was using gcc, if I use cc, I get the same error, but undecipherable:
-
- "/usr/local/X.V11R5/include/X11/Xlib.h", line 64.1: 1506-137 (S) Previous
- declaration must declare at le.
- "/usr/local/X.V11R5/include/X11/Xlib.h", line 64.23: 1506-046 (S) Syntax error.
- make: 1254-004 The error code from the last command is 1.
-
- What do I do about this?
-
- --
- Christopher R. Bailey |Internet: baileyc@dendrite.cs.colorado.edu
- University of Colorado at Boulder|CompuServe: 70403,1522
- /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
- Ride Fast, Take Chances!
-