Newer gcc swallow version control keywords
Daniel Shahaf
linux-il at danielsh.fastmail.net
Mon Oct 17 23:03:04 IST 2011
Shachar Shemesh wrote on Mon, Oct 17, 2011 at 22:47:49 +0200:
> On 10/17/2011 10:29 PM, Oleg Goldshmidt wrote:
> >> - did you try
> >> changing that to:
> >> static const volatile char foo_src_id[] = "$Id$";
> > Hmm... "const volatile" hadn't occurred to me before, but I have just
> > tried it and it did not work.
> Just tested it myself. It does, indeed, not work. I wonder why? Seems
> like it SHOULD work. After all, that's what volatile is for, right?
Because it's also static?
More information about the Linux-il
mailing list