Blender fails to build on 32-bit
Closed, ResolvedPublic

Description

Trying to build on a 32-bit machine hits errors in source/blender/bmesh/tools/bmesh_region_match.c with mixing of signed and unsigned integers. The problem arises from the use of the SUID_Int type, which is signed, being assigned some values which are unsigned. I think on 64-bit the former is large enough to hold all values of the latter, so no error is triggered there.

Enclosed

is a quick hack which avoids the errors by making SUID_Int an unsigned type (and adds a cast), but it may defeat some type-safety checking as well.

Details

Type
Bug
Lawrence D'Oliveiro (ldo) updated the task description. (Show Details)
Lawrence D'Oliveiro (ldo) raised the priority of this task from to Needs Triage.
Lawrence D'Oliveiro (ldo) set Type to Bug.
Bastien Montagne (mont29) triaged this task as Normal priority.Oct 5 2014, 9:27 AM

SUID_Int needs to allow negative numbers. will check on a fix