Changeset: 20ffa86c47f7 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=20ffa86c47f7
Modified Files:
        pathfinder/compiler/debug/abssynprint.c
Branch: Oct2010
Log Message:

avoid empty format string to fix compilation with clang 2.8 on 64-bit Fedora 14:

pathfinder/compiler/debug/abssynprint.c:538:46: error: format string is empty 
[-Wformat-zero-length]
                PFprettyprintf (n->sem.tru ? "" : "value of");
                                             ^~


diffs (12 lines):

diff -r 0fcb42042226 -r 20ffa86c47f7 pathfinder/compiler/debug/abssynprint.c
--- a/pathfinder/compiler/debug/abssynprint.c   Tue Dec 07 19:31:52 2010 +0100
+++ b/pathfinder/compiler/debug/abssynprint.c   Tue Dec 07 19:36:42 2010 +0100
@@ -535,7 +535,7 @@
                 } break;
 
             case p_replace:
-                PFprettyprintf (n->sem.tru ? "" : "value of");
+                PFprettyprintf ("%s", n->sem.tru ? "" : "value of");
                 break;
 
             default:
_______________________________________________
Checkin-list mailing list
Checkin-list@monetdb.org
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to