tags 339921 + unreproducible
tags 339921 + patch
thanks bts

I am not able to reproduce this on sid now:

~/tmp/339921/doc++-3.4.10/src$ rm -f docify.o && make docify.o
source='docify.cc' object='docify.o' libtool=no \
depfile='.deps/docify.Po' tmpdepfile='.deps/docify.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I. -I../intl -DLOCALEDIR=
\"/usr/share/locale\"     -c -o docify.o `test -f 'docify.cc' || echo
'./'`docify.cc
docify.ll: In function 'int main(int, char**)':
docify.ll:318: warning: unknown escape sequence '\]'
docify.ll:318: warning: unknown escape sequence '\]'

~/tmp/339921/doc++-3.4.10/src$ echo $?
0

It's a warning now, not an error.  Does DARTS use different error
settings that the defaults?  Was this a transient gcc regression?

In any case, this warning occurs because gcc33_build_fix.patch in
debian/patches is wrong.  The fix is attached, and should probably be
applied whether or not this actually causes a build failure.

(The gcc33 patch has actually nothing to do with gcc33 at all; it's for
modern flex, which forbids ]] in it's input.  The proper way to void
"]]" in C strings is to just use C concatenation, ala "]""]" which is
functionally the same, but isn't spelled with the ]].)

Thanks,
- Jeremy

--- doc++-3.4.10/debian/patches/gcc33_build_fix.patch.orig	2005-12-04 23:10:56.000000000 +0000
+++ doc++-3.4.10/debian/patches/gcc33_build_fix.patch	2005-12-04 23:15:33.000000000 +0000
@@ -5,7 +5,7 @@
  	if(argv[1][0] == '-')
  	    {
 -	    fprintf(stderr, "Usage: docify [infile [outfile]]\n");
-+	    fprintf(stderr, "Usage: docify \[infile \[outfile\]\]\n");
++	    fprintf(stderr, "Usage: docify [infile [outfile]""]\n");
  	    return 0;
  	    }
  	ain = fopen(argv[1], "r");

Reply via email to