https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113461
Rainer Orth <ro at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target|hppa*-*-linux* |hppa*-*-linux*,
| |*-*-solaris2.11
CC| |ro at gcc dot gnu.org
--- Comment #2 from Rainer Orth <ro at gcc dot gnu.org> ---
I'm seeing the same on 32-bit Solaris/SPARC and x86. On top of that, there's
also
/vol/gcc/src/hg/master/local/gcc/rust/backend/rust-compile-base.cc: In member
function 'tree_node*
Rust::Compile::HIRCompileBase::resolve_method_address(Rust::TyTy::FnType*,
Rust::TyTy::BaseType*, location_t)':
/vol/gcc/src/hg/master/local/gcc/rust/backend/rust-compile-base.cc:968:46:
error: format '%lu' expects argument of type 'long unsigned int', but argument
3 has type 'std::set<Rust::Resolver::PathProbeCandidate>::size_type' {aka
'unsigned int'} [-Werror=format=]
968 | rust_debug_loc (expr_locus, "resolved to %lu candidates",
candidates.size ());
| ~~^
~~~~~~~~~~~~~~~~~~
| |
|
| long unsigned int
std::set<Rust::Resolver::PathProbeCandidate>::size_type {aka unsigned int}
| %u
I'm using the attached patch to fix the build.
--
You are receiving this mail because:
You are on the CC list for the bug.