🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Chua Kong Sian (Mr) Thu, 08 Oct 1992 03:51
Bug (?) in Gnuchess 4.0 pl58
#121
Author: Chua Kong Sian (Mr)
Date: Thu, 08 Oct 1992 03:51
17 lines
975 bytes
I'm in the process of trying to get compile Gnuchess 4.0pl58 on my 386
PC using the Microsoft 7.0 compiler.  In compiling the file genmove.c, 4
warnings about *truncation of const value* arose.  These occurred in
lines 192, 193, 232 and 233.  Here is an example of one of these lines
(line 192 to be precise).

history[SwagHt | i] += 5000;

Unfortunately, history is declared as an unsigned char array, which will
not take in a value of 5000.  

What gives, O development team?  

I'm going to change history to integer and try again.  Maybe this is
more correct.

#include <std.disclaimer>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads