home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.hp
- Path: sparky!uunet!cs.utexas.edu!asuvax!ncar!ico!spatial!alek
- From: alek@spatial.com (Alek O. Komarnitsky)
- Subject: Re: CC (8.07) does not like math.h and stdlib.h together
- Message-ID: <1992Aug29.043523.10679@spatial.com>
- Keywords: CC
- Sender: usenet@spatial.com
- Organization: Spatial Technology, Inc. (Boulder, Colorado)
- References: <5255@krafla.rhi.hi.is> <1992Aug28.195429.22677@news.mentorg.com>
- Date: Sat, 29 Aug 1992 04:35:23 GMT
- Lines: 58
-
- In article <1992Aug28.195429.22677@news.mentorg.com> gcagle@dracula.mentorg.com (Greg Cagle) writes:
- >
- >In article <5255@krafla.rhi.hi.is>, jond@rhi.hi.is (Jon Danielsson) writes:
- >|> I have c++ programs which include math.h and stdlib.h, which work
- >|> fine with the header files I got with the 8.05 system. When I got the
- >|> upgrate to 8.07 I find that I cannot compile such programs because
- >|> (apparently) there are inline definitions of the abs function in
- >|> both files.
- >
- ><stuff deleted>
- >
- >Maybe I should just post the answer to this monthly, or something.
- >This is a bug in 8.07; it has been fixed at 9.0. Onsite here we
- >edited math.h to get rid of the extra declaration.
- >
- >- Greg
- >--
- >Greg Cagle (503)685-1570
- >Mentor Graphics Corporation greg_cagle@mentorg.com
- >Platform Technology Division
-
- Newsgroups: comp.sys.hp
- Subject: Comp.sys.hp FAQ [was: CC (8.07) does not like math.h and stdlib.h together]
- Summary:
- Expires:
- References: <5255@krafla.rhi.hi.is> <1992Aug28.195429.22677@news.mentorg.com>
- Sender:
- Followup-To:
- Distribution:
- Organization: Spatial Technology, Inc. (Boulder, Colorado)
- Keywords: CC
-
- In article <1992Aug28.195429.22677@news.mentorg.com> gcagle@dracula.mentorg.com (Greg Cagle) writes:
- >
- >In article <5255@krafla.rhi.hi.is>, jond@rhi.hi.is (Jon Danielsson) writes:
- >|> I have c++ programs which include math.h and stdlib.h, which work
- >|> fine with the header files I got with the 8.05 system. When I got the
- >|> upgrate to 8.07 I find that I cannot compile such programs because
- >|> (apparently) there are inline definitions of the abs function in
- >|> both files.
- >
- ><stuff deleted>
- >
- >Maybe I should just post the answer to this monthly, or something.
- >This is a bug in 8.07; it has been fixed at 9.0. Onsite here we
- >edited math.h to get rid of the extra declaration.
-
- Does anyone think an FAQ for this group would be a good idea?
- Although I think Greg is more qualified than me to do so, I'd be
- happy to "flip" him for it if enough people say go for it.
-
- Just trying to keep the signal-noise ratio up! ;-)
-
- Alek Komarnitsky 303-449-0649
- Software Tools Manager, Spatial Technology, Inc. 2425 55th Street, Bldg A
- alek@spatial.com Boulder, CO 80301-5704
-
- P.S. We also edited math.h. Kinda silly boo-boo by HP, but stuff happens.
-