[Bug 198447] Fix graphics/blender build with clang 3.6.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Mar 9 07:58:21 UTC 2015


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 at FreeBSD.org
          Reporter: dim at FreeBSD.org
             Flags: maintainer-feedback?(mva at FreeBSD.org)
          Assignee: mva at 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.


More information about the freebsd-ports-bugs mailing list