[Bug 216862] C11 conformance: cexpl() is missing

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Feb 6 19:45:22 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216862

            Bug ID: 216862
           Summary: C11 conformance: cexpl() is 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>
long double complex
foo(long double complex z)
{
   return (cexpl(z));
}

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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-standards mailing list