home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / os2 / programm / 4435 < prev    next >
Encoding:
Internet Message Format  |  1992-08-25  |  1.5 KB

  1. Path: sparky!uunet!ogicse!usenet.coe.montana.edu!caen!sdd.hp.com!decwrl!adobe!usenet
  2. From: byer@adobe.com (Scott Byer)
  3. Newsgroups: comp.os.os2.programmer
  4. Subject: Re: C Set/2
  5. Message-ID: <1992Aug25.164931.20322@adobe.com>
  6. Date: 25 Aug 92 16:49:31 GMT
  7. Article-I.D.: adobe.1992Aug25.164931.20322
  8. References: <1992Aug25.002130.9416@ttinews.tti.com>
  9. Sender: usenet@adobe.com (USENET NEWS)
  10. Reply-To: byer@adobe.com (Scott Byer)
  11. Organization: Adobe Systems Incorporated
  12. Lines: 26
  13.  
  14.  
  15.  Terry writes
  16.  
  17. > It't nice to see that compilers are getting smarter (I'm
  18. > continually bitten at work where we don't have a
  19. > prototyping compiler), but it'd be nice if the IBM
  20. > compiler would have told me it was the type of the
  21. > parameters of my function, not the parameters of the API
  22. > function.
  23.  
  24. As an interesting side note, the IBM compiler on AIX
  25. RS/6000 (you have to be specific :-), has a feature that
  26. allows *link-time* checking of function parameter values.
  27. Really great for those extra-large projects that have to
  28. remain in portable standard C.
  29.  
  30. (Should I mention the fact that it's effectively a
  31. requirement because of a combination of the architecture
  32. and the optimizer's passing of variables through
  33. registers?)
  34.  
  35. Scott Byer                                   NeXTMail: byer@adobe.com
  36. Adobe Systems Incorporated               These are *my* opinions, and  
  37. 1585 Charleston Road, P.O. Box 7900        do not necessarily reflect
  38. Mountain View, CA 94039-7900             the opinions of my employer.
  39. ---------------------------------------------------------------------
  40.