Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Mar 2015 07:58:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 198447] Fix graphics/blender build with clang 3.6.0
Message-ID:  <bug-198447-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 198447
           Summary: Fix graphics/blender build with clang 3.6.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: mva@FreeBSD.org
          Reporter: dim@FreeBSD.org
             Flags: maintainer-feedback?(mva@FreeBSD.org)
          Assignee: mva@FreeBSD.org

Created attachment 154046
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=154046&action=edit
Work around array problems in Blender's usage of _Generic

During the exp-run in bug 197395, it was found that graphics/blender gives
errors with clang 3.6.0:

http://package18.nyi.freebsd.org/data/headamd64PR197395-default/2015-02-11_23h04m51s/logs/errors/blender-2.73a.log

These errors are because blender attempts some interesting (or horrible,
depending on your POV :) tricks with _Generic support, and apparently these
fail when used on array types.  To fix this, I have applied the equally
interesting/horrible workaround from here:

http://stackoverflow.com/questions/18857056/c11-generic-how-to-deal-with-string-literals

-- 
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-198447-13>