Author: Bas Hamstra
Date: 15:55:29 09/07/02
Go up one level in this thread
On September 07, 2002 at 14:44:33, Dave Kuntzsch wrote: >I'm getting the following errors compiling Crafty using Borland: > >Error E2211 vcinline.h 16: Inline assembly not allowed in inline and template fu >nctions >Error E2309 vcinline.h 17: Inline assembly not allowed in function PopCnt >Error E2451 vcinline.h 17: Undefined symbol 'mov' in function PopCnt >Error E2379 vcinline.h 17: Statement missing ; in function PopCnt >Warning W8070 vcinline.h 33: Function should return a value in function PopCnt > >I get the same errors for FirstOne and LastOne. I'm a neophyte at C and sure >could use some advice. Anything is appreciated. > >Dave I think the problem is that Borland does not allow inline assembly in inlined functions. Try to remove the inline or FORCEINLINE (or whatever is there) keyword from the 3 functions. To be save you could "star it out" in vcinline.h like this: FORCEINLINE PopCnt() becomes /*FORCEINLINE*/ PopCnt(). Anything between /* ... */ will be ignored. Best regards, Bas.
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.