[Bug 216863] /* C11 conformance: clog(), clogf, and clogl are missing */
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Feb 6 19:47:57 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216863
Bug ID: 216863
Summary: /* C11 conformance: clog(), clogf, and clogl are
missing */
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: standards
Assignee: freebsd-standards at FreeBSD.org
Reporter: sgk at troutmask.apl.washington.edu
#include <complex.h>
double complex
foo(double complex z)
{
return (clog(z));
}
float complex
foof(float complex z)
{
return (clogf(z));
}
long double complex
fool(long double complex z)
{
return (clogl(z));
}
cc -c foo.c
foo.c:7:12: warning: implicitly declaring library function 'clog' with type
'_Complex double (_Complex double)' [-Wimplicit-function-declaration]
return (clog(z));
^
foo.c:7:12: note: include the header <complex.h> or explicitly provide a
declaration for 'clog'
foo.c:12:12: warning: implicitly declaring library function 'clogf' with type
'_Complex float (_Complex float)' [-Wimplicit-function-declaration]
return (clogf(z));
^
foo.c:12:12: note: include the header <complex.h> or explicitly provide a
declaration for 'clogf'
foo.c:18:12: warning: implicitly declaring library function 'clogl' with type
'_Complex long double (_Complex long double)'
[-Wimplicit-function-declaration]
return (clogl(z));
^
foo.c:18:12: note: include the header <complex.h> or explicitly provide a
declaration for 'clogl'
3 warnings generated.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-standards
mailing list