code/D3MFImporter.cpp:230:29: error: invalid operands to binary expression ('float (*)(const char *, const char *)' and 'nullptr_t') vertex.z = ai_strtof>(xmlReader->getAttributeValue(D3MF::XmlTag::z.c_str()), nullptr); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build log: http://sprunge.us/MRJJ likely due to: https://github.com/llvm-mirror/clang/commit/4b6ad14285f3
Upstream: https://github.com/assimp/assimp/issues/1141
"> NULL" should be spelled as "!= NULL" which should hint you're dealing with a typo here. Anyway, to reproduce on earlier FreeBSD releases try $ pkg install llvm-devel $ make clean all CC=clang-devel CXX=clang++-devel CPP=clang-cpp-devel
Can you just add a patch if possible?
Created attachment 178990 [details] typo fix This fixes a regression from https://github.com/assimp/assimp/commit/9b6de15b74f4d44220f0514766d6344f6238cf2f
A commit references this bug: Author: jbeich Date: Tue Jan 17 17:22:21 UTC 2017 New revision: 431762 URL: https://svnweb.freebsd.org/changeset/ports/431762 Log: multimedia/assimp: unbreak build with clang 4.0 code/D3MFImporter.cpp:230:29: error: invalid operands to binary expression ('float (*)(const char *, const char *)' and 'nullptr_t') vertex.z = ai_strtof>(xmlReader->getAttributeValue(D3MF::XmlTag::z.c_str()), nullptr); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PR: 216160 Approved by: Yuri Victorovich <yuri@rawbw.com> (maintainer) MFH: 2017Q1 (changes behavior) Changes: head/multimedia/assimp/Makefile head/multimedia/assimp/files/ head/multimedia/assimp/files/patch-code_D3MFImporter.cpp
A commit references this bug: Author: jbeich Date: Thu Jan 19 05:09:49 UTC 2017 New revision: 431841 URL: https://svnweb.freebsd.org/changeset/ports/431841 Log: MFH: r431762 multimedia/assimp: unbreak build with clang 4.0 code/D3MFImporter.cpp:230:29: error: invalid operands to binary expression ('float (*)(const char *, const char *)' and 'nullptr_t') vertex.z = ai_strtof>(xmlReader->getAttributeValue(D3MF::XmlTag::z.c_str()), nullptr); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PR: 216160 Approved by: Yuri Victorovich <yuri@rawbw.com> (maintainer) Approved by: ports-secteam (feld) Changes: _U branches/2017Q1/ branches/2017Q1/multimedia/assimp/Makefile branches/2017Q1/multimedia/assimp/files/