printf format string
Kaveh R. Ghazi
ghazi@caip.rutgers.edu
Tue Aug 31 23:20:00 GMT 1999
> From: James Beyer <beyerj@sgi.com>
>
> What is the expected output if an argument does not have the
> appropriate types for the string format specified?
>
> Is the argument just cast into the correct format, with casting rules
> applied? Or is the output undefined in some cases?
>
> This seems like it may be implementation dependent.
>
> james
Try using gcc -Wformat (or -Wall) to find at compile time the places
where problems might occur.
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions
More information about the Gcc
mailing list