[parisc-linux] Building packages, problems with printf
Matthew Wilcox
matthew@wil.cx
Mon, 26 Mar 2001 00:11:30 +0100
On Mon, Mar 26, 2001 at 09:03:34AM +1000, Alan Modra wrote:
> That's cheating! The real fix is to turn
>
> printf (foo_string,
> #if SOMETHING
> abc_param
> #else
> xyz_param
> #endif
> );
>
> into
>
> #if SOMETHING
> printf (foo_string, abc_param);
> #else
> printf (foo_string, xyz_param);
> #endif
>
> Earn brownie points sending off proper fixes to package maintainers. :)
Ah, but that doesn't cure netkit-telnet which is c++ and has a method called
printf which gets royally bollixed by this define.
Agreed that's a better solution though for the cases where it applies.
--
Revolutions do not require corporate support.