Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^5: [XS] : "snprintf" portability options

by ikegami (Patriarch)
on Sep 17, 2024 at 10:25 UTC ( [id://11161789]=note: print w/replies, xml ) Need Help??


in reply to Re^4: [XS] : "snprintf" portability options
in thread [XS] : "snprintf" portability options

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.

If it is a bug, it's a bug in perl

It's a bug in gcc. The format expects a unsigned long long, but it claims it expects an unsigned.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11161789]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2025-11-11 05:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (67 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.