Closed GoogleCodeExporter closed 9 years ago
The issue description is quite misleading. It doesn't fail to compile, though
the tests fail.
The reason is that recent gcc (the same test failure can be reproduced with
4.5.2 as well) prints not only the line of the syntax error (the number after
the first colon) but also the character in that line (the number after the
second colon).
Here's the suggested fix.
Original comment by madkinder
on 27 Jun 2011 at 10:23
Attachments:
Also
CPlusPlus_Case FAIL
DotD_Case [TempCompile_Case FAIL]
Original comment by pupyk...@gmail.com
on 28 Jun 2011 at 7:51
Attachments:
Thanks for the fix, madkinder. I had the same patch in mind and I have applied
your patch in svn revision 742.
For the other issue raised by pupyk...@gmail.com, try configuring with
"--disable-Werror".
Original comment by fer...@google.com
on 28 Jun 2011 at 8:20
It looks like it does not help. I build it with:
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
[ -f Makefile ] || ./configure --prefix=/usr \
--with-gtk \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--disable-Werror
patch -p1 <$srcdir/recent_syntax_error_case.patch
make WERROR_CFLAGS= INCLUDESERVER_PYTHON=/usr/bin/python2
}
check() {
cd "${srcdir}/${pkgname}-${pkgver}"
make TEST_PYTHON=/usr/bin/python2 check
}
Original comment by pupyk...@gmail.com
on 28 Jun 2011 at 10:42
I've checked distcc-3.1 on Ubuntu Natty with gcc-4.5.2 and gcc-4.6.1. Both
produce the same test failures as pupyk... reported. Pupyk... could you please
try the trunk version? It gives no test failures to me.
Original comment by madkinder
on 29 Jun 2011 at 8:41
Based on madkinder's input, I think this is fixed at head.
Original comment by fergus.h...@gmail.com
on 29 Jun 2011 at 9:09
Original issue reported on code.google.com by
graysky%...@gtempaccount.com
on 23 Jun 2011 at 3:31Attachments: