firefox won't build

Gary Aitken vagabond at blackfoot.net
Wed Jul 31 01:23:47 UTC 2013


Ports tree updated this morning and everything being built on amd64.
Unfortunately, I don't know enough about c++ templates to see what's wrong.
Anyone else seeing this?

In file included from
/usr/ports/www/firefox/work/mozilla-release/gfx/2d/Blur.cp
p:7:
In file included from ../../dist/include/mozilla/gfx/Blur.h:12:
../../dist/include/mozilla/CheckedInt.h:179:31: error: non-type template
      argument of type 'const bool' is not an integral constant expression
    static const bool value = IntegerType(-1) <= IntegerType(0);
                              ^
../../dist/include/mozilla/CheckedInt.h:343:28: note: while checking a
default
      template argument used here
  return IsInRangeImpl<T, U>::run(x);
         ~~~~~~~~~~~~~~~~~~^
../../dist/include/mozilla/CheckedInt.h:578:18: note: in instantiation of
      function template specialization 'mozilla::detail::IsInRange<int,
float>'
      requested here
        mIsValid(detail::IsInRange<T>(value))
                 ^
/usr/ports/www/firefox/work/mozilla-release/gfx/2d/Blur.cpp:404:37: note: in
      instantiation of function template specialization
      'mozilla::CheckedInt<int>::CheckedInt<float>' requested here
  CheckedInt<int32_t> minDataSize = CheckedInt<...




More information about the freebsd-ports mailing list