[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/4802] New: "const" discarded; strip_suffix should have a c
From: |
svdb+sourceware dot org at stack dot nl |
Subject: |
[Bug binutils/4802] New: "const" discarded; strip_suffix should have a const argument |
Date: |
17 Jul 2007 18:03:06 -0000 |
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/4802] New: "const" discarded; strip_suffix should have a const argument,
svdb+sourceware dot org at stack dot nl <=