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

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!newsgate.watson.ibm.com!yktnews!admin!yktnews!prener
  3. From: prener@watson.ibm.com (Dan Prener)
  4. Subject: Re: More IBM "oversights"
  5. Sender: news@watson.ibm.com (NNTP News Poster)
  6. Message-ID: <PRENER.92Dec12012820@prener.watson.ibm.com>
  7. In-Reply-To: wrat@unisql.UUCP's message of 11 Dec 92 22:39:02 GMT
  8. Date: Sat, 12 Dec 1992 06:28:20 GMT
  9. Disclaimer: This posting represents the poster's views, not necessarily those of IBM
  10. References: <4348@unisql.UUCP>
  11. Nntp-Posting-Host: prener.watson.ibm.com
  12. Organization: IBM T.J. Watson Research Center, Hawthorne, New York
  13. Lines: 17
  14.  
  15. In article <4348@unisql.UUCP> wrat@unisql.UUCP (wharfie) writes:
  16.  
  17. > The xlc compiler is absolutely recalcitrant about accepting
  18. > anything like " Window foo = NULL".  But the X11 headers
  19. > are full of stuff like "XtWindowOfObject(object) != NULL"
  20. > which of course won't compile with the native compiler.  We
  21. > have to sprinkle our code with crap like "#ifdef IBM #undef XtIsRealized"
  22. > and fix it.
  23.  
  24. > If IBM has a better compiler (I can't believe they compiled X  with
  25. > xlc) can a customer get it?  Or does xlc have an undocumented
  26. > "Stop behaving like turbo pascal" mode?
  27.  
  28. If you invoke xlc as "cc" rather than as "xlc" it is somewhat more permissive.
  29. See the stanza in /etc/xlc.cfg for the exact differences.
  30. --
  31.                                    Dan Prener (prener@watson.ibm.com)
  32.