[Bug 228730] graphics/mandelbulber does not build with clang 6.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jun 4 00:32:15 UTC 2018


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

            Bug ID: 228730
           Summary: graphics/mandelbulber does not build with clang 6.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: amdmi3 at FreeBSD.org
          Reporter: truckman at FreeBSD.org
          Assignee: amdmi3 at FreeBSD.org
             Flags: maintainer-feedback?(amdmi3 at FreeBSD.org)

Created attachment 193977
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=193977&action=edit
patch to unbreak mandelbulber build with clang 6.0

mandelbuilber 1.13.1 is pretty far out of date ...

It also fails to build with clang 6.0, with three types of errors:
  invalid suffix on literal; C++11 requires a space between literal and
identifier [-Wreserved-user-defined-literal]

  type 'double' cannot be narrowed to 'unsigned short' in initializer list
[-Wc++11-narrowing]

  non-constant-expression cannot be narrowed from type 'int' to 'guint16' (aka
'unsigned short') in initializer list [-Wc++11-narrowing]

  non-constant-expression cannot be narrowed from type 'int' to 'unsigned
short' in initializer list [-Wc++11-narrowing]

  assigning to 'int' from incompatible type '__bind<int &, sockaddr *&,
unsigned int &>'

The attached patch fixes the build for me.

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


More information about the freebsd-ports-bugs mailing list