hello.
compiling the 2.2.9 release with gcc 4.7.1 threw:
gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/share/locale\" -I. -I.
-I.. -I. -I. -I../intl -I/usr/local/include -L/usr/local/lib64 -O0
-ggdb3 -I/usr/local/include -L/usr/local/lib64 -c `test -f 'output.c'
|| echo './'`output.c
output.c:26:26: error: static declaration of ‘output’ follows
non-static declaration
In file included from output.c:19:0:
trivial fix attached. my apologies if this has already been addressed.
i did endeavor to find the latest source to check, but came up short.
where is the repo now please? i failed with:
cvs -d:pserver:[email protected]:/sources/indent co cvs
and attempting to browse the repo at savanah yielded nothing, i could
only see the manual!
cheers,
Pete
diff -uE "src/output.c.orig" "src/output.c" | grep -ve "^Only in" | grep -ve "^[Bb]inary" | tee /tmp/_diff
--- src/output.c.orig 2002-12-12 17:36:49.000000000 +0000
+++ src/output.c 2013-04-22 23:34:16.063129471 +0100
@@ -23,7 +23,7 @@
RCSTAG_CC ("$Id: output.c,v 1.5 2002/12/12 17:36:49 david Exp $");
-static FILE * output = NULL;
+FILE * output = NULL;
static BOOLEAN inhibited = 0;
static buf_break_st_ty * buf_break_list = NULL;
diff -uE "doc/indent.html.orig" "doc/indent.html" | grep -ve "^Only in" | grep -ve "^[Bb]inary" | tee /tmp/_diff
--- doc/indent.html.orig 2002-12-16 16:32:38.000000000 +0000
+++ doc/indent.html 2013-04-23 07:52:02.880217590 +0100
@@ -933,7 +933,7 @@
<A NAME="IDX97"></A>
<A NAME="IDX98"></A>
<A NAME="IDX99"></A>
-The `<SAMP>-saf</SAMP>' option forces a space between an <CODE>for</CODE>
+The `<SAMP>-saf</SAMP>' option forces a space between a <CODE>for</CODE>
and the following parenthesis. This is the default.
</P><P>
@@ -949,7 +949,7 @@
<A NAME="IDX105"></A>
<A NAME="IDX106"></A>
<A NAME="IDX107"></A>
-The `<SAMP>-saw</SAMP>' option forces a space between an <CODE>while</CODE>
+The `<SAMP>-saw</SAMP>' option forces a space between a <CODE>while</CODE>
and the following parenthesis. This is the default.
</P><P>
_______________________________________________
bug-indent mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-indent