Note: When there is a warning about "int format, 'something else int
compatible' argument" then almost always the correct fix is to make the
format "long int" and typecast the argument accordingly. This to account
for 64 bit architectures. But be warned to not typecast away unsigned
qualifiers..
Regards
Henrik
Henrik Nordstrom wrote:
>
> Hi.
>
> Figured out how to enable GCC to check printf style arguments as used in
> debug() and many other custom functions in Squid. This reveals a large
> number of formatting errors, even on Intel boxes...
>
> Most of these needs to be corrected as they are very likely to fail on
> "other" architectures or even libc versions. This also requires a
> additionall pass at Alpha and UltraSparc boxes to find some additional
> cases, plus if anyone cares IBM s390/Linux..
>
> Aplha and UltraSparc boxes is available in the SourceForge compile
> farm, as instructed earlier.
>
> IBM s390 is available at IBM. For quick setup mail me a SSH key and
> you will be given an account if you are willing to help making sure
> Squid runs on s390/Linux.
>
> Regards
> Henrik
Received on Mon Oct 22 2001 - 18:16:12 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:34 MST