Newer gcc swallow version control keywords

Newer gcc swallow version control keywords

Shachar Shemesh shachar at shemesh.biz
Mon Oct 17 22:47:49 IST 2011


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?

Shachar
> Thanks!
>


-- 
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
http://www.lingnu.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20111017/117489ac/attachment.html>


More information about the Linux-il mailing list