Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jul 2013 19:23:08 -0600 (MDT)
From:      "Gary Aitken" <vagabond@blackfoot.net>
To:        freebsd-ports@freebsd.org
Subject:   firefox won't build
Message-ID:  <53289.12.32.36.70.1375233788.squirrel@webmail.blackfoot.net>

next in thread | raw e-mail | index | archive | help
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<...





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