bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/23424] gold doesn't build on Darwin


From: zenith432 at users dot sourceforge.net
Subject: [Bug gold/23424] gold doesn't build on Darwin
Date: Tue, 24 Jul 2018 19:56:32 +0000

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]