Bug 216854 - C11 conformance: csinl() is missing
Summary: C11 conformance: csinl() is missing
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: standards (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-standards (Nobody)
URL:
Keywords:
Depends on: 240295
Blocks:
  Show dependency treegraph
 
Reported: 2017-02-06 19:35 UTC by sgk
Modified: 2019-09-03 06:42 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sgk 2017-02-06 19:35:35 UTC
#include <complex.h>
long double complex
foo(long double complex z)
{
   return (csinl(z));
}

cc -c foo.c
foo.c:7:12: warning: implicitly declaring library function 'csinl' with type
      '_Complex long double (_Complex long double)'
      [-Wimplicit-function-declaration]
   return (csinl(z));
           ^
foo.c:7:12: note: include the header <complex.h> or explicitly provide a
      declaration for 'csinl'
1 warning generated.