Liste des Groupes | Revenir à cl c |
On Fri, 11 Apr 2025 11:15:44 -0700There is only one thing I find a little bit annoying about the sized integer types in C - the printf specifiers. I tend to "cheat" with these, using "%lu" for uint32_t on the targets I usually use, where I know uint32_t is "long unsigned int". Other than that, I stick to the size-specific types for much of my code except local "throw-away" variables that might be "int". Compatibility or lack thereof between the size-specific types and the standard integer types is simply irrelevant in my code.
Keith Thompson <Keith.S.Thompson+u@gmail.com> wrote:
bart <bc@freeuk.com> writes:And it's a PITA.
[...]8 A u64 type can be denoted as either 'uint64_t' OR as some>
combination of the tokens (long, long, unsigned, [int])
"uint64_t" and "unsigned long long int" do not mean the same thing.
>
Les messages affichés proviennent d'usenet.