|
|
| There's more than one way to do things | |
| PerlMonks |
Re^5: [XS] : "snprintf" portability optionsby ikegami (Patriarch) |
| on Sep 17, 2024 at 10:25 UTC ( [id://11161789]=note: print w/replies, xml ) | Need Help?? |
|
Bad test. You just repeated what was already said. But replacing 0 with 9223372036854775808ull does make your point. So the compiler is wrong about the expected format. wow! And thankfully, it still provides the expected format.
It's a bug in gcc. The format expects a unsigned long long, but it claims it expects an unsigned.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||