Bug 216859

Summary: C11 conformance: ccoshl() 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:42:01 UTC
#include <complex.h>
long double complex
foo(long double complex z)
{
   return (ccoshl(z));
}

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