[Xorp-hackers] Compile problems for Xorp on Fedora 11.
Bruce Simpson
bms at incunabulum.net
Thu Jun 25 12:43:02 PDT 2009
Ben Greear wrote:
> ...
> If you moved to something like 'git' for the repository, you could just
> use the HEAD tag or similar and encode that once in the binary
> somewhere. Only with cvs would you need to know the version
> for every file.
I think we're comparing apples with oranges here -- regardless of
whether CVS, git, SVN, or whatever revision control tool is in use, the
traceability concept supported by the #ident pragma doesn't necessarily
mean a version tag; it is just a string and could in fact be anything.
In practice, we embed the CVS $Id$ tag in the #ident pragma. Aside from
that, the plan is to move to SVN.
Having said that, a more portable syntax is probably "#pragma ident". At
the end of the day, the ident pragma's job is probably better done by a
linker map, and it might just be better to get rid of them entirely as
you point out.
I couldn't find anything in the spec file which would obviously help or
hinder. XORP's strict warning flags are probably turning the warning
into a fatal error.
What is more disturbing, however, is that this change wasn't documented
in the GCC 4.4 change log:-
http://gcc.gnu.org/gcc-4.4/changes.html
In any event, we can't do anything about this until the community
sources are moved to SourceForge SVN. I am still waiting for clearance.
thanks,
BMS
More information about the Xorp-hackers
mailing list