[MERGE] Re: bzr version-info for C/C++

Matthew D. Fuller fullermd at over-yonder.net
Tue Oct 9 20:27:12 BST 2007


On Tue, Oct 09, 2007 at 08:44:11PM +0200 I heard the voice of
Lukáš Lalinský, and lo! it spake thus:
> 
> If you compile two files with included different version-info header
> files with const char *revision_id you will get a symbol conflict,
> because such variables will be always included in the object file
> and will have the same name.

That's what 'static' is for   8-}


-- 
Matthew Fuller     (MF4839)   |  fullermd at over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.



More information about the bazaar mailing list