It compiles and works fine on g/fbsd 7.0
Created attachment 326404 [details] build.log Now it fails with: In file included from /usr/include/sys/types.h:47:0, from /usr/include/zconf.h:424, from /usr/include/zlib.h:34, from /usr/include/minizip/unzip.h:51, from ../System.h:23, from expr.y:11: /usr/include/sys/_pthreadtypes.h:65:16: error: reference to 'pthread' is ambiguous /usr/include/sys/_pthreadtypes.h:44:8: error: candidates are: struct pthread In file included from expr.y:3:0: /usr/include/stdio.h:143:9: error: struct std::pthread In file included from /usr/include/sys/types.h:47:0, from /usr/include/zconf.h:424, from /usr/include/zlib.h:34, from /usr/include/minizip/unzip.h:51, from ../System.h:23, from expr.y:11: /usr/include/sys/_pthreadtypes.h:65:36: error: invalid type in declaration before ';' token /usr/include/sys/_pthreadtypes.h:69:16: error: reference to 'pthread_mutex' is ambiguous /usr/include/sys/_pthreadtypes.h:48:8: error: candidates are: struct pthread_mutex
Created attachment 326406 [details, diff] patch to workaround the issue Including sys/types.h avoid the error.
looks fine, commit on.
Thanks. I've added the patch and added ~x86-fbsd.