This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
libstdc++/4087: Cygwin/GCC-3.0 libs missing sinl()
- To: gcc-gnats at gcc dot gnu dot org
- Subject: libstdc++/4087: Cygwin/GCC-3.0 libs missing sinl()
- From: david dot abrahams at rcn dot com
- Date: 22 Aug 2001 21:59:29 -0000
- Reply-To: david dot abrahams at rcn dot com
>Number: 4087
>Category: libstdc++
>Synopsis: Cygwin/GCC-3.0 libs missing sinl()
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Aug 22 15:06:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: david.abrahams@rcn.com
>Release: unknown-1.0
>Organization:
>Environment:
cygwin
>Description:
long double math functions such as sinl() apparently missing from libraries built for GCC-3.0/Cygwin.
>How-To-Repeat:
Compile and link the following:
---------
#include <cmath>
int main()
{
return std::sin((long double)(3.14));
}
----------
mark.cpp: In function `int main()':
mark.cpp:5: warning: return to `int' from `long double'
mark.cpp:5: warning: argument to `int' from `long double'
/cygdrive/c/DOCUME~1/abrahams/LOCALS~1/Temp/ccG6WrbC.o(.text$_ZSt3sine+0x13):mark.cpp: undefined reference to `sinl'
collect2: ld returned 1 exit status
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: