This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/54727] New: [4.8 Regression] error: declaration of âUINT64_Câ must be available


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54727

             Bug #: 54727
           Summary: [4.8 Regression] error: declaration of âUINT64_Câ must
                    be available
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: markus@trippelsdorf.de


r191758 caused (during Firefox build):

...
In file included from
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/include/g++-v4/random:51:0,
                 from
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/include/g++-v4/bits/stl_algo.h:67,
                 from
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/include/g++-v4/algorithm:63,
                 from ../../dist/system_wrappers/algorithm:3,
                 from ../../dist/stl_wrappers/algorithm:50,
                 from ../../dist/include/shared-libraries.h:14,
                 from ../../dist/include/mozilla/Telemetry.h:15,
                 from
/var/tmp/mozilla-central/xpcom/base/nsMemoryReporterManager.cpp:19:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/include/g++-v4/bits/opt_random.h: In
member function âvoid
std::normal_distribution<_RealType>::__generate(std::normal_distribution<_RealType>::result_type*,
std::normal_distribution<_RealType>::result_type*,
_UniformRandomNumberGenerator&, const
std::normal_distribution<_RealType>::param_type&) [with
_UniformRandomNumberGenerator = _UniformRandomNumberGenerator; _RealType =
double]â:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/include/g++-v4/bits/opt_random.h:67:57:
error: there are no arguments to âUINT64_Câ that depend on a template
parameter, so a declaration of âUINT64_Câ must be available [-fpermissive]
  constexpr uint64_t __maskval = UINT64_C(0xfffffffffffff);
                                                         ^
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/include/g++-v4/bits/opt_random.h:67:57:
note: (if you use â-fpermissiveâ, G++ will accept your code, but allowing the
use of an undeclared name is deprecated)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]