Commit 80fc1609 authored by Darin Adler's avatar Darin Adler

Make optimized builds succeed.

        * configure.in: Turn off uninitialized variable warnings.
        At some point, we should turn these off only for the ORBit-
        generated stub files, since they are meaningful and useful
        in other files. For now, though, since we use -Werror, we
	need be sure these warnings don't cause trouble for people
        who do optimized builds.

        * src/ntl-main.c (main): Added GnomeUI to the list of domains
        to "stop on warning/critical".
parent e9c820b5
2000-02-04 Darin Adler <darin@eazel.com>
Make optimized builds succeed.
* configure.in: Turn off uninitialized variable warnings.
At some point, we should turn these off only for the ORBit-
generated stub files, since they are meaningful and useful
in other files. For now, though, since we use -Werror, we
need be sure these warnings don't cause trouble for people
who do optimized builds.
* src/ntl-main.c (main): Added GnomeUI to the list of domains
to "stop on warning/critical".
2000-02-04 John Sullivan <sullivan@eazel.com>
Some renaming and reorganization heading towards supporting
......
......@@ -28,7 +28,7 @@ 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 \
-Wall \
-Wall -Wno-uninitialized \
-Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes \
-Wnested-externs -Wpointer-arith \
-Wno-sign-compare -Wsign-promo"
......
......@@ -55,11 +55,11 @@ main(int argc, char *argv[])
};
/* Make criticals and warnings stop in the debugger if NAUTILUS_DEBUG is set.
Unfortunately, this has to be done explicitly for each domain.
*/
* Unfortunately, this has to be done explicitly for each domain.
*/
if (getenv("NAUTILUS_DEBUG") != NULL)
nautilus_make_warnings_and_criticals_stop_in_debugger
(G_LOG_DOMAIN, g_log_domain_glib, "Gdk", "GnomeVFS", "Gtk", NULL);
(G_LOG_DOMAIN, g_log_domain_glib, "Gdk", "Gtk", "GnomeVFS", "GnomeUI", NULL);
/* Initialize the services that we use. */
CORBA_exception_init(&ev);
......
......@@ -55,11 +55,11 @@ main(int argc, char *argv[])
};
/* Make criticals and warnings stop in the debugger if NAUTILUS_DEBUG is set.
Unfortunately, this has to be done explicitly for each domain.
*/
* Unfortunately, this has to be done explicitly for each domain.
*/
if (getenv("NAUTILUS_DEBUG") != NULL)
nautilus_make_warnings_and_criticals_stop_in_debugger
(G_LOG_DOMAIN, g_log_domain_glib, "Gdk", "GnomeVFS", "Gtk", NULL);
(G_LOG_DOMAIN, g_log_domain_glib, "Gdk", "Gtk", "GnomeVFS", "GnomeUI", NULL);
/* Initialize the services that we use. */
CORBA_exception_init(&ev);
......
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