Newer gcc swallow version control keywords

Newer gcc swallow version control keywords

Oleg Goldshmidt pub at goldshmidt.org
Mon Oct 17 22:29:43 IST 2011


Shachar Shemesh <shachar at shemesh.biz> writes:

> Leaving aside the question of whether that is a good idea

This saved my butt enough times in the past that I think it is ;-)

> - 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.

Thanks!

-- 
Oleg Goldshmidt | pub at goldshmidt.org



More information about the Linux-il mailing list