https://sourceware.org/bugzilla/show_bug.cgi?id=23424

--- Comment #5 from zenith432 at users dot sourceforge.net ---
This can be silenced with CXXFLAGS="-std=c++11 -Wno-c++11-narrowing", but
should probably be reported separately as a bug.  The enum in namespace elfcpp
ends up having type "unsigned int" because non-decimal literals that exceed
"int" but fit in "unsigned int" have type "unsigned int".

I think a fix should change the type of parameter pr_type in function
record_gnu_property to "unsigned int" instead of casting it.  I see that in
function add_property it is declared with type "unsigned int" - so there's some
inconsitency with it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to