From: Reid Spencer Date: Wed, 31 May 2006 21:53:42 +0000 (+0000) Subject: Squelch this warning: X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6dc6665e299d1d37da6fab0551f27667c1ad6c73;p=oota-llvm.git Squelch this warning: /bzlib.c:126: warning: string length `1056' is greater than the length `509' ISO C89 compilers are required to support git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28602 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Support/bzip2/bzlib.c b/lib/Support/bzip2/bzlib.c index ab359290175..ff3cd16158a 100644 --- a/lib/Support/bzip2/bzlib.c +++ b/lib/Support/bzip2/bzlib.c @@ -108,6 +108,8 @@ void BZ2_bz__AssertH__fail ( int errcode ) "memory reads/writes, and so acts (unintendedly) as a stress\n" "test of your memory system.\n" "\n" + ); + fprintf(stderr, "I suggest the following: try compressing the file again,\n" "possibly monitoring progress in detail with the -vv flag.\n" "\n" @@ -118,6 +120,8 @@ void BZ2_bz__AssertH__fail ( int errcode ) " Memtest86 tests memory much more thorougly than your BIOSs\n" " power-on test, and may find failures that the BIOS doesn't.\n" "\n" + ); + fprintf(stderr, "* If the error can be repeatably reproduced, this is a bug in\n" " bzip2, and I would very much like to hear about it. Please\n" " let me know, and, ideally, save a copy of the file causing the\n"