Bug 216855 - C11 conformance: ctanl() is missing
Summary: C11 conformance: ctanl() is missing
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: standards (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-standards (Nobody)
URL:
Keywords:
Depends on: 240295
Blocks:
  Show dependency treegraph
 
Reported: 2017-02-06 19:36 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:36:33 UTC
#include <complex.h>
long double complex
foo(long double complex z)
{
   return (ctanl(z));
}

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