[cfe-commits] r60921 - in /cfe/trunk:

Sebastian Redl sebastian.redl at getdesigned.at
Fri Dec 12 04:42:28 PST 2008


On Fri, 12 Dec 2008 05:05:22 -0000, Chris Lattner <sabre at nondot.org> wrote:
>  
> -char *X = __func__; // expected-error {{predefined identifier is only
> valid}}
> +char *X = __func__; // expected-warning {{predefined identifier is only
> valid}} \
> +                       expected-warning {{initializing 'char const [1]'
> discards qualifiers, expected 'char *'}}
>  

Why not just make it const?

Sebastian



More information about the cfe-commits mailing list