U++ framework
Do not panic. Ask here before giving up.

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: 3458
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: Mon May 04 04:25:37 GMT+2 2026

Total time taken to generate the page: 0.00628 seconds