[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
compilation warnings
From: |
Paul Jarc |
Subject: |
compilation warnings |
Date: |
Fri, 04 Jul 2003 00:36:26 -0400 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) |
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
- compilation warnings,
Paul Jarc <=