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

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!newsgate.watson.ibm.com!yktnews!admin!influenza!lucien
  3. From: lucien@watson.ibm.com (Lucien Van Elsen)
  4. Subject: Re: Is -qextchk incompatable with varargs?
  5. Sender: news@watson.ibm.com (NNTP News Poster)
  6. Message-ID: <LUCIEN.92Dec29152629@fionavar.watson.ibm.com>
  7. In-Reply-To: peter@deepthought.unm.edu's message of Tue, 29 Dec 92 03:14:18 GMT
  8. Date: Tue, 29 Dec 1992 20:26:29 GMT
  9. Disclaimer: This posting represents the poster's views, not necessarily those of IBM
  10. References: <rznr82k@lynx.unm.edu>
  11. Nntp-Posting-Host: fionavar.watson.ibm.com
  12. Organization: IBM T.J Watson Research Center
  13. Lines: 17
  14.  
  15. peter@deepthought.unm.edu (Peter Blemel) writes:
  16. >   I'm compiling a program that uses varargs. If I compile with -qextchk, the
  17. >   linker/loader complains that my varargs function is used inconsistantly. I
  18. >   have prototyped the function, is this not enough?
  19. >
  20. >   Or is -qextchk only useful to check programs without varargs?
  21.  
  22. This looks like a compiler bug in generating the function arguments hash
  23. value; I got this problem with XL C version 1.1.3.13, but not with versions
  24. 1.1.8.32 and later.  If you upgrade your version of the compiler, this
  25. problem should disappear.
  26.  
  27.     -Lucien
  28. --
  29. -----------------------------------------------------------------------
  30. Lucien Van Elsen                                          IBM  Research
  31. lucien@watson.ibm.com                                     Project Agora
  32.