home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / cplus / 12557 < prev    next >
Encoding:
Internet Message Format  |  1992-08-19  |  1.1 KB

  1. Xref: sparky comp.lang.c++:12557 comp.sys.sequent:508
  2. Path: sparky!uunet!vtserf!creatures!csgrad.cs.vt.edu!mathur
  3. From: mathur@csgrad.cs.vt.edu (Anup Mathur)
  4. Newsgroups: comp.lang.c++,comp.sys.sequent
  5. Subject: Problem with AT&T C++ on DYNIX
  6. Message-ID: <3297@creatures.cs.vt.edu>
  7. Date: 19 Aug 92 17:11:22 GMT
  8. Sender: usenet@creatures.cs.vt.edu
  9. Followup-To: comp.lang.c++
  10. Distribution: usa
  11. Organization: VPI&SU Computer Science Department, Blacksburg, VA
  12. Lines: 18
  13.  
  14.  
  15. We are using the AT&T C++ compiler version 2.1, on a sequent
  16. symmetry running DYNIX version 3.2. We are having the following 
  17. problem, whenever we have a user defined function with a name
  18. that is the same as a function defined in libc.a the loader/link editor
  19. comes back and complains about multiple declaration of the said
  20. function.
  21.  
  22. For example, say i wanted to write my own malloc and wanted to override
  23. the system malloc.
  24.  
  25. Sometime back when we were using AT&T C++ compiler version 1.2
  26. on the same machine running DYNIX version 3.0.18 everything
  27. was fine i.e we were able to override functions defined in
  28. libc.a.
  29.  
  30. Any help in fixing the above problem will be appreciated.
  31. Please reply to mathur@cs.vt.edu
  32.