Commit a5ee2d81 authored by Darin Adler's avatar Darin Adler
Browse files

Turned warnings back on. Fixed a warnings. More cvsignoring.

parent 0d0d327a
2000-01-03 John Sullivan <sullivan@eazel.com>
* Took out unused local variables. My compiler didn't
notice these because -Wall isn't in our compile flags.
Darin is fixing the compile flags.
2000-01-03 Darin Adler <darin@eazel.com>
* configure.in: Added "-Wall -Wno-unused" to list of warnings.
It seems to me that at one point we got these from the gnome
default warnings, but this seems to have stopped. There's no
harm in repeating them in here and it fixes the problem for
now, but I'd like to know what happened.
* components/html/.cvsignore: Added some generated files.
* components/html/gnome-dialogs.c (glibwww_progress):
Replaced an incorrect "%l" in a printf format string with
the correct "%ld".
* libnautilus/.cvsignore: Added some generated files.
2000-01-03 Elliot Lee <sopwith@redhat.com>
......
.deps
.libs
Makefile
Makefile.in
ntl-web-browser
......@@ -162,7 +162,7 @@ glibwww_progress(HTRequest *request, HTAlertOpcode op,
long b_read = HTRequest_bodyRead(request);
gfloat pcnt = (double)b_read/cl;
text = g_strdup_printf(_("Read %d%%%% of %l"), (int)pcnt, cl);
text = g_strdup_printf(_("Read %d%%%% of %ld"), (int)pcnt, cl);
gtk_progress_set_format_string(info->progress, text);
g_free(text);
gtk_progress_set_activity_mode(info->progress, FALSE);
......
......@@ -28,7 +28,8 @@ set_more_warnings="$enableval", set_more_warnings=yes)
if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
echo "enable compile warnings = $set_more_warnings"
CFLAGS="$CFLAGS \
-W -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes \
-W -Wall -Wno-unused \
-Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes \
-Wnested-externs -Wpointer-arith \
-Wno-sign-compare -Wsign-promo"
fi
......
......@@ -3,9 +3,14 @@
*.lo
Makefile
Makefile.in
fsextension-common.c
fsextension.h
fsextension_idl_stamp
fsextension-skels.c
fsextension-stubs.c
libnautilus.la
nautilus-common.c
nautilus-skels.c
nautilus-stubs.c
nautilus.h
nautilus_idl_stamp
nautilus-skels.c
nautilus-stubs.c
......@@ -3,9 +3,14 @@
*.lo
Makefile
Makefile.in
fsextension-common.c
fsextension.h
fsextension_idl_stamp
fsextension-skels.c
fsextension-stubs.c
libnautilus.la
nautilus-common.c
nautilus-skels.c
nautilus-stubs.c
nautilus.h
nautilus_idl_stamp
nautilus-skels.c
nautilus-stubs.c
......@@ -3,9 +3,14 @@
*.lo
Makefile
Makefile.in
fsextension-common.c
fsextension.h
fsextension_idl_stamp
fsextension-skels.c
fsextension-stubs.c
libnautilus.la
nautilus-common.c
nautilus-skels.c
nautilus-stubs.c
nautilus.h
nautilus_idl_stamp
nautilus-skels.c
nautilus-stubs.c
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment