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:content-transfer-encoding; bh=Eqos2LC2/9JT15EQH2qx8gJYA6Mge0PI3KyPEITh5EE=; b=uNqNn5vc1YvlFnMT2pdjVx5OE3x4dGoZpbacuW9/E+0Cm6HY7Gp4e+BHoQyGCb3Be7 PlmHeXrPLk9dxzbaVFRb/Apfu8OVI/vTJ2lJTPoH98WpZTfttJPHBVZbRU1HDZc5lAkC dIchzDHK+ijnCovfWJbXn1ek/oEQdETa3JUIQ= MIME-Version: 1.0 In-Reply-To: <201107011814.p61IERDY021019@envy.delorie.com> References: <83tyb6qce3 DOT fsf AT gnu DOT org> <201107011526 DOT p61FQs24012782 AT envy DOT delorie DOT com> <201107011539 DOT p61FdYjI013658 AT envy DOT delorie DOT com> <201107011548 DOT p61FmWQW014052 AT envy DOT delorie DOT com> <201107011557 DOT p61FvXVP014582 AT envy DOT delorie DOT com> <201107011614 DOT p61GEu8r015173 AT envy DOT delorie DOT com> <4E0DFC80 DOT 2070607 AT iki DOT fi> <201107011734 DOT p61HYlRK019374 AT envy DOT delorie DOT com> <201107011753 DOT p61Hr3XO020234 AT envy DOT delorie DOT com> <201107011814 DOT p61IERDY021019 AT envy DOT delorie DOT com> Date: Fri, 1 Jul 2011 21:22:46 +0300 Message-ID: Subject: Re: gcc-4.4: conflicting types for built-in function 'cabs' and 'cabsf' From: Ozkan Sezer To: djgpp-workers AT delorie DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id p61IMpgq030193 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 Precedence: bulk On Fri, Jul 1, 2011 at 9:14 PM, DJ Delorie wrote: > > Why _Complex and not just complex ? > > NAME >       cabs, cabsf, cabsl - absolute value of a complex number > > SYNOPSIS >       #include > >       double cabs(double complex z); >       float cabsf(float complex z); >       long double cabsl(long double complex z); > Because gcc doesn't recognize "complex" but _Complex is builtin to it. AFAIK, complex type is supposed to be defined in complex.h which djgpp doesn't have. (I reserve my right to be wrong here :) -- O.S.