home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / aix / 12504 < prev    next >
Encoding:
Text File  |  1992-12-11  |  1.1 KB  |  30 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!enterpoop.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!jfc
  3. From: jfc@athena.mit.edu (John F Carr)
  4. Subject: Re: More IBM "oversights"
  5. Message-ID: <1992Dec12.041442.7942@athena.mit.edu>
  6. Sender: news@athena.mit.edu (News system)
  7. Nntp-Posting-Host: achates.mit.edu
  8. Organization: Massachusetts Institute of Technology
  9. References: <4348@unisql.UUCP>
  10. Date: Sat, 12 Dec 1992 04:14:42 GMT
  11. Lines: 17
  12.  
  13. In article <4348@unisql.UUCP> wrat@unisql.UUCP (wharfie) writes:
  14. >The xlc compiler is absolutely recalcitrant about accepting
  15. >anything like " Window foo = NULL".  But the X11 headers
  16. >are full of stuff like "XtWindowOfObject(object) != NULL"
  17. >which of course won't compile with the native compiler.
  18.  
  19. Where are you looking?  I just checked all the X11R5 header files and found
  20. nothing like that.  I found _one_ misuse of NULL in the AIX 3.1 X header
  21. files, which is easily fixed by changing NULL to 0 in the macro definition.
  22. I don't see why you conclude that the X11 headers are "full of" such
  23. constructs.
  24.  
  25. Comparing an integer to a pointer is a bug, and xlc is right to report an
  26. error.
  27.  
  28. --
  29.     John Carr (jfc@athena.mit.edu)
  30.