From owner-freebsd-stable Fri Nov 8 21:39: 1 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86B8437B401 for ; Fri, 8 Nov 2002 21:39:00 -0800 (PST) Received: from ip68-14-62-49.no.no.cox.net (ip68-14-62-49.no.no.cox.net [68.14.62.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id DAD7643E6E for ; Fri, 8 Nov 2002 21:38:59 -0800 (PST) (envelope-from conrads@cox.net) Received: from ip68-14-62-49.no.no.cox.net (localhost [127.0.0.1]) by ip68-14-62-49.no.no.cox.net (8.12.6/8.12.6) with ESMTP id gA95cx57016409; Fri, 8 Nov 2002 23:38:59 -0600 (CST) (envelope-from conrads@ip68-14-62-49.no.no.cox.net) Received: (from conrads@localhost) by ip68-14-62-49.no.no.cox.net (8.12.6/8.12.6/Submit) id gA95cr82016408; Fri, 8 Nov 2002 23:38:53 -0600 (CST) (envelope-from conrads) Message-ID: X-Mailer: XFMail 1.5.3 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Fri, 08 Nov 2002 23:38:53 -0600 (CST) Reply-To: conrads@cox.net Organization: A Rag-Tag Band of Drug-crazed Hippies From: Conrad Sabatier To: Patrick Cable II Subject: Re: apparently, my 'return discards qualifiers from pointer target type' Cc: freebsd-stable@FreeBSD.ORG Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 09-Nov-2002 Patrick Cable II wrote: > Hey all, > > Im compiling 4.7-stable right now and am getting a BUNCH of: > > /usr/src/gnu/usr.bin/binutils/readelf/../../../../contrib/binutils/binutil > s/ > readelf.c:6553: warning: return discards qualifiers from pointer target > type > > messages. Except theyre with different source files, etc. (one of the > source files gets one of those warnings per line of code. Eek!) They are > just warnings and compilation continues, but i dont want to make > installworld and have everything blow up on my face (especially > remotely!) > > Thanks in advance for help These types of warnings are usually caused when the 'const' or 'volatile' qualifier is discarded from a variable reference, e.g., when using such a variable in an expression. They're quite harmless, really. -- Conrad Sabatier To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message