public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c/8192: exp10 in mathcalls.h  (gcc ver 2.95.3)
@ 2002-10-11 16:43 rth
  0 siblings, 0 replies; 3+ messages in thread
From: rth @ 2002-10-11 16:43 UTC (permalink / raw)
  To: bertlaubsch, gcc-bugs, gcc-prs, nobody, support, suse

Synopsis: exp10 in mathcalls.h  (gcc ver 2.95.3)

State-Changed-From-To: open->feedback
State-Changed-By: rth
State-Changed-When: Fri Oct 11 16:43:01 2002
State-Changed-Why:
    Your attachment did not arrive intact.
    
    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.
    
    Use -Wall to get the compiler to tell you if exp10
    is being implicitly declared.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8192


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: c/8192: exp10 in mathcalls.h  (gcc ver 2.95.3)
@ 2002-10-12  9:33 rth
  0 siblings, 0 replies; 3+ messages in thread
From: rth @ 2002-10-12  9:33 UTC (permalink / raw)
  To: bertlaubsch, gcc-bugs, gcc-prs, nobody, support, suse

Synopsis: exp10 in mathcalls.h  (gcc ver 2.95.3)

State-Changed-From-To: feedback->closed
State-Changed-By: rth
State-Changed-When: Sat Oct 12 09:33:09 2002
State-Changed-Why:
    Not a bug.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8192


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: c/8192: exp10 in mathcalls.h  (gcc ver 2.95.3)
@ 2002-10-11 20:56 Bert Laubsch
  0 siblings, 0 replies; 3+ messages in thread
From: Bert Laubsch @ 2002-10-11 20:56 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-10-12 16:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-11 16:43 c/8192: exp10 in mathcalls.h (gcc ver 2.95.3) rth
2002-10-11 20:56 Bert Laubsch
2002-10-12  9:33 rth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).