Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Mar 2018 18:29:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 227010] devel/llvm60: Possible clang60 regression in complex numbers handling
Message-ID:  <bug-227010-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227010

            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@FreeBSD.org
          Reporter: yuri@freebsd.org
             Flags: maintainer-feedback?(brooks@FreeBSD.org)
          Assignee: brooks@FreeBSD.org

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

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 'dou=
ble'
is not permitted in C++
                complex_t p =3D cos (omega) +  _I * sin (omega);
                                             ^~

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227010-13>