You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The file core/thumbnailjob.cpp features the use of mempcpy(3) function on line 99. This particular function is a non-standard extension by GNU, which may cause concerns regarding compatibility and is already the reason why libfm-qt refuses to compile on FreeBSD when built from this very repository by clang (however, there is a FreeBSD package and port available).
Possible Solution
Replace mempcpy with an applicable function from the Standard C Library. I don’t quite know what exactly makes mempcpy special, but right now I see memmove as the closest alternative.
Provide information on how to enable GNU extensions on Clang. If this solution fails, this might mean that I have to use glibc and gcc...
System Information
Distribution & Version: FreeBSD 1.12-RELEASE (i386)
Compiler: clang (LLVM 6.0)
The text was updated successfully, but these errors were encountered:
After examining the mempcpy source code at Sourceware, I find that it offers no advantages over basic memcpy, therefore I am submitting a pull request.
The file core/thumbnailjob.cpp features the use of
mempcpy(3)
function on line 99. This particular function is a non-standard extension by GNU, which may cause concerns regarding compatibility and is already the reason whylibfm-qt
refuses to compile on FreeBSD when built from this very repository byclang
(however, there is a FreeBSD package and port available).Possible Solution
mempcpy
with an applicable function from the Standard C Library. I don’t quite know what exactly makesmempcpy
special, but right now I seememmove
as the closest alternative.gcc
...System Information
The text was updated successfully, but these errors were encountered: