bug-gnu-chess
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GCC 4 compilation error


From: Charles Peng
Subject: GCC 4 compilation error
Date: Sun, 3 May 2009 10:17:05 +0800
User-agent: Mutt/1.5.18 (2008-05-17)

Hi all,

GCC 4 does not compile gnuchess 5.07.
I think this trivial patch solves the problem:

diff -uprN gnuchess-5.07.orig/src/common.h gnuchess-5.07/src/common.h
--- gnuchess-5.07.orig/src/common.h     2009-05-02 21:50:59.000000000 +0800
+++ gnuchess-5.07/src/common.h  2009-05-02 21:51:14.000000000 +0800
@@ -716,7 +716,6 @@ void DBTest (void);
 
 /* Input thread and thread function */
 #include <pthread.h>
-extern pthread_t input_thread;
 void *input_func(void *);
 
 /*

Regards,
Charles




reply via email to

[Prev in Thread] Current Thread [Next in Thread]