Quiz: which OSS maintainer said “There is nothing wrong with the current definitions. If your compiler issues warnings this is your problem”
-
-
@RichFelker Variadic arguments are subject to default argument promotions. Typically unsigned char and unsigned short get promoted to int. -
@RichFelker With such implementation-defined choices, "d" is “suitable for use within the format argument of a formatted …/output function” -
@RichFelker By the same token, if you find out what is a correct definition for PRIx8… -
@spun_off Anyway I think it's an oversight in the standard that printf doesn't accept signedness mismatch when value fits in either.
- End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.