Firefox-15/Thunderbird-15: won't compile on FreeBSD 10.0-CUR: /jsproxy.h:17:7: error: visibility does not match previous declaration

From: O. Hartmann <ohartman_at_zedat.fu-berlin.de>
Date: Wed, 05 Sep 2012 10:11:38 +0200
Hello.

Udating/reinstalling of both ports www/firefox (15.0) and
mail/thunderbird (15) fail with an error like showed below.

Last time I saw this on FreeBSD 10.0-CUR ( r240108M), it was almost the
same issue due to the compiler change from CLANG 3.0 -> 3.1 as far as I
experienced and has been fixed later.

Just wondering if this is a regression ...

Oliver

clang++ -o jsapi.o -c  -I./../../dist/system_wrappers_js -include
./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DMOZ_GLUE_IN_PROGRAM
-DEXPORT_JS_API -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\"
-DDLL_SUFFIX=\".so\" -DNO_NSPR_10_SUPPORT
-I/usr/local/lib/libffi-3.0.9/include  -I.
-I./../../mfbt/double-conversion -I. -I. -I./../../dist/include
-I./../../dist/include/nsprpub  -I/usr/local/include/nspr  -I.
-I./assembler -I./yarr  -fPIC -Qunused-arguments
-isystem/usr/local/include        -I/usr/local/include/nss
-I/usr/local/include/nss/nss      -I/usr/local/include -fno-rtti
-Qunused-arguments -Wall -Wpointer-arith -Woverloaded-virtual
-Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy
-Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros
-Wno-c++0x-extensions -Wno-extended-offsetof -Wno-unknown-warning-option
-Wno-return-type-c-linkage -O2 -fno-strict-aliasing -pipe -pipe -O3
-fno-strict-aliasing -march=native -ffunction-sections -fdata-sections
-pipe  -DNDEBUG -DTRIMMED -O2 -O3 -fomit-frame-pointer
-DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1
-Qunused-arguments -isystem/usr/local/include
-I/usr/local/include/nss -I/usr/local/include/nss/nss
-I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF
.deps/jsapi.pp /usr/ports/www/firefox/work/mozilla-release/js/src/jsapi.cpp
In file included from
/usr/ports/www/firefox/work/mozilla-release/js/src/jsanalyze.cpp:12:
In file included from ./jsinferinlines.h:18:
In file included from ./vm/Stack-inl.h:17:
In file included from ./jsscriptinlines.h:22:
In file included from ./jsscopeinlines.h:28:
In file included from ./jsobjinlines.h:24:
./jsproxy.h:17:7: error: visibility does not match previous declaration
class JS_FRIEND_API(BaseProxyHandler) {


Received on Wed Sep 05 2012 - 06:11:45 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:30 UTC