Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Sep 2012 10:03:13 +0200
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        Ports FreeBSD <freebsd-ports@freebsd.org>
Subject:   mail/thunderbird-15, www/firefox-15: ./jsproxy.h:17:7: error: visibility does not match previous declaration
Message-ID:  <50446441.7070400@zedat.fu-berlin.de>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig05D0FE7CCBE27D680A340445
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Upgrading/compiling either www/firefox-15 or mail/thunderbird-15 results
on both FreeBSD 9.1-PRE and FreeBSD 10.0-CURRENT using CLANG with this
error:

clang++ -o jsapi.o -c  -I./../../dist/system_wrappers_js -include
=2E/config/gcc_hidden.h -DENABLE_YARR_JIT=3D1 -DMOZ_GLUE_IN_PROGRAM
-DEXPORT_JS_API -DJS_HAS_CTYPES -DDLL_PREFIX=3D\"lib\"
-DDLL_SUFFIX=3D\".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=3Dreturn-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=3Dnative -ffunction-sections -fdata-sections
-pipe  -DNDEBUG -DTRIMMED -O2 -O3 -fomit-frame-pointer
-DUSE_SYSTEM_MALLOC=3D1 -DENABLE_ASSEMBLER=3D1 -DENABLE_JIT=3D1
-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
=2Edeps/jsapi.pp /usr/ports/www/firefox/work/mozilla-release/js/src/jsapi=
=2Ecpp
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:
=2E/jsproxy.h:17:7: error: visibility does not match previous declaration=



I saw this error also when CLANG 3.0 has been upgrade to 3.1.

oh


--------------enig05D0FE7CCBE27D680A340445
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iQEcBAEBAgAGBQJQRGRHAAoJEOgBcD7A/5N83pUH/2KXjoKYErFIV3Dfd04DCthe
JsUKXvwGSbL9GTfsmD21nDhb1IVV5O+wvwV/yhSXVOkVqpOPLFB+UVDPfUOd1YRt
1QKOoReSOMuQOL7cRc0A/GU+OpDBlx9U9iaH4tdUYsYtL+trCt5CP9zp0y6R9BOQ
xq3htLwSpyaXifZOFvPGrgikZaVXdSzuIB6kHj+0P+5EokFfQWRFNuXxlGksILdt
RSZru+xcWhhNZyK6uHYQNJ3gSQfXCgxpZbNhDKhX/d8EbqwQQqSvCbypI6RaDSpY
Qq/AdTDtyEydxYxROEsJO6/U2HFD6I96m0WkWEoX7ihWQFvlW0nvVbFfF9QLxYQ=
=vdZU
-----END PGP SIGNATURE-----

--------------enig05D0FE7CCBE27D680A340445--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50446441.7070400>