home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix
- Path: sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!cs.utexas.edu!geraldo.cc.utexas.edu!portal.austin.ibm.com!awdprime.austin.ibm.com!waterloo.austin.ibm.com!eswu
- From: eswu@waterloo.austin.ibm.com (Wu)
- Subject: Re: More IBM "oversights"
- Sender: news@austin.ibm.com (News id)
- Message-ID: <eswu.724382341@waterloo.austin.ibm.com>
- Date: Tue, 15 Dec 1992 01:19:01 GMT
- References: <4348@unisql.UUCP>
- Organization: IBM Austin
- Lines: 32
-
- wrat@unisql.UUCP (wharfie) writes:
-
- >The xlc compiler is absolutely recalcitrant about accepting
- >anything like " Window foo = NULL". But the X11 headers
- >are full of stuff like "XtWindowOfObject(object) != NULL"
- >which of course won't compile with the native compiler. We
- >have to sprinkle our code with crap like "#ifdef IBM #undef XtIsRealized"
- >and fix it.
-
- >If IBM has a better compiler (I can't believe they compiled X with
- >xlc) can a customer get it? Or does xlc have an undocumented
- >"Stop behaving like turbo pascal" mode?
-
- The xlc compiler is considered to be a fairly good *ANSI* C compiler
- (albiet slow). AIXWindows may have some problems with our old header
- files not being ansi c compliant, which we inherited from MIT (not an
- excuse, we should have fixed it). In this particular case,
-
- "XtWindowOfObject(object) != NULL"
- should be
- "XtWindowOfObject(object) != None"
-
- This has been fixed in IBM X11R5 release. In the next MIT X release
- (X11R6), the entire tree (not just header files) should be ANSI C
- compliant and xlc-friendly because MIT is using the xlc compiler and
- the AT&T ANSI C compiler to check for ANSI C compliance. The code
- changes were actually done 1 year ago, but does not qualify as a bug
- and so you will not see this in a MIT Public Patch.
-
- --
- Eng-Shien Wu (eswu@austin.ibm.com)
- IBM Austin, X Server Development
-