home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / hp / 9851 < prev    next >
Encoding:
Text File  |  1992-08-29  |  2.8 KB  |  71 lines

  1. Newsgroups: comp.sys.hp
  2. Path: sparky!uunet!cs.utexas.edu!asuvax!ncar!ico!spatial!alek
  3. From: alek@spatial.com (Alek O. Komarnitsky)
  4. Subject: Re: CC (8.07) does not like math.h and stdlib.h together
  5. Message-ID: <1992Aug29.043523.10679@spatial.com>
  6. Keywords: CC
  7. Sender: usenet@spatial.com
  8. Organization: Spatial Technology, Inc. (Boulder, Colorado)
  9. References: <5255@krafla.rhi.hi.is> <1992Aug28.195429.22677@news.mentorg.com>
  10. Date: Sat, 29 Aug 1992 04:35:23 GMT
  11. Lines: 58
  12.  
  13. In article <1992Aug28.195429.22677@news.mentorg.com> gcagle@dracula.mentorg.com (Greg Cagle) writes:
  14. >
  15. >In article <5255@krafla.rhi.hi.is>, jond@rhi.hi.is (Jon Danielsson) writes:
  16. >|> I have c++ programs which include math.h and stdlib.h, which work
  17. >|> fine with the header files I got with the 8.05 system.  When I got the
  18. >|> upgrate to 8.07 I find that I cannot compile such programs because
  19. >|> (apparently) there are inline definitions of the abs function in 
  20. >|> both files.  
  21. >
  22. ><stuff deleted>
  23. >
  24. >Maybe I should just post the answer to this monthly, or something.
  25. >This is a bug in 8.07; it has been fixed at 9.0. Onsite here we
  26. >edited math.h to get rid of the extra declaration.
  27. >
  28. >- Greg
  29. >-- 
  30. >Greg Cagle                                                         (503)685-1570
  31. >Mentor Graphics Corporation                               greg_cagle@mentorg.com
  32. >Platform Technology Division
  33.  
  34. Newsgroups: comp.sys.hp
  35. Subject: Comp.sys.hp FAQ [was: CC (8.07) does not like math.h and stdlib.h together]
  36. Summary: 
  37. Expires: 
  38. References: <5255@krafla.rhi.hi.is> <1992Aug28.195429.22677@news.mentorg.com>
  39. Sender: 
  40. Followup-To: 
  41. Distribution: 
  42. Organization: Spatial Technology, Inc. (Boulder, Colorado)
  43. Keywords: CC
  44.  
  45. In article <1992Aug28.195429.22677@news.mentorg.com> gcagle@dracula.mentorg.com (Greg Cagle) writes:
  46. >
  47. >In article <5255@krafla.rhi.hi.is>, jond@rhi.hi.is (Jon Danielsson) writes:
  48. >|> I have c++ programs which include math.h and stdlib.h, which work
  49. >|> fine with the header files I got with the 8.05 system.  When I got the
  50. >|> upgrate to 8.07 I find that I cannot compile such programs because
  51. >|> (apparently) there are inline definitions of the abs function in 
  52. >|> both files.  
  53. >
  54. ><stuff deleted>
  55. >
  56. >Maybe I should just post the answer to this monthly, or something.
  57. >This is a bug in 8.07; it has been fixed at 9.0. Onsite here we
  58. >edited math.h to get rid of the extra declaration.
  59.  
  60. Does anyone think an FAQ for this group would be a good idea?
  61. Although I think Greg is more qualified than me to do so, I'd be
  62. happy to "flip" him for it if enough people say go for it.
  63.  
  64. Just trying to keep the signal-noise ratio up!  ;-)
  65.  
  66. Alek Komarnitsky                                      303-449-0649
  67. Software Tools Manager, Spatial Technology, Inc.      2425 55th Street, Bldg A
  68. alek@spatial.com                                      Boulder, CO 80301-5704
  69.  
  70. P.S. We also edited math.h. Kinda silly boo-boo by HP, but stuff happens. 
  71.