c/8192: exp10 in mathcalls.h (gcc ver 2.95.3)
Bert Laubsch
bertlaubsch@yahoo.com
Fri Oct 11 20:56:00 GMT 2002
The following reply was made to PR c/8192; it has been noted by GNATS.
From: Bert Laubsch <bertlaubsch@yahoo.com>
To: rth@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
nobody@gcc.gnu.org, support@suse.de, suse@suse.de, gcc-gnats@gcc.gnu.org
Cc:
Subject: Re: c/8192: exp10 in mathcalls.h (gcc ver 2.95.3)
Date: Fri, 11 Oct 2002 20:49:29 -0700 (PDT)
Okay, you're exactly correct. I added the line
extern double exp10(double);
and it works without a problem; so it isn't a bug
after all.
Thanks very much for your time and help.
Bert
--- rth@gcc.gnu.org wrote:
> I suspect that you've not actually got a
> declaration of
> exp10 in scope, which by C rules implies that it
> returns
> an int. At which point everything falls apart.
>
=====
___________________________________________________
All electrons used in this product are 100% post-consumer recycled.
__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com
More information about the Gcc-prs
mailing list