From aad55a71f6aa3f7195c4b4b022773c5ae1c01728 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Tue, 3 Nov 2009 16:44:47 +0000 Subject: [PATCH] Comment out code which provokes strange gcc optimization error. --- fuse/guestmount.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fuse/guestmount.c b/fuse/guestmount.c index ec3cc77..3ae614c 100644 --- a/fuse/guestmount.c +++ b/fuse/guestmount.c @@ -1110,6 +1110,10 @@ main (int argc, char *argv[]) /* Finish off FUSE args. */ ADD_FUSE_ARG (argv[optind]); + /* + It says about the line containing the for-statement: + error: assuming signed overflow does not occur when simplifying conditional to constant [-Wstrict-overflow] + if (verbose) { fprintf (stderr, "guestmount: invoking FUSE with args ["); for (i = 0; i < fuse_argc; ++i) { @@ -1118,6 +1122,7 @@ main (int argc, char *argv[]) } fprintf (stderr, "]\n"); } + */ r = fuse_main (fuse_argc, (char **) fuse_argv, &fg_operations, NULL); -- 1.8.3.1