[Bug 227010] devel/llvm60: Possible clang60 regression in complex numbers handling

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Mar 27 18:29:02 UTC 2018


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

            Bug ID: 227010
           Summary: devel/llvm60: Possible clang60 regression in complex
                    numbers handling
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: brooks at FreeBSD.org
          Reporter: yuri at freebsd.org
             Flags: maintainer-feedback?(brooks at FreeBSD.org)
          Assignee: brooks at FreeBSD.org

Here is the clang bug report with the testcase:
https://bugs.llvm.org/show_bug.cgi?id=36915

This affects the port audio/x42-plugins-lv2 on 12 that has clang60.

The error message:
In file included from src/tuna.c:70:
src/spectr.c:136:32: error: implicit conversion from '_Complex int' to 'double'
is not permitted in C++
                complex_t p = cos (omega) +  _I * sin (omega);
                                             ^~

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


More information about the freebsd-ports-bugs mailing list