[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: coreutils-6.5: yet another C89 problem
From: |
Jim Meyering |
Subject: |
Re: coreutils-6.5: yet another C89 problem |
Date: |
Sun, 26 Nov 2006 18:55:00 +0100 |
Paul Eggert <address@hidden> wrote:
> Matthew Woehlke <address@hidden> writes:
>
>> Ok, happen to have a quick how-to? (A cron job that *doesn't* mail me
>> unless there is a problem would be nice :-).)
>
> http://buildbot.sourceforge.net/
>
> I haven't built one myself, but others have....
This will keep me from releasing decl-after-stmt code in coreutils/src:
* Makefile.maint (patch-check): Compile patched sources with
CFLAGS='-Wdeclaration-after-statement -Werror', to ensure that
no violations remain.
diff --git a/Makefile.maint b/Makefile.maint
index 8fa6f70..9400b49 100644
--- a/Makefile.maint
+++ b/Makefile.maint
@@ -334,6 +334,9 @@ patch-check:
if test "$${REGEN_PATCH+set}" = set; then \
diff -upr src src-c89 > new-diff || : ; fi
fail=0; test -s address@hidden && fail=1 || : ; \
+ rm -f src-c89/*.o || fail=1; \
+ $(MAKE) -C src-c89 CFLAGS='-g -Wdeclaration-after-statement -Werror' \
+ || fail=1; \
rm -rf src-c89 address@hidden address@hidden; \
test $$fail = 0
- coreutils-6.5: yet another C89 problem, Michael Deutschmann, 2006/11/20
- Re: coreutils-6.5: yet another C89 problem, Jim Meyering, 2006/11/21
- Re: coreutils-6.5: yet another C89 problem, Matthew Woehlke, 2006/11/21
- Re: coreutils-6.5: yet another C89 problem, Jim Meyering, 2006/11/21
- Re: coreutils-6.5: yet another C89 problem, Matthew Woehlke, 2006/11/21
- Re: coreutils-6.5: yet another C89 problem, Paul Eggert, 2006/11/21
- Re: coreutils-6.5: yet another C89 problem, Matthew Woehlke, 2006/11/21
- Re: coreutils-6.5: yet another C89 problem, Paul Eggert, 2006/11/22
- Message not available
- Re: coreutils-6.5: yet another C89 problem, Paul Eggert, 2006/11/22
- Re: coreutils-6.5: yet another C89 problem,
Jim Meyering <=
- Re: coreutils-6.5: yet another C89 problem, Paul Eggert, 2006/11/27
- Re: coreutils-6.5: yet another C89 problem, Jim Meyering, 2006/11/27
- Re: coreutils-6.5: yet another C89 problem, Paul Eggert, 2006/11/27
- Message not available
- Re: coreutils-6.5: yet another C89 problem, Jim Meyering, 2006/11/27
- Re: coreutils-6.5: yet another C89 problem, Bob Proulx, 2006/11/28
- Re: coreutils-6.5: yet another C89 problem, Jim Meyering, 2006/11/28
- Re: coreutils-6.5: yet another C89 problem, Bob Proulx, 2006/11/28
- Re: coreutils-6.5: yet another C89 problem, Jim Meyering, 2006/11/28
- Re: coreutils-6.5: yet another C89 problem, Matthew Woehlke, 2006/11/28
- Re: coreutils-6.5: yet another C89 problem, Andreas Schwab, 2006/11/28