Building with gcc 4.2.0. cc1: warnings being treated as errors /home/svdb/src/binutils-2.17/binutils/srconv.c: In function 'main': /home/svdb/src/binutils-2.17/binutils/srconv.c:428: warning: passing argument 1 of 'strip_suffix' discards qualifiers from pointer target type
Changing the argument of strip_suffix() to be const fixes the problem. -- Summary: "const" discarded; strip_suffix should have a const argument Product: binutils Version: 2.17 Status: NEW Severity: normal Priority: P2 Component: binutils AssignedTo: unassigned at sources dot redhat dot com ReportedBy: svdb+sourceware dot org at stack dot nl CC: bug-binutils at gnu dot org http://sourceware.org/bugzilla/show_bug.cgi?id=4802 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils