home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / ultrix / 6284 < prev    next >
Encoding:
Internet Message Format  |  1992-08-17  |  3.2 KB

  1. Xref: sparky comp.unix.ultrix:6284 gnu.gcc.help:1927
  2. Newsgroups: comp.unix.ultrix,gnu.gcc.help
  3. Path: sparky!uunet!news.univie.ac.at!hp4at!xs0001!news
  4. From: man@magwien.gv.at (Andreas Manessinger)
  5. Subject: Re: DECstation /usr/include/X11/Xlib.h and gcc.
  6. In-Reply-To: putsch@uicc.com's message of Tue, 11 Aug 1992 13:34:44 GMT
  7. Message-ID: <MAN.92Aug18102626@imrryr.at>
  8. Lines: 57
  9. Sender: news@xs0001.at (USENET News System)
  10. Nntp-Posting-Host: imrryr
  11. Organization: Gemeinde Wien, MD-ADV/Md Ref. EPS
  12. References: <1992Aug11.133444.16164@uicc.com>
  13. Date: Tue, 18 Aug 1992 08:26:29 GMT
  14.  
  15. >>>>> On Tue, 11 Aug 1992 13:34:44 GMT, putsch@uicc.com (Jeff Putsch) said:
  16.  
  17.  Jeff> While trying to complie an X11 application with gcc-2.2.2 on DECstations
  18.  Jeff> I get the following error:
  19.  
  20. >In file included from ../include/p2c/newcrt.h:4, from newci.c:40:
  21. >/usr/include/X11/Xlib.h:3958: parse error before `XSizeHints'
  22. >/usr/include/X11/Xlib.h:3971: parse error before `XSizeHints'
  23. >/usr/include/X11/Xlib.h:3981: parse error before `XSizeHints'
  24. >/usr/include/X11/Xlib.h:3990: parse error before `XStandardColormap'
  25. >/usr/include/X11/Xlib.h:4000: parse error before `XTextProperty'
  26. >/usr/include/X11/Xlib.h:4009: parse error before `XTextProperty'
  27. >/usr/include/X11/Xlib.h:4017: parse error before `XTextProperty'
  28. >/usr/include/X11/Xlib.h:4025: parse error before `XTextProperty'
  29. >/usr/include/X11/Xlib.h:4033: parse error before `XTextProperty'
  30. >/usr/include/X11/Xlib.h:4047: parse error before `XSizeHints'
  31. >/usr/include/X11/Xlib.h:4056: parse error before `XSizeHints'
  32. >/usr/include/X11/Xlib.h:4064: parse error before `XStandardColormap'
  33. >/usr/include/X11/Xlib.h:4074: parse error before `XTextProperty'
  34. >/usr/include/X11/Xlib.h:4083: parse error before `XTextProperty'
  35. >/usr/include/X11/Xlib.h:4091: parse error before `XTextProperty'
  36. >/usr/include/X11/Xlib.h:4099: parse error before `XTextProperty'
  37. >/usr/include/X11/Xlib.h:4107: parse error before `XTextProperty'
  38. >/usr/include/X11/Xlib.h:4113: parse error before `*'
  39. >/usr/include/X11/Xlib.h:4123: parse error before `XSizeHints'
  40. >*** Error code 1
  41.  
  42.  Jeff> Looking at Xlib.h (only for the first parse error...) I find:
  43.  
  44. >extern int XWMGeometry(
  45. >#if NeedFunctionPrototypes
  46. >               Display*    /* display */,
  47. >               int    /* screen_number */,
  48. >               const char* /* user_geometry */,
  49. >               const char* /* default_geometry */,
  50. >               unsigned int /* border_width */,
  51. >               XSizeHints* /* hints */,              /* Line 3958 */
  52. >               int*    /* x_return */,
  53. >               int*    /* y_return */,
  54. >               int*    /* width_return */,
  55. >               int*    /* height_return */,
  56. >               int*    /* gravity_return */
  57. >#endif
  58. >               );
  59.  
  60.  Jeff> I don't see anything wrong with this. Could some kind soul please enlighten
  61.  Jeff> me AND suggest a solution?
  62.  
  63. I got the same result and still have no solution but it would be very
  64. valuable for us, if we could use `gcc' for OSF/Motif development (for
  65. obvious reasons if you consider the quality of the `cc' that's
  66. included with Ultrix 4.2a RISC.
  67. --
  68.     /\            | eMail: man@magwien.gv.at (Andreas Manessinger)
  69.    /  \ndreas     | pMail: Alserstra"se. 20/6; A-1090 Wien; Austria
  70.   /\/\ \          | Work : Gemeinde Wien MD-ADV/Ma; Ref. EPS
  71.  / /  \anessinger | Phone: +43 222 4039584/13, FAX: 4039584/18, Home: 9350434
  72.