Re: [PATCH][RFC] Sparc: Remove trigraph in die_if_kernel() message.
From: Al Viro
Date: Thu Jun 09 2011 - 19:03:32 EST
On Thu, Jun 09, 2011 at 03:59:43PM -0700, David Miller wrote:
> > If I'm not mistaken, that "??!" will be taken as a trigraph for "|" by the
> > preprocessor, so the final string will end up either as
> > "Penguin instruction from Penguin mode|?!"
Not without -trigraphs, which is not on by default...
> Applied, thanks Jesper :-)
BTW, idiomatic way to deal with those is to use \? instead of string concat...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/