Re: Newer gcc swallow version control keywords

2011-10-21 Thread Oleg Goldshmidt
Shachar Shemesh writes: > I understand why these keywords were useful for CVS/RCS, where each > file had its own version number. When working with SVN, however, a > single number uniquely identifies the entire source tree. Why not > have that one number and get it done with? I believe it has bee

Re: Newer gcc swallow version control keywords

2011-10-21 Thread Elazar Leibovich
On Tue, Oct 18, 2011 at 1:50 PM, Oleg Goldshmidt wrote: > > I didn't understand how, eg, my C++ scheme don't work. I think it should > > work even if you're including the $Id$ strings in the headers files. > > Apart from the fact that you assume that main.cc is mine (what if my > product is a lib

Re: Newer gcc swallow version control keywords

2011-10-21 Thread Shachar Shemesh
On 10/18/2011 12:50 PM, Oleg Goldshmidt wrote: >> I understood that, and it's still unstable. Since if some young team member >> not aware of the $Id: trick, will write: >> log("$Id: %d $Name: %s\n",id,name) >> ident will return garbage. > Someone may alter keyword expansions just before the bu