home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / windows / x / 20148 < prev    next >
Encoding:
Text File  |  1992-12-11  |  1.4 KB  |  39 lines

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