Both ports, www/firefox and mail/thunderbird, reject compiling/updating with almost the same error as shown below for www/firefox. This happens on all FreeBSD 10-CURRENT/amd64 boxes compiling with CLANG. FreeBSD 9 is fine. Are there any solutions? Is this problem "well known" and I missed something? regards, Oliver [...] In file included from In file included from /usr/ports/www/firefox/work/mozilla-release/js/src/jsalloc.cpp:40: In file included from ./jscntxt.h:50: ./jsapi.h:2102:1: error: 'JS_GetNaNValue' has C-linkage specified, but returns user-defined type 'jsval' (aka 'JS::Value') which is incompatible with C [-Werror,-Wreturn-type-c-linkage] JS_GetNaNValue(JSContext *cx); ^ ./jsapi.h:2105:1: error: 'JS_GetNegativeInfinityValue' has C-linkage specified, but returns user-defined type 'jsval' (aka 'JS::Value') which is incompatible with C [-Werror,-Wreturn-type-c-linkage] JS_GetNegativeInfinityValue(JSContext *cx); ^ ./jsapi.h:2108:1: error: 'JS_GetPositiveInfinityValue' has C-linkage specified, but returns user-defined type 'jsval' (aka 'JS::Value') which is incompatible with C [-Werror,-Wreturn-type-c-linkage] JS_GetPositiveInfinityValue(JSContext *cx); ^ /usr/ports/www/firefox/work/mozilla-release/js/src/jsanalyze.cpp:40: In file included from ./jsanalyze.h:44: In file included from ./jscompartment.h:46: In file included from ./jscntxt.h:50: ./jsapi.h:2102:1: error: 'JS_GetNaNValue' has C-linkage specified, but returns user-defined type 'jsval' (aka 'JS::Value') which is incompatible with C [-Werror,-Wreturn-type-c-linkage] JS_GetNaNValue(JSContext *cx); ^ ./jsapi.h:2105:1: error: 'JS_GetNegativeInfinityValue' has C-linkage specified, but returns user-defined type 'jsval' (aka 'JS::Value') which is incompatible with C [-Werror,-Wreturn-type-c-linkage] JS_GetNegativeInfinityValue(JSContext *cx); ^ ./jsapi.h:2108:1: error: 'JS_GetPositiveInfinityValue'In file included from has/usr/ports/www/firefox/work/mozilla-release/js/src/jsdbgapi.cpp :C-linkage47 : In file included from specified,./jsprvtd.h:57 : but ./jsapi.hreturns: 2102user-defined: 1type: 'jsval' (aka 'JS::Value')error: which is 'JS_GetNaNValue' has C-linkage specified, but returns user-definedincompatible type 'jsval' (aka 'JS::Value') which isIn file included from /usr/ports/www/firefox/work/mozilla-release/js/src/jsarray.cppwith: 108C: incompatible with C [-Werror,-Wreturn-type-c-linkage]./jsapi.h:2102 :[-Werror,-Wreturn-type-c-linkage]1 : error: 'JS_GetNaNValue'JS_GetNaNValue(JSContext *cx); has ^C-linkage specified, but returns user-defined type 'jsval' (aka 'JS::Value') which is incompatible with C [-Werror,-Wreturn-type-c-linkage] JS_GetNaNValue(JSContext *cx); ^ ./jsapi.h:2105:1: error: 'JS_GetNegativeInfinityValue' has C-linkage specified, but returns user-defined type 'jsval' (aka 'JS::Value') which is incompatible with C [-Werror,-Wreturn-type-c-linkage] JS_GetNegativeInfinityValue(JSContext *cx);
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:26 UTC