unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* compilation warnings
@ 2003-07-04  4:36 Paul Jarc
  2003-07-27 16:56 ` Marius Vollmer
  0 siblings, 1 reply; 8+ messages in thread
From: Paul Jarc @ 2003-07-04  4:36 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-10-07 16:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-04  4:36 compilation warnings Paul Jarc
2003-07-27 16:56 ` Marius Vollmer
2003-07-28 22:37   ` Kevin Ryde
2003-09-22 21:58   ` Paul Jarc
2003-09-23  4:22     ` Rob Browning
2003-09-23 16:19       ` Paul Jarc
2003-09-24  6:11         ` Rob Browning
2003-10-07 16:00     ` Marius Vollmer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).