Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Jun 2018 00:32:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 228730] graphics/mandelbulber does not build with clang 6.0
Message-ID:  <bug-228730-7788@https.bugs.freebsd.org/bugzilla/>

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

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

Created attachment 193977
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D193977&action=
=3Dedit
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.

--=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-228730-7788>