home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / cplus / 20082 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.2 KB

  1. Path: sparky!uunet!crdgw1!rpi!usc!howland.reston.ans.net!spool.mu.edu!agate!doc.ic.ac.uk!pipex!demon!trmphrst.demon.co.uk!nikki
  2. From: nikki@trmphrst.demon.co.uk (Nikki Locke)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Possible bug in BC 3.1: ellipsis in proto argument list
  5. Message-ID: <728160066snx@trmphrst.demon.co.uk>
  6. Date: 27 Jan 93 11:41:06 GMT
  7. References: <1993Jan24.050155.32517@ns1.cc.lehigh.edu>
  8. Sender: usenet@demon.co.uk
  9. Reply-To: nikki@trmphrst.demon.co.uk
  10. Organization: Trumphurst Ltd.
  11. Lines: 14
  12. X-Mailer: cppnews $Revision: 1.31 $
  13.  
  14. In article <1993Jan24.050155.32517@ns1.cc.lehigh.edu> sg0d@ns1.cc.lehigh.edu (STEPHEN R. GILBERT) writes:
  15. > I seem to have found a bug in my Borland C++ 3.1 compiler.  I narrowed
  16. > the problem down to the following prototype:
  17. > void foo(...)
  18.  
  19. This prototype is not useful in ANSI C, as there is no way to access any 
  20. of the arguments of foo. The ANSI C stdargs mechanism cannot be used 
  21. unless there is at least one fixed argument. This is perhaps why you have 
  22. a problem.
  23.  
  24. -- 
  25. Nikki Locke,Trumphurst Ltd.(PC and Unix consultancy) nikki@trmphrst.demon.co.uk
  26. trmphrst.demon.co.uk is NOT affiliated with ANY other sites at demon.co.uk.
  27.