libstdc++/4087: Cygwin/GCC-3.0 libs missing sinl()

david.abrahams@rcn.com david.abrahams@rcn.com
Wed Aug 22 15:06:00 GMT 2001


>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:



More information about the Gcc-bugs mailing list