Bug 216853

Summary: C11 conformance: ccosl() is missing
Product: Base System Reporter: sgk
Component: standardsAssignee: freebsd-standards (Nobody) <standards>
Status: Open ---    
Severity: Affects Many People CC: emaste
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   
Bug Depends on: 240295    
Bug Blocks:    

Description sgk 2017-02-06 19:34:26 UTC
#include <complex.h>
long double complex
foo(long double complex z)
{
   return (ccosl(z));
}

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