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


_______________________________________________
gnugo-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnugo-devel

Reply via email to