home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix
- Path: sparky!uunet!enterpoop.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!jfc
- From: jfc@athena.mit.edu (John F Carr)
- Subject: Re: More IBM "oversights"
- Message-ID: <1992Dec12.041442.7942@athena.mit.edu>
- Sender: news@athena.mit.edu (News system)
- Nntp-Posting-Host: achates.mit.edu
- Organization: Massachusetts Institute of Technology
- References: <4348@unisql.UUCP>
- Date: Sat, 12 Dec 1992 04:14:42 GMT
- Lines: 17
-
- In article <4348@unisql.UUCP> 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.
-
- Where are you looking? I just checked all the X11R5 header files and found
- nothing like that. I found _one_ misuse of NULL in the AIX 3.1 X header
- files, which is easily fixed by changing NULL to 0 in the macro definition.
- I don't see why you conclude that the X11 headers are "full of" such
- constructs.
-
- Comparing an integer to a pointer is a bug, and xlc is right to report an
- error.
-
- --
- John Carr (jfc@athena.mit.edu)
-