gcc: why is "abcdef"[3] not a constant (error: initializer element is not constant)

Didier Kryn kryn@in2p3.fr
Fri May 8 12:40:00 GMT 2015


     Not sure this is the right mailing list for a C language tutorial :-)

     Didier

Le 08/05/2015 14:05, m-h-l a écrit :
> So this means C doesn't have any constant strings at all ?
>
>
>
> --
> View this message in context: http://gcc.1065356.n5.nabble.com/gcc-why-is-abcdef-3-not-a-constant-error-initializer-element-is-not-constant-tp1146945p1146998.html
> Sent from the gcc - Help mailing list archive at Nabble.com.




More information about the Gcc-help mailing list