On 10/17/2011 06:29 PM, Oleg Goldshmidt wrote:
> Hi,
>
> I have a gcc-related question. Problematic platform is Fedora 15 with
> gcc 4.6.1, as well as Fedora 14 with gcc 4.5.1.
>
> I am used to keeping RCS/CVS/SVN keywords (e.g., $Id$) in all my code.
> In the case of C/C++ this normally amounts to
>
> static const char foo_src_id[] = "$Id$";
Leaving aside the question of whether that is a good idea - did you try
changing that to:
static const volatile char foo_src_id[] = "$Id$";
?
Shachar


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

_______________________________________________
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Reply via email to