Win2K build problem

Hi All,
I am facing a problem with the Win2K build environment. If I disable
the optimization with MSC_OPTIMIZATION=/Od, the function
RtlEqualMemory creates a problem while compiling/linking giving an error
of unresolved external for _memcmp. Can anyone tell me
why this problem occurs only when we disable optimization ? This
seems to be happening only in W2K and not in the NT4.0 environment

Thanks in advance,
Unni


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

You need to ensure that the unoptimized build environment has the /Oi
switch, which enables intrinsic functions, of which memcmp is one. If you
find the definition of RtlEqualMemory, you will find it is defined as
memcmp.

Phil

* Philip D. Barila | (503) 264-8386
* Intel Corp. | Not speaking for Intel

-----Original Message-----
From: Unnikrishnan P K [mailto:xxxxx@india.hp.com]
Sent: Friday, December 29, 2000 7:05 PM
To: NT Developers Interest List
Subject: [ntdev] Win2K build problem

Hi All,
I am facing a problem with the Win2K build environment. If I disable
the optimization with MSC_OPTIMIZATION=/Od, the function
RtlEqualMemory creates a problem while compiling/linking giving an error
of unresolved external for _memcmp. Can anyone tell me
why this problem occurs only when we disable optimization ? This
seems to be happening only in W2K and not in the NT4.0 environment

Thanks in advance,
Unni


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com