Re: ports that will fail with LLVM 11
Christian Weisgerber: > On 2021-03-09, Stuart Henderson wrote: > > > Some ports have failures that appear to be issues with the compiler/diff > > and I haven't listed them below; the following are problems with the > > ports themselves: All of those have been fixed. -- Christian "naddy" Weisgerber na...@mips.inka.de
Re: ports that will fail with LLVM 11
Christian Weisgerber: > emulators/BasiliskIIundeclared identifier sem_timedwait > graphics/delaboratory unknown type name sem_t Quick analysis: Those fail because they include their own semaphore.h header, which is picked up by /usr/include/c++/v1/__threading_support. In fact, BasiliskII includes its own implementation of the standard sem_* functions. -- Christian "naddy" Weisgerber na...@mips.inka.de
Re: ports that will fail with LLVM 11
On 2021-03-09, Stuart Henderson wrote: > Some ports have failures that appear to be issues with the compiler/diff > and I haven't listed them below; the following are problems with the > ports themselves: devel/electron destructor cannot be declared using a type alias emulators/BasiliskIIundeclared identifier sem_timedwait graphics/delaboratory unknown type name sem_t inputmethods/scim-anthy const char [1] cannot be narrowed to bool mail/kopano/corebool nullptr_r assignment multimedia/lives-fno-common security/wpa_supplicant cast to smaller integer type kopano looks like a simple fix s/NULL/false/, until you realize that the bad code is generated by swig. -- Christian "naddy" Weisgerber na...@mips.inka.de
ports that will fail with LLVM 11
Here are results from an i386 bulk build done with the base compiler updated to clang from LLVM 11.1.0 and the matching libc++. (ports/devel/llvm was not touched). Some ports have failures that appear to be issues with the compiler/diff and I haven't listed them below; the following are problems with the ports themselves: inputmethods/scim-anthy: scim_anthy_prefs.cpp:223:9: error: type 'const char [1]' cannot be narrowed to 'bool' in initializer list [-Wc++11-narrowing] sysutils/sleuthkit: ./../fs/tsk_apfs.hpp:982:31: error: anonymous non-C-compatible type given name for linkage purposes by alias declaration; add a tag name here [-Werror,-Wnon-c-typedef-for-linkage] mail/kopano/core: mapi_wrap.cxx:35064:8: error: cannot initialize a variable of type 'bool' with an rvalue of type 'nullptr_t'