[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnugo-devel] Some warnings with Intel C++
From: |
Gunnar Farnebäck |
Subject: |
Re: [gnugo-devel] Some warnings with Intel C++ |
Date: |
Tue, 03 Mar 2009 17:00:23 +0100 |
User-agent: |
Mozilla-Thunderbird 2.0.0.19 (X11/20090103) |
Ben Lambrechts wrote:
> Hi,
>
> When compiling GNU Go 3.8 with Intel C++ 11 I get following warnings
> between several 100 warnings about deprecated functions.
Thanks for the report.
> File
>
> Line
>
>
> src\engine\board.c
>
> 689
>
> warning #279: controlling expression is constant
> src\engine\board.c
>
> 1112
>
> warning #279: controlling expression is constant
That code is fine (although unreachable).
> src\engine\dragon.c
>
> 725
>
> warning #188: enumerated type mixed with another type
Harmless but should be fixed.
> src\engine\sgfdecide.c
>
> 400
>
> warning #188: enumerated type mixed with another type
> src\engine\sgfdecide.c
>
> 401
>
> warning #188: enumerated type mixed with another type
> src\engine\sgfdecide.c
>
> 407
>
> warning #188: enumerated type mixed with another type
> src\engine\sgfdecide.c
>
> 408
>
> warning #188: enumerated type mixed with another type
These already have a FIXME about the code not making sense. Fixes are
welcome.
> src\interface\gmp.c
>
> 185
>
> warning #188: enumerated type mixed with another type
> src\interface\gmp.c
>
> 330
>
> warning #188: enumerated type mixed with another type
> src\interface\gmp.c
>
> 418
>
> warning #188: enumerated type mixed with another type
> src\interface\gmp.c
>
> 725
>
> warning #188: enumerated type mixed with another type
> src\interface\gmp.c
>
> 840
>
> warning #188: enumerated type mixed with another type
These warnings are most likely valid but unless they actually cause
errors I'd rather not touch the gmp code, short of removing it.
/Gunnar