From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: prj@po.cwru.edu (Paul Jarc) Newsgroups: gmane.lisp.guile.devel Subject: compilation warnings Date: Fri, 04 Jul 2003 00:36:26 -0400 Organization: What did you have in mind? A short, blunt, human pyramid? Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT X-Trace: main.gmane.org 1057293675 24655 80.91.224.249 (4 Jul 2003 04:41:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 4 Jul 2003 04:41:15 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Jul 04 06:41:14 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19YINm-0006PU-00 for ; Fri, 04 Jul 2003 06:41:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19YILV-0007hu-E4 for guile-devel@m.gmane.org; Fri, 04 Jul 2003 00:38:53 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19YIKn-0006jJ-PP for guile-devel@gnu.org; Fri, 04 Jul 2003 00:38:09 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19YIKg-0006Sc-Aw for guile-devel@gnu.org; Fri, 04 Jul 2003 00:38:05 -0400 Original-Received: from lewis.cns.cwru.edu ([129.22.104.62] helo=lewis.cwru.edu) by monty-python.gnu.org with esmtp (Exim 4.20) id 19YIJ7-0005KD-Ab for guile-devel@gnu.org; Fri, 04 Jul 2003 00:36:25 -0400 Original-Received: from multivac.cwru.edu (multivac.STUDENT.CWRU.Edu [129.22.114.26]) by smtp-b.cwru.edu (iPlanet Messaging Server 5.2 Patch 1 (built Aug 19 2002)) with SMTP id <0HHH00K1NGSP2L@smtp-b.cwru.edu> for guile-devel@gnu.org; Fri, 04 Jul 2003 00:36:25 -0400 (EDT) Original-Received: (qmail 26834 invoked by uid 500); Fri, 04 Jul 2003 04:36:48 +0000 Original-To: guile-devel@gnu.org Mail-followup-to: guile-devel@gnu.org Mail-Copies-To: nobody User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) Original-Lines: 17 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:2590 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2590 If I use the "-Wwrite-strings -Wshadow" options for gcc while compiling an extension, I get some warnings that I think could be silenced: .../smob.h:149: warning: declaration of `free' shadows a global declaration .../smob.h:170: warning: declaration of `free' shadows a global declaration .../smob.h:176: warning: declaration of `free' shadows a global declaration .../ports.h:233: warning: declaration of `free' shadows a global declaration .../numbers.h:258: warning: declaration of `div' shadows a global declaration .../libguile-ldap.c:169: warning: passing arg 1 of `scm_make_smob_type' discards qualifiers from pointer target type Is there some reason why scm_make_smob_type's first argument is char* instead of char const*? Should I submit a patch to silence these warnings? paul _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel