Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » Details when compiling in 64 bits
Details when compiling in 64 bits [message #39019] Thu, 07 February 2013 10:09 Go to previous message
koldo is currently offline  koldo
Messages: 3357
Registered: August 2008
Senior Veteran
Hello all

After compiling U++ in 64 bits (using mainly MSC10) there are some sources of warnings because of using of int. In this warnings compiler complains about that int is not enough to fit the data.

- strlen() and size_t
This function returns size_t, that is unsigned and bigger than int.

- Pointer arithmetic
It is bigger than int, so it is proposed to use ptrdiff_t to add or subtract pointers. It is also signed and enough big.


Best regards
IƱaki
 
Read Message
Read Message
Previous Topic: New containers - naming
Next Topic: why no virtual destructor for RegExp?
Goto Forum:
  


Current Time: Sun Apr 28 06:04:38 CEST 2024

Total time taken to generate the page: 0.05483 seconds