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: unassig...@gcc.gnu.org ReportedBy: mar...@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)