Hi! Ralph Glasstetter wrote: [...] >>In C++, you could define a class with an initializer that calculates the >>maximum at runtime, and instantiate it in every source file ;-) > > > That would be a nice an very transparent and portable implementation! :-))
Some people would also call it a waste of space. [...] >>The real problem is, however, that not everybody has subversion >>installed and/or wants to build dvbcut from svn. > > > Everybody needs a subversion client to compile from repository, but not every > one uses "svn" (where svnversion comes from) for that purpose. For instance > under Windows I'm using the "TortoiseSVN" (which has SubWCrev AFAIK). Sorry... I usually use "svn" as a synonym for "subversion". > However,... for a officially released source code package we don't need that > mechanism, since you can pack an appropriate svnrev.h (or whatever) which > contains (or makes use) only of the real (official) version number (i.e. > 0.5.4)... without any revision number. Or something like "0.5.4-release", in contrast to e.g. "svn-20070705". > We don't have official releases such often, do we? > So a little handwork don't matters... ;-) Of course, as long as it's *my* handwork ;-( >>>No,... It's not meant that you should run svnrev as the repository >>>maintainer and check in svnrev.h regularly (maybe only once as template >>>with variables set to 0). It don't has to (or should) be unter version >>>contol... >> >>See above. Not everybody uses svn. > > No, but any subversion client... Or no subversion at all (which was my point). > And even if someone really copies the source files by hand with a > web(svn)browser from the repository he would be fine with the dummy svnrev.h > which defaults to 0. ;-) Nah. Let's do it right, or not at all. -- Michael "Tired" Riepe <[EMAIL PROTECTED]> X-Tired: Each morning I get up I die a little ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ DVBCUT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dvbcut-user
