Author: Eugene Nalimov
Date: 09:47:54 08/05/99
Go up one level in this thread
Insert #define true 1 #define false 0 Eugene On August 05, 1999 at 02:56:14, Bernhard Bauer wrote: >On August 04, 1999 at 12:23:02, Eugene Nalimov wrote: > >>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) >> > >Ok, I did and got > >"egtb.cc", line 270: Error: false is not defined. >"egtb.cc", line 271: Error: false is not defined. >"egtb.cc", line 835: Error: true is not defined. >"egtb.cc", line 835: Error: true is not defined. > >So I inserted > >#define true int >#define false int > >and gotCC -fast -xO5 -xunroll=20 -xtarget=ultra -c egtb.cc >"egtb.cc", line 268: Error: Badly formed expression. >"egtb.cc", line 269: Error: Badly formed expression. >"egtb.cc", line 833: Error: Badly formed expression. >"egtb.cc", line 845: Error: Badly formed expression. >"egtb.cc", line 857: Error: Badly formed expression. >"egtb.cc", line 1130: Error: Badly formed expression. >"egtb.cc", line 1142: Error: Badly formed expression. >"/usr/include/sys/machtypes.h", line 39: Error: A declaration does not specify a >tag or an identifier. >"/usr/include/sys/machtypes.h", line 39: Error: Use ";" to terminate >declarations. >"/usr/include/sys/machtypes.h", line 39: Error: A declaration does not specify a >tag or an identifier. >"egtb.cc", line 3447: Error: Badly formed expression. >"egtb.cc", line 3453: Error: Badly formed expression. >"egtb.cc", line 3473: Error: Badly formed expression. >"egtb.cc", line 3477: Error: Badly formed expression. >"egtb.cc", line 3479: Error: Badly formed expression. >"egtb.cc", line 3686: Error: Badly formed expression. >"egtb.cc", line 3690: Error: Badly formed expression. >"egtb.cc", line 3731: Error: Badly formed expression. >"egtb.cc", line 3733: Error: Badly formed expression. >"egtb.cc", line 3737: Error: Badly formed expression. >"egtb.cc", line 3779: Error: Badly formed expression. >"egtb.cc", line 4218: Error: Badly formed expression. >"egtb.cc", line 4275: Error: Badly formed expression. >"egtb.cc", line 4330: Error: Badly formed expression. >"egtb.cc", line 4337: Error: Badly formed expression. >Compilation aborted, too many Error messages. > >With your off topics you are obviously right. > >Kind regards >Bernhard > > > > > > >>> >>>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.