The information in this article applies to:
SYMPTOMSWhen compiling a file that includes the system header file LARGEINT.H, the following errors are reported:
CAUSELARGEINT.H and LARGEINT.LIB are not fully supported in Visual C++ RISC edition version 4.0 for the PowerPC. RESOLUTIONUse the compiler-supported __int64 data type (64-bit integer) in place of the LARGE_INTEGER and ULARGE_INTEGER structures in LARGEINT.H that are used to emulate a 64-bit integer. STATUSThis behavior is by design. MORE INFORMATIONThe following is an excerpt from the header file LARGEINT.H that is included in RISC edition of Visual C++ 4.0 for the Power PC: Note that this version (of LARGEINT.H) has not been completely tested. It is provided solely as an aid for portability. We strongly suggest the use of __int64 types in preference to LARGE_INTEGER.All platforms supported by the 32-bit edition of Visual C++ 4.0 now support the __int64 data type. For maximum portability and ease of use, the __int64 data type should be used for all new code development. For existing code that uses LARGEINT.H, a port to the __int64 data type will be necessary if the problem mentioned above is encountered. The header file LARGEINT.LIB and its associated library, LARGEINT.LIB, were originally created for early versions of 32-bit Microsoft C/C++ compiler. These versions of the compiler did not support a native 64-bit data type. Later versions of the compiler were extended to add this data type, replacing the need for the LARGE_INTEGER and ULARGE_INTEGER structures provided by LARGEINT.H. Sample Code
REFERENCESPlease see the Microsoft Visual C++ 4.0 RISC edition for the PowerPC header file LARGEINT.H. Additional query words:
Keywords : kbVC kbPowerPC |
Last Reviewed: January 31, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |