Microsoft KB Archive/942273

= FIX: The Microsoft C compiler for the ARM processor produces incorrect CPU instructions for an assignment operation in Windows Embedded CE 6.0 =

Article ID: 942273

Article Last Modified on 10/30/2007

-

APPLIES TO


 * Windows Embedded CE 6.0

-



SYMPTOMS
The Microsoft C compiler for the ARM processor that is provided by Microsoft Windows Embedded CE 6.0 produces incorrect CPU instructions for an assignment operation. This problem occurs if the operation contains a LONGLONG property type or a LARGE_INTEGER property type.

Note The LONGLONG property type or the LARGE_INTEGER property type is included in a structure. Additionally, the assignment opcodes may damage other members of the structure.



Software update information
A supported software update is now available from Microsoft as Windows CE 6.0 Platform Builder Monthly Update (September 2007). You can confirm this by scrolling to the &quot;File information&quot; section of this article. The package file name contains the product version, date, Knowledge Base article number, and processor type. The package file name format is:

Product version-yymmdd-kbnnnnnn-processor type

For example: Wincepb50-060503-kb917590-armv4i.msi is the ARMV4i Windows CE 5.0 Platform Builder fix that is documented in KB article 917590 and that is contained in the May 2006 monthly update. To resolve this problem immediately, click the following article number for information about obtaining Windows CE Platform Builder and core operating system software updates:

837392 How to locate core operating system fixes for Microsoft Windows CE Platform Builder products

Prerequisites
This update is supported only if all previously issued updates for this product have also been installed.

Restart requirement
After you apply this software update, you must perform a clean build of the whole platform. To clean the platform, click Build, and then click Clean. To build the platform, click Build, and then click Build Platform. You do not have to restart the computer after you apply this software update.

Update replacement information
This update does not replace any other updates.

File information
The English version of this software update package has the file attributes or the later file attributes that are listed in the following table.

The English version of this software update package has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.



WORKAROUND
To work around this problem, turn off the optimization of the compiler. To do this, add the following code before the function in which this problem occurs.
 * 1) pragma optimize(&quot;g&quot;, off)



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
For more information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Keywords: kbfix kbqfe kbpubtypekc kbexpertiseadvanced kbhotfixserver KB942273

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.