Newer gcc swallow version control keywords

Newer gcc swallow version control keywords

Oleg Goldshmidt pub at goldshmidt.org
Tue Oct 18 12:50:29 IST 2011


> 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 build, too.

> If you have documented way to get the ident strings, it's more stable.

The whole point is to have these strings everywhere, otherwise they
are not very useful. This means the whole development team is aware of
and uses the convention.

-- 
Oleg Goldshmidt | oleg at goldshmidt.org



More information about the Linux-il mailing list