Bug 216859 - C11 conformance: ccoshl() is missing
Summary: C11 conformance: ccoshl() 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:42 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: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.