delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2015/05/23/04:12:07

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type;
bh=sc4oShmThSuoOVdOfN+Gm1eKCqssm6LrTt3a3vbDdx8=;
b=C/zGPzNeh7KidVpK3xbdWG1fHyWtAZS2ECCkh40icRIPprb3DtNpMtIrPWF+NN7cp8
8hizPc82rl02eYfwPdnWbx0/q/WeCHsB9DtEiAVSAtEDERgq5nr/N44732UCrdp5ZCCl
+DrAQIWChOi7SWTSUrtBsESXnDQQnOrEUY6ETOxIRzUHSIlP+V9zfQrW/5JGBfxnGHzL
+DGaAMZhbeyxMTbYCyKzsuZx6gUV/aM9mL/bZ8umHPnEJKWFB78puJ2nhLSXv3KtMoVM
ybop8NK4c6vqqXLmISEt1qvzD6pzjDSmGMJf90FEtqOKchLBV753k4HJ/IOpIyq/NNmb
qDLA==
MIME-Version: 1.0
X-Received: by 10.50.61.229 with SMTP id t5mr10607731igr.34.1432368710242;
Sat, 23 May 2015 01:11:50 -0700 (PDT)
In-Reply-To: <201505042003.t44K3odg011007@delorie.com>
References: <201505042003 DOT t44K3odg011007 AT delorie DOT com>
Date: Sat, 23 May 2015 11:11:50 +0300
Message-ID: <CAA2C=vC2MjBw_ukLt62Bw5WiBePqT9dKK6PD8E7qaF3ShPcy8A@mail.gmail.com>
Subject: Re: ANNOUNCE: DJGPP 2.05 beta 1
From: "Ozkan Sezer (sezeroz AT gmail DOT com)" <djgpp AT delorie DOT com>
To: djgpp AT delorie DOT com
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Pushed the following for src/libm/math/w[f]_cabs.c:

    use __complex__ instead of _Complex so that it compiles with gcc2 too

Index: src/libm/math/w_cabs.c
===================================================================
RCS file: /cvs/djgpp/djgpp/src/libm/math/w_cabs.c,v
retrieving revision 1.4
diff -u -r1.4 w_cabs.c
--- src/libm/math/w_cabs.c	20 Aug 2011 12:41:02 -0000	1.4
+++ src/libm/math/w_cabs.c	23 May 2015 00:12:27 -0000
@@ -11,11 +11,11 @@
 #include "fdlibm.h"

 #ifdef __STDC__
-double cabs(_Complex double);
-double cabs(_Complex double z)
+double cabs(__complex__ double);
+double cabs(__complex__ double z)
 #else
 double cabs(z)
-     _Complex double z;
+     __complex__ double z;
 #endif
 {
 	return hypot(__real__ z, __imag__ z);
Index: src/libm/math/wf_cabs.c
===================================================================
RCS file: /cvs/djgpp/djgpp/src/libm/math/wf_cabs.c,v
retrieving revision 1.4
diff -u -r1.4 wf_cabs.c
--- src/libm/math/wf_cabs.c	20 Aug 2011 12:41:02 -0000	1.4
+++ src/libm/math/wf_cabs.c	23 May 2015 00:12:27 -0000
@@ -11,11 +11,11 @@
 #include "fdlibm.h"

 #ifdef __STDC__
-float cabsf(_Complex float);
-float cabsf(_Complex float z)
+float cabsf(__complex__ float);
+float cabsf(__complex__ float z)
 #else
 float cabsf(z)
-	_Complex float z;
+    __complex__ float z;
 #endif
 {
 	return hypotf(__real__ z, __imag__ z);

- Raw text -


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