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 |
|
koldo
Messages: 3356 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
|
|
|
|
Goto Forum:
Current Time: Thu Apr 18 04:36:58 CEST 2024
Total time taken to generate the page: 0.01892 seconds
|