Chris Burel
72cd282ad2
Avoid redefining PRI macros on Linux ( #4055 )
...
* Avoid redefining `PRI` macros on Linux
The fixed width 64-bit integer types are defined differently per platform.
Some platforms define it as "long", others define it as "long long". For
consistency, `AZ::u64` or `AZ::s64` is always defined to "long long".
However, this causes problems for formatting those types, because on
platforms where `uint64_t` is a `long`, `PRIu64` gives the wrong format
string for `AZ::u64`. Previously this was fixed by redefining the `PRI`
macros so that they work for `AZ::u64`, but that breaks the ability to
format `uint64_t`.
We could add an AZ-specific version of the `PRI` macros for 64-bit integer
types, but we don't really need to, since they are `long long` on every
platform we support.
* Use `%ll` for `AZ::u64`
* Use `PRIu64` for `uint64_t`
Signed-off-by: Chris Burel <burelc@amazon.com >
* Avoid redefining `PRI` macros in CryCommon
Signed-off-by: Chris Burel <burelc@amazon.com >
2021-09-10 15:16:33 -07:00
..
2021-09-07 12:14:16 -06:00
2021-07-16 15:42:37 -07:00
2021-09-10 10:02:17 -05:00
2021-08-26 13:10:54 -06:00
2021-08-20 20:36:11 -07:00
2021-07-16 15:25:48 -07:00
2021-09-01 08:19:08 -07:00
2021-09-07 12:14:16 -06:00
2021-08-26 13:10:54 -06:00
2021-09-07 15:08:39 -06:00
2021-09-07 12:14:16 -06:00
2021-09-07 12:14:16 -06:00
2021-08-25 15:04:38 -06:00
2021-08-25 15:04:38 -06:00
2021-09-07 12:14:16 -06:00
2021-09-07 12:14:16 -06:00
2021-09-07 15:08:39 -06:00
2021-09-07 12:14:16 -06:00
2021-09-07 12:14:16 -06:00
2021-07-16 15:25:48 -07:00
2021-09-07 12:14:16 -06:00
2021-09-07 12:14:16 -06:00
2021-09-07 15:08:39 -06:00
2021-07-16 15:25:48 -07:00
2021-07-16 15:42:37 -07:00
2021-07-16 15:25:48 -07:00
2021-08-12 12:40:03 -07:00
2021-08-10 20:35:55 -07:00
2021-08-06 15:10:21 -07:00
2021-09-07 12:14:16 -06:00
2021-08-25 15:04:38 -06:00
2021-09-07 12:14:16 -06:00
2021-09-07 12:14:16 -06:00
2021-09-07 12:14:16 -06:00
2021-07-27 19:28:50 -07:00
2021-07-16 15:25:48 -07:00
2021-08-20 19:40:13 -07:00
2021-09-07 12:14:16 -06:00
2021-08-03 17:59:35 -07:00
2021-08-06 16:42:38 -07:00
2021-07-16 15:25:48 -07:00
2021-08-19 14:01:50 -07:00
2021-08-30 14:40:02 -06:00
2021-07-16 15:25:48 -07:00
2021-07-16 15:25:48 -07:00
2021-07-16 15:25:48 -07:00
2021-09-07 12:14:16 -06:00
2021-09-07 12:14:16 -06:00
2021-09-07 12:14:16 -06:00
2021-08-11 21:04:19 -07:00
2021-07-16 15:25:48 -07:00
2021-09-07 12:14:16 -06:00
2021-09-07 12:14:16 -06:00
2021-09-07 12:14:16 -06:00
2021-09-07 12:14:16 -06:00
2021-09-07 12:14:16 -06:00
2021-07-16 15:25:48 -07:00
2021-07-16 15:42:37 -07:00
2021-09-07 12:14:16 -06:00
2021-08-25 15:04:38 -06:00
2021-08-06 16:42:38 -07:00
2021-09-07 12:14:16 -06:00
2021-07-16 15:25:48 -07:00
2021-09-07 12:14:16 -06:00
2021-09-07 12:14:16 -06:00
2021-09-07 12:14:16 -06:00
2021-09-07 12:14:16 -06:00
2021-09-07 12:14:16 -06:00
2021-09-07 12:14:16 -06:00
2021-09-07 12:14:16 -06:00
2021-09-07 12:14:16 -06:00
2021-07-16 15:25:48 -07:00
2021-09-07 12:14:16 -06:00
2021-08-30 14:40:02 -06:00
2021-07-16 15:42:37 -07:00
2021-09-07 12:14:16 -06:00
2021-07-16 15:25:48 -07:00
2021-08-19 11:44:28 -07:00
2021-08-18 17:33:09 -06:00
2021-08-20 20:36:11 -07:00
2021-08-20 20:36:11 -07:00
2021-09-07 12:14:16 -06:00
2021-08-20 20:36:11 -07:00
2021-07-16 15:25:48 -07:00
2021-09-07 12:14:16 -06:00
2021-07-16 15:25:48 -07:00
2021-08-12 16:42:18 -07:00
2021-07-16 15:25:48 -07:00
2021-09-07 12:14:16 -06:00
2021-07-16 15:25:48 -07:00
2021-07-16 15:25:48 -07:00
2021-09-07 12:14:16 -06:00
2021-07-16 15:25:48 -07:00
2021-09-07 12:14:16 -06:00
2021-09-10 15:16:33 -07:00
2021-08-16 16:03:28 -07:00
2021-08-31 11:46:45 -07:00
2021-09-07 12:14:16 -06:00
2021-07-16 15:25:48 -07:00
2021-07-16 15:25:48 -07:00
2021-09-07 12:14:16 -06:00
2021-09-07 12:14:16 -06:00
2021-09-07 12:14:16 -06:00
2021-08-30 14:40:02 -06:00
2021-08-25 15:04:38 -06:00
2021-09-07 12:14:16 -06:00
2021-08-30 14:40:02 -06:00
2021-09-07 12:14:16 -06:00
2021-07-16 15:25:48 -07:00
2021-09-07 12:14:16 -06:00
2021-08-19 14:01:50 -07:00
2021-08-30 14:40:02 -06:00
2021-09-07 12:14:16 -06:00
2021-07-16 15:25:48 -07:00
2021-08-20 20:36:11 -07:00
2021-08-20 20:36:11 -07:00
2021-09-09 12:09:17 -06:00
2021-07-16 15:25:48 -07:00