thx.

indeed, my custom build had the disable-accessibility flag set, which
worked fine till Fx47.
for future reference, bug 1260190 made accessibilty mandatory on OSX.


mak.

On Tue, Jun 7, 2016, at 15:28, Benjamin Smedberg wrote:
> I think the error message explains itself here. The static function
> PRTImeToSeconds is defined but not used in this filed, which is
> triggering
> a warning which you've turned into an error.
> 
> Looking at this file, I think this is because you're compiling with
> --disable-accessibility, which is a non-default and non-tested option on
> MacOS. I strongly recommend that you compile with as few options as
> possible, since the defaults are what's tested and supported.
> 
> --BDS
> 
> 
> On Tue, Jun 7, 2016 at 5:59 AM, matthias koplenig
> <mozi...@metasieben.org>
> wrote:
> 
> > hi.
> >
> > I'm unable to build Firefox 47 with >ac_add_options
> > --enable-warnings-as-errors< set. 46.0.1 with this option works as
> > expected.
> >
> > i'm getting this error when building:
> >
> >  1:25.86
> >  /Volumes/data/_misc/_src/fx/release/widget/nsBaseWidget.cpp:244:1:
> >  error: unused function 'PRTimeToSeconds' [-Werror,-Wunused-function]
> >  1:25.86 PRTimeToSeconds(PRTime t_usec)
> >  1:25.87 ^
> >  1:25.87 1 error generated.
> >  1:25.87
> >  1:25.87 In the directory
> >  /Volumes/data/_misc/_src/fx/release/build-dir/widget
> >  1:25.87 The following command failed to execute properly:
> >  1:25.87 /usr/local/bin/ccache /usr/local/opt/ccache/libexec/clang++ -o
> >  nsBaseWidget.o -c -fvisibility=hidden -fvisibility-inlines-hidden
> >  -DNDEBUG=1 -DTRIMMED=1 -DMOZ_CROSS_PROCESS_IME -DOS_POSIX=1
> >  -DOS_MACOSX=1 -DSTATIC_EXPORTABLE_JS_API -DMOZILLA_INTERNAL_API
> >  -DIMPL_LIBXUL -I/Volumes/data/_misc/_src/fx/release/widget
> >  -I/Volumes/data/_misc/_src/fx/release/build-dir/widget
> >  -I/Volumes/data/_misc/_src/fx/release/build-dir/ipc/ipdl/_ipdlheaders
> >  -I/Volumes/data/_misc/_src/fx/release/ipc/chromium/src
> >  -I/Volumes/data/_misc/_src/fx/release/ipc/glue
> >  -I/Volumes/data/_misc/_src/fx/release/dom/base
> >  -I/Volumes/data/_misc/_src/fx/release/dom/ipc
> >  -I/Volumes/data/_misc/_src/fx/release/layout/base
> >  -I/Volumes/data/_misc/_src/fx/release/layout/forms
> >  -I/Volumes/data/_misc/_src/fx/release/layout/generic
> >  -I/Volumes/data/_misc/_src/fx/release/layout/xul
> >  -I/Volumes/data/_misc/_src/fx/release/view
> >  -I/Volumes/data/_misc/_src/fx/release/widget
> >  -I/Volumes/data/_misc/_src/fx/release/widget/cocoa
> >  -I/Volumes/data/_misc/_src/fx/release/build-dir/dist/include
> >  -I/Volumes/data/_misc/_src/fx/release/build-dir/dist/include/nspr
> >  -I/Volumes/data/_misc/_src/fx/release/build-dir/dist/include/nss -fPIC
> >  -DMOZILLA_CLIENT -include
> >  /Volumes/data/_misc/_src/fx/release/build-dir/mozilla-config.h -MD -MP
> >  -MF .deps/nsBaseWidget.o.pp -Qunused-arguments -Qunused-arguments -Wall
> >  -Wc++11-compat -Wempty-body -Wignored-qualifiers -Woverloaded-virtual
> >  -Wpointer-arith -Wsign-compare -Wtype-limits -Wwrite-strings
> >  -Wc++11-compat-pedantic -Wc++14-compat -Wc++14-compat-pedantic
> >  -Wclass-varargs -Wloop-analysis -Werror=non-literal-null-conversion
> >  -Wthread-safety -Wunreachable-code -Wno-invalid-offsetof
> >  -Wno-inline-new-delete -Wno-error=deprecated-declarations
> >  -Wno-error=array-bounds -Wno-unknown-warning-option
> >  -Wno-return-type-c-linkage -isysroot
> >  /Users/mak/Desktop/SDKs/MacOSX10.9.sdk -fno-exceptions
> >  -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections
> >  -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -DNO_X11 -pipe -g
> >  -O3 -fomit-frame-pointer -Werror -DNO_X11
> >  /Volumes/data/_misc/_src/fx/release/widget/nsBaseWidget.cpp
> >  1:25.87 make[5]: *** [nsBaseWidget.o] Error 1
> >  1:25.87 make[5]: *** Waiting for unfinished jobs....
> >  1:25.89 Unified_cpp_dom_mathml0.o
> >
> > does anyone know what could be going wrong here?
> >
> >
> > mak.
> > --
> > matthias koplenig - mozi...@metasieben.org
> > _______________________________________________
> > dev-builds mailing list
> > dev-builds@lists.mozilla.org
> > https://lists.mozilla.org/listinfo/dev-builds
> >


-- 
matthias koplenig - mozi...@metasieben.org
_______________________________________________
dev-builds mailing list
dev-builds@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-builds

Reply via email to