Carl Lowenstein wrote:
On Nov 13, 2007 11:14 AM, Christopher Smith <[EMAIL PROTECTED]> wrote:
Gregory K. Ruiz-Ade wrote:
On Nov 13, 2007, at 12:14 AM, Gabriel Sechan wrote:

Not sure I see the value of it, but I understand it.
Support, testing, etc.

When someone tells you your code is broken, you can find out exactly
what version of the code they're using, which helps immensely when
setting up a test environment to attempt to duplicate the behavior.

Invaluable, really, if you are in an environment that requires that
ability. :)
Sure, but the rational way to do that is to provide a function or even
better a command that can be invoked to extract that information
(typically "-v" or "--version"), which, in turn, means some code which
actually touches the string and/or the string being an exported data
bit. Either way, super visible so the compiler can't remove it.


Do you really believe that all programs are built from a single source
file?  I think that I got over this in my PDP-8 days over 40 years
ago.  And I didn't have any linking loaders to help me.

Not even close to solving the real problem, which is to have easily
retrievable version information embedded in each component that goes
into making the final product.
Okay, so again... why is all this going to break if you have a function which accesses this string?

--Chris

--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to