Library tutorials & articles
Typical errors of porting C++ code on the 64-bit platform
By Andrey Karpov, published on 06 Apr 2008
Page 25 of 25
- Introduction
- Off-warnings
- Use of the functions with a variable number of arguments
- Magic numbers
- Bit shifting operations
- Storing of pointer addresses
- Memsize types in unions
- Change of an array type
- Virtual functions with arguments of memsize type
- Serialization and data exchange
- Pointer address arithmetic
- Arrays indexing
- Mixed use of simple integer types and memsize types
- Implicit type conversions while using functions
- Overload functions
- Data alignment
- The use of outdated functions and predefined constants
- Explicit type conversions
- Error diagnosis
- Unit test
- Code review
- Built-in means of compilers
- Static analyzers
- Conclusion
- Resources
Resources
- Chandra Shekar. Extend your application's reach from 32-bit to 64-bit environments. http://enterprisenetworksandservers.com/monthly/art.php?2670
- Converting 32-bit Applications Into 64-bit Applications: Things to Consider. http://developers.sun.com/sunstudio/articles/ILP32toLP64Issues.html
- Andrew Josey. Data Size Neutrality and 64-bit Support. http://www.unix.org/whitepapers/64bit.html
- Harsha S. Adiga. Porting Linux applications to 64-bit systems. http://www.ibm.com/developerworks/library/l-port64.html
- Transitioning C and C++ programs to the 64-bit data model. http://devresource.hp.com/drc/STK/docs/refs/64datamodel.jsp
- Porting an Application to 64-bit Linux on HP Integrity Servers. http://h21007.www2.hp.com/dspp/files/unprotected/32bitto64bit_whitepaper.pdf
- Stan Murawski. Beyond Windows XP: Get Ready Now for the Upcoming 64-Bit Version of Windows. http://msdn.microsoft.com/msdnmag/issues/01/11/XP64/
- Steve Graegert. 64-bit Data Models Explained. http://digitalether.de/index.php?option=com_content&task=view&id=31&Itemid=46
- Updating list of resources devoted to the development of 64-bit applications. http://www.viva64.com/links.php
Related articles
Related discussion
-
WinGDB - Linux debugging under Visual Studio
by WinGDB (0 replies)
-
Regarding Serial port communication
by raghu550 (0 replies)
-
VS2005 app's won't run on another machine
by ted4444 (0 replies)
-
VB.NET: Hide and show table using radio buttons
by converter2009 (1 replies)
-
Convert C++ code to VB6
by mawcot (4 replies)
Related podcasts
-
Interview with Shawn Burke on Microsoft's .NET Source Code Release
Scott and Carl talk with Shawn Burke on the culmination of his many-year-old plan to get parts of the source of the .NET Framework released. With Visual Studio 2008, a simple process will allow developers to STEP INTO the .NET Framework Source from the IDE. This'll be a great debugging and learni...
This thread is for discussions of Typical errors of porting C++ code on the 64-bit platform.