home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.ultrix:6284 gnu.gcc.help:1927
- Newsgroups: comp.unix.ultrix,gnu.gcc.help
- Path: sparky!uunet!news.univie.ac.at!hp4at!xs0001!news
- From: man@magwien.gv.at (Andreas Manessinger)
- Subject: Re: DECstation /usr/include/X11/Xlib.h and gcc.
- In-Reply-To: putsch@uicc.com's message of Tue, 11 Aug 1992 13:34:44 GMT
- Message-ID: <MAN.92Aug18102626@imrryr.at>
- Lines: 57
- Sender: news@xs0001.at (USENET News System)
- Nntp-Posting-Host: imrryr
- Organization: Gemeinde Wien, MD-ADV/Md Ref. EPS
- References: <1992Aug11.133444.16164@uicc.com>
- Date: Tue, 18 Aug 1992 08:26:29 GMT
-
- >>>>> On Tue, 11 Aug 1992 13:34:44 GMT, putsch@uicc.com (Jeff Putsch) said:
-
- Jeff> While trying to complie an X11 application with gcc-2.2.2 on DECstations
- Jeff> I get the following error:
-
- >In file included from ../include/p2c/newcrt.h:4, from newci.c:40:
- >/usr/include/X11/Xlib.h:3958: parse error before `XSizeHints'
- >/usr/include/X11/Xlib.h:3971: parse error before `XSizeHints'
- >/usr/include/X11/Xlib.h:3981: parse error before `XSizeHints'
- >/usr/include/X11/Xlib.h:3990: parse error before `XStandardColormap'
- >/usr/include/X11/Xlib.h:4000: parse error before `XTextProperty'
- >/usr/include/X11/Xlib.h:4009: parse error before `XTextProperty'
- >/usr/include/X11/Xlib.h:4017: parse error before `XTextProperty'
- >/usr/include/X11/Xlib.h:4025: parse error before `XTextProperty'
- >/usr/include/X11/Xlib.h:4033: parse error before `XTextProperty'
- >/usr/include/X11/Xlib.h:4047: parse error before `XSizeHints'
- >/usr/include/X11/Xlib.h:4056: parse error before `XSizeHints'
- >/usr/include/X11/Xlib.h:4064: parse error before `XStandardColormap'
- >/usr/include/X11/Xlib.h:4074: parse error before `XTextProperty'
- >/usr/include/X11/Xlib.h:4083: parse error before `XTextProperty'
- >/usr/include/X11/Xlib.h:4091: parse error before `XTextProperty'
- >/usr/include/X11/Xlib.h:4099: parse error before `XTextProperty'
- >/usr/include/X11/Xlib.h:4107: parse error before `XTextProperty'
- >/usr/include/X11/Xlib.h:4113: parse error before `*'
- >/usr/include/X11/Xlib.h:4123: parse error before `XSizeHints'
- >*** Error code 1
-
- Jeff> Looking at Xlib.h (only for the first parse error...) I find:
-
- >extern int XWMGeometry(
- >#if NeedFunctionPrototypes
- > Display* /* display */,
- > int /* screen_number */,
- > const char* /* user_geometry */,
- > const char* /* default_geometry */,
- > unsigned int /* border_width */,
- > XSizeHints* /* hints */, /* Line 3958 */
- > int* /* x_return */,
- > int* /* y_return */,
- > int* /* width_return */,
- > int* /* height_return */,
- > int* /* gravity_return */
- >#endif
- > );
-
- Jeff> I don't see anything wrong with this. Could some kind soul please enlighten
- Jeff> me AND suggest a solution?
-
- I got the same result and still have no solution but it would be very
- valuable for us, if we could use `gcc' for OSF/Motif development (for
- obvious reasons if you consider the quality of the `cc' that's
- included with Ultrix 4.2a RISC.
- --
- /\ | eMail: man@magwien.gv.at (Andreas Manessinger)
- / \ndreas | pMail: Alserstra"se. 20/6; A-1090 Wien; Austria
- /\/\ \ | Work : Gemeinde Wien MD-ADV/Ma; Ref. EPS
- / / \anessinger | Phone: +43 222 4039584/13, FAX: 4039584/18, Home: 9350434
-