Closed Bug 1379521 Opened 2 years ago Closed 3 months ago

mozglue/misc/StackWalk.cpp:170:1: error: unused function 'IsCriticalAddress' [-Werror,-Wunused-function]

Categories

(Core :: mozglue, defect)

All
FreeBSD
defect
Not set

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jbeich, Unassigned)

References

(Blocks 1 open bug)

Details

$ c++ -v
FreeBSD clang version 5.0.0 (trunk 306956) (based on LLVM 5.0.0svn)
Target: x86_64-unknown-freebsd12.0
Thread model: posix
InstalledDir: /usr/bin

$ pkg install autoconf213 gmake python27
$ cd js/src/
$ autoconf-2.13
$ ./configure --disable-jemalloc --enable-warnings-as-errors
$ gmake
[...]
mozglue/misc/StackWalk.cpp:170:1: error: unused function 'IsCriticalAddress'
      [-Werror,-Wunused-function]
IsCriticalAddress(void* aPC)
^
1 error generated.
Regular Firefox build isn't affected due to _Unwind_Backtrace autodetection in the top-level old-configure.in.

This code was removed in bug 1384814.

Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.