[Rawstudio-commit] r2361 - branches/rawstudio-1.2/src

Anders Brander anders at brander.dk
Thu Apr 9 19:58:59 CEST 2009


Author: abrander
Date: 2009-04-09 19:58:59 +0200 (Thu, 09 Apr 2009)
New Revision: 2361

Modified:
   branches/rawstudio-1.2/src/Makefile.am
   branches/rawstudio-1.2/src/rs-actions.c
Log:
Fixed two gcc-warnings.

Modified: branches/rawstudio-1.2/src/Makefile.am
===================================================================
--- branches/rawstudio-1.2/src/Makefile.am	2009-04-09 17:53:35 UTC (rev 2360)
+++ branches/rawstudio-1.2/src/Makefile.am	2009-04-09 17:58:59 UTC (rev 2361)
@@ -6,7 +6,7 @@
 	@PACKAGE_CFLAGS@
 
 AM_CFLAGS =\
-	-Wall\
+	-Wall -fno-strict-aliasing\
 	-O4\
 	-DWITH_GCONF\
 	-DDCRAW_NOMAIN\

Modified: branches/rawstudio-1.2/src/rs-actions.c
===================================================================
--- branches/rawstudio-1.2/src/rs-actions.c	2009-04-09 17:53:35 UTC (rev 2360)
+++ branches/rawstudio-1.2/src/rs-actions.c	2009-04-09 17:58:59 UTC (rev 2361)
@@ -56,7 +56,7 @@
 {
 	GString *gs = g_string_new("Action not implemented: ");
 	g_string_append(gs, gtk_action_get_name(action));
-	g_warning(gs->str);
+	g_warning("%s", gs->str);
 	gui_status_notify(gs->str);
 	g_string_free(gs, TRUE);
 }




More information about the Rawstudio-commit mailing list