Messages in this thread | | | Date | Wed, 11 Feb 2004 16:58:13 +0100 (CET) | From | Maciej Zenczykowski <> | Subject | Re: printk and long long |
| |
On Wed, 11 Feb 2004, vda wrote:
> The character L specifying that a following e, E, f, g, or G > conversion corresponds to a long double argument, or a following > d, i, o, u, x, or X conversion corresponds to a long long argument. > Note that long long is not specified in ANSI C and therefore > not portable to all architectures.
[ personally I'd say screw the un-portable architectures ;) ] Long long is here to stay. Besides if a linux architecture utilises long long in the kernel and doesn't support it in printf via %lld then it's horked. printf/libc should be fixed instead. Maybe that's the problem - the libc support fragment in the kernel tree is not up to date on that architecture - maybe the fixes should applied there instead - instead of trying to work around the problem, fix the cause.
Cheers, MaZe.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |