[Gllug] compiling 2.5 kernels
tet at accucard.com
tet at accucard.com
Thu Apr 18 14:47:34 UTC 2002
>Very recent gcc 3 will give you warnings about things like..
>
> printk ("An error happened in " __FUNCTION__ "\n");
>
>They now need to fixed up to
>
> printk ("An error happened in %s\n", __FUNCTION__);
Just curious... does anyone know the reasoning behind this? Nix?
So long as it expands to a suitably quoted string, why should the
compiler complain? I assume the expansion is done by the compiler,
rather than the preprocessor... could this have something to do
with it?
Tet
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list