Article ID: 818453 - Last Review: May 27, 2005 - Revision: 1.4 FIX: Alignment Exception When Accessing 16-bit MemberOn This PageSYMPTOMSWhen you use global compiler optimization with the ARM compiler (Clarm.exe), and if you access a 16-bit structure member, you receive an alignment exception error. This behavior occurs even though the structure is aligned. RESOLUTIONHotfix InformationA supported software update is now available from Microsoft as Windows CE 4.2 Core OS QFE 818453. 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
(http://support.microsoft.com/kb/837392/
)
How to locate core operating system fixes for Microsoft Windows CE Platform Builder products File InformationThe English version of this package has the file attributes (or later) that are listed in the following table.Date Time Version Size File name ------------------------------------------------------------------------- 12-Apr-2003 01:24 4.2.3.411 981,608 030411_wce42-q818453.exe Date Time Version Size File name ----------------------------------------------------------- 01-Apr-2003 03:14 12.20.9773.0 884,736 C2_arm.dll WORKAROUNDTurn off compiler global optimization by using the optimize pragma in the source code: STATUS Microsoft
has confirmed that this is a problem in the Microsoft products that are listed
at the beginning of this article.
| Article Translations
|

Back to the top
