Author: Eugene Nalimov
Date: 09:23:02 08/04/99
Go up one level in this thread
Looks that your Sun C++ compiler does not conforms to C++ standard, or even to C++ standard draft. Try to insert #define bool int in the beginning of egtb.cpp Eugene (Off topic: that is how Sun itself respects standards) On August 04, 1999 at 03:44:32, Bernhard Bauer wrote: >Hello guys, > >as my pc will no longer boot I have to use a SUN. >However, I do not succeed in compiling egtb.cpp. > >My errors are like this: > CC -fast -xO5 -xunroll=20 -xtarget=ultra -c egtb.cc >"egtb.cc", line 264: Error: "," expected instead of "fPrint". >"egtb.cc", line 265: Error: Multiple declaration for bool. >"egtb.cc", line 265: Error: "," expected instead of "fVerbose". >"egtb.cc", line 827: Error: bool, of type int, was previously declared const >int. >"egtb.cc", line 827: Error: Multiple declaration for bool. >"egtb.cc", line 827: Error: "," expected instead of "rgfTriangle". >"egtb.cc", line 829: Error: Use ";" to terminate declarations. >"egtb.cc", line 829: Error: A declaration was expected instead of ",". >"egtb.cc", line 829: Error: Type name expected instead of "true". >"egtb.cc", line 839: Error: bool, of type int, was previously declared const >int. >"egtb.cc", line 839: Error: Multiple declaration for bool. >"egtb.cc", line 839: Error: "," expected instead of "rgfNotDiagonal". >"egtb.cc", line 841: Error: Use ";" to terminate declarations. >"egtb.cc", line 841: Error: A declaration was expected instead of ",". >"egtb.cc", line 841: Error: Type name expected instead of "true". >"egtb.cc", line 851: Error: bool, of type int, was previously declared const >int. >"egtb.cc", line 851: Error: Multiple declaration for bool. >"egtb.cc", line 851: Error: "," expected instead of "rgfInLargeTriangle". >"egtb.cc", line 853: Error: Use ";" to terminate declarations. >"egtb.cc", line 853: Error: A declaration was expected instead of ",". >"egtb.cc", line 853: Error: Type name expected instead of "true". >"egtb.cc", line 1126: Error: Multiple declaration for bool. >"egtb.cc", line 1126: Error: "," expected instead of "fEnumerationInitted". >"egtb.cc", line 1136: Error: fEnumerationInitted is not defined. >"egtb.cc", line 1138: Error: fEnumerationInitted is not defined. >Compilation aborted, too many Error messages. > >The compiler is CC: WorkShop Compilers 4.2 30 Oct 1996 C++ 4.2 > >May be someone can help. > >Kind regards >Bernhard
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.