I noticed a security message last night so I decided to upgrade Firefox on both my 9.3 and 10.1 machines. The 10.1 compiled cleanly and installed without problems while the 9.3 gave me the following error:
Can someone suggest what caused the error?
Thank you.
Code:
In file included from /usr/ports/www/firefox/work/mozilla-release/obj-i387-portbld-freebsd9.3/content/media/Unified_cpp_content_media1.cpp:29:
/usr/ports/www/firefox/work/mozilla-release/content/media/MediaDecoderStateMachine.cpp:1315:7: error:
call to 'abs' is ambiguous
std::abs(aDuration - duration) > ESTIMATED_DURATION_FUZZ_FACTOR...
/usr/include/stdlib.h:83:6: note: candidate function
int abs(int) __pure2;
^
/usr/include/c++/4.2/cmath:89:3: note: candidate function
abs(double __x)
^
/usr/include/c++/4.2/cmath:93:3: note: candidate function
abs(float __x)
^
/usr/include/c++/4.2/cmath:97:3: note: candidate function
abs(long double __x)
^
/usr/include/c++/4.2/cstdlib:143:3: note: candidate function
abs(long __i) { return labs(__i); }
^
1 error generated.
/usr/ports/www/firefox/work/mozilla-release/config/rules.mk:948: recipe for target 'Unified_cpp_content_media1.o' failed
gmake[5]: *** [Unified_cpp_content_media1.o] Error 1
Can someone suggest what caused the error?
Thank you.