[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnugo-devel] configure expert anyone?
From: |
Arend Bayer |
Subject: |
[gnugo-devel] configure expert anyone? |
Date: |
Fri, 30 Apr 2004 21:46:17 +0200 (CEST) |
> I'm getting some errors with gcc 2.96. After running autoconf
> and configure (without --enable-valgrind) I have in config.h
>
> #define USE_VALGRIND 0
>
> Now I get these errors:
[declarations mixed with statements]
Rrrgs. We have broken compile with gcc 2.95 about 10 times due to this
now; (it is new in C99 and accepted by gcc 3.x in C89 mode as a gcc
extension). Actually, gcc 3.4 does have an option to trigger warnings for
this (-Wdeclaration-after-statement) again; does anyone know how to write
a configure test to add this to CFLAGS depending on the GCC version?
Arend