On 24/03/2008, Janice Caron <caron800 at googlemail.com> wrote: > I'd call that a bug in your C compiler, because if that compiles, so > will the following: Ah rats! Ignore the typo. I meant: void f(char const * s) { char * t = substring(0, s); t[0] = 'x'; }