home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / aix / 12548 < prev    next >
Encoding:
Internet Message Format  |  1992-12-14  |  1.9 KB

  1. Path: sparky!uunet!ogicse!mimbres.cs.unm.edu!constellation!geohub.gcn.uoknor.edu!dwight
  2. From: dwight@geohub.gcn.uoknor.edu (Dwight D. Moore)
  3. Newsgroups: comp.unix.aix
  4. Subject: Re: More IBM "oversights"
  5. Message-ID: <Bz9A6n.6xq@constellation.ecn.uoknor.edu>
  6. Date: 14 Dec 92 15:39:59 GMT
  7. Article-I.D.: constell.Bz9A6n.6xq
  8. References: <4348@unisql.UUCP>
  9. Sender: usenet@constellation.ecn.uoknor.edu (Usenet Administrator)
  10. Reply-To: dwight@geohub.gcn.uoknor.edu
  11. Organization: Geosciences Computing Network, Univ. of Oklahoma
  12. Lines: 29
  13. Originator: usenet@kittyhawk.ecn.uoknor.edu
  14. Nntp-Posting-Host: kittyhawk.ecn.uoknor.edu
  15.  
  16. In article <4348@unisql.UUCP>, wrat@unisql.UUCP (wharfie) writes:
  17. |
  18. |>The xlc compiler is absolutely recalcitrant about accepting
  19. |>anything like " Window foo = NULL".  But the X11 headers
  20. |>are full of stuff like "XtWindowOfObject(object) != NULL"
  21. |>which of course won't compile with the native compiler.  We
  22. |>have to sprinkle our code with crap like "#ifdef IBM #undef XtIsRealized"
  23. |>and fix it.
  24. |>
  25. |>If IBM has a better compiler (I can't believe they compiled X  with
  26. |>xlc) can a customer get it?  Or does xlc have an undocumented
  27. |>"Stop behaving like turbo pascal" mode?
  28.  
  29. A better compiler.? Don't blame
  30. IBM and their compiler for doing its job; you need to understand the
  31. nuances between K & R C, ANSI C, and the other mutations. xlc does
  32. what it is supposed to do. ANSI C has strict  type checking
  33. if the compiler enforces it, which is the default for xlc.
  34. Read the file  /usr/lpp/xlc/bin/README.xlc for more information
  35. on the compiler.
  36.  
  37. ----------------------------------------------------------------------------
  38. Dwight D. Moore
  39. Geosciences Computing Network
  40. University of Oklahoma
  41.  
  42. dwight@geohub.gcn.uoknor.edu (129.15.40.10)
  43. These opinions do not necessarily represent the opinions of OU or the GCN.
  44. ----------------------------------------------------------------------------
  45.