Ticket Hash: | 9d186979fc4fe8d9c4360af603067cde558a50f7 | ||
Title: | printf() does not understand %lld on windows | ||
Status: | Fixed | Type: | Code_Defect |
Severity: | Important | Priority: | |
Subsystem: | Resolution: | Fixed | |
Last Modified: |
2010-11-07 23:51:47 14.65 years ago |
Created: |
2010-11-07 21:12:08 14.65 years ago |
Version Found In: | 6a11af1782 |
Description: | ||||
On windows some compilers do not understand the %lld format specifier.
The attached patch circumvents the problem with the help of functions from SQLite. --tsbg anonymous added on 2010-11-07 22:03:17: #ifdef _WIN32 #define LL_FORMAT "l64d" #else #define LL_FORMAT "lld" #endif This would allow sane fallbacks for other ancient / broken platforms. |
Attachments:
- printf_format.patch [download] added by anonymous on 2010-11-07 21:12:24. [details]