delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2011/07/01/12:44:38

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Recipient: djgpp-workers AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type;
bh=tgeXqMtFhlmj2sAua/bNyldIN2Gxk7AWsfJ2q91Bpa4=;
b=S5eHSXGG1r0tUAG2K4BmQRaSm06L+c+HJdR+Xr4lS/qCRQGwzVV4toLWgCbw7EB544
j8YnYP5m2AnX9xJnbb/scy7xNT0TJyGKJ80yekBPtmhZhMOWrNOjQfaFN0Jxs2zzeGUd
5Z7uvyKRd9tSoR2ALYEen/lvm6v5+3Ie7fP58=
MIME-Version: 1.0
In-Reply-To: <201107011614.p61GEu8r015173@envy.delorie.com>
References: <BANLkTikW3CVu0QEHyFwgfpvzqNoMR6Tfrg AT mail DOT gmail DOT com>
<83tyb6qce3 DOT fsf AT gnu DOT org>
<BANLkTi=q_JbhptgWTi8ZN7mtq9NO9zPX0g AT mail DOT gmail DOT com>
<201107011526 DOT p61FQs24012782 AT envy DOT delorie DOT com>
<BANLkTi=BU4UzOR+RtD9hJRCtKq6eR3AYog AT mail DOT gmail DOT com>
<201107011539 DOT p61FdYjI013658 AT envy DOT delorie DOT com>
<BANLkTi=HfCnAD4WUndyU_bdnP6wXuOPo0A AT mail DOT gmail DOT com>
<201107011548 DOT p61FmWQW014052 AT envy DOT delorie DOT com>
<BANLkTinA0i1sOT4tM4igv6Y1aR+3vdnNJg AT mail DOT gmail DOT com>
<201107011557 DOT p61FvXVP014582 AT envy DOT delorie DOT com>
<BANLkTim-07ErkunBix8U46KYFF497HKAPA AT mail DOT gmail DOT com>
<201107011614 DOT p61GEu8r015173 AT envy DOT delorie DOT com>
Date: Fri, 1 Jul 2011 19:44:27 +0300
Message-ID: <BANLkTimQc7u0y5Z4-8w4xfPAJ7HtPShCYQ@mail.gmail.com>
Subject: Re: gcc-4.4: conflicting types for built-in function 'cabs' and 'cabsf'
From: Ozkan Sezer <sezeroz AT gmail DOT com>
To: djgpp-workers AT delorie DOT com
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Fri, Jul 1, 2011 at 7:14 PM, DJ Delorie <dj AT delorie DOT com> wrote:
>
> Could you check the other prototypes too, and see if any othes aren't
> needed?
>
> Maybe we should just comment them out for now, in case someone wants
> to add them back in later, with a comment about this discussion...
>

As far as I can see, cabs() and cabsf() are the only two.

As a side note, there are a lot of code depending on a
_IEEE_LIBM macro to be defined to actually get called
(such as log() would have returned __ieee754_log() from
e_log.c), but that is off-topic, I guess.

Index: src/libm/math/makefile
===================================================================
RCS file: /cvs/djgpp/djgpp/src/libm/math/makefile,v
retrieving revision 1.3
diff -u -r1.3 makefile
--- src/libm/math/makefile	22 Mar 2003 12:27:27 -0000	1.3
+++ src/libm/math/makefile	1 Jul 2011 16:43:07 -0000
@@ -51,7 +51,9 @@
 SRC += w_scalb.c
 SRC += w_sinh.c
 SRC += w_sqrt.c
-SRC += w_cabs.c
+# complex math and complex.h
+# header aren't provided yet.
+#SRC += w_cabs.c
 SRC += w_drem.c
 SRC += s_asinh.c
 SRC += s_atan.c
@@ -133,7 +135,9 @@
 SRC += wf_scalb.c
 SRC += wf_sinh.c
 SRC += wf_sqrt.c
-SRC += wf_cabs.c
+# complex math and complex.h
+# header aren't provided yet.
+#SRC += wf_cabs.c
 SRC += wf_drem.c
 SRC += sf_asinh.c
 SRC += sf_atan.c

--
O.S.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019