On Thu, 24 Jan 2002 16:09:57 +0200 (IST), Evgeny Stambulchik wrote:

>Hello,
>
>Can you please make the _XmVersionString[] be of a fixed size so it doesn't
>change from release to release (which causes a harmless but annoying loader
>message like "Symbol `_XmVersionString' has different size in shared object,
>consider re-linking" whenever a program linked against an older version of
>Lesstif is run).

Probably not a bad idea, but it has also been argued that
this message is an additional remainder that an upgrade
has been made and perhaps a re-build of software might be 
required (it usually isn't however).

In any case this is nothing which should be exploited,
first this symbol is declared w/o fixed size (by intention
probably, though I don't know why it's not char *, perhaps
due to a lack of "const" in Motif?) and second this warning
is not a platform-independent feature and thus no recommended
"programming" technique.

So my vote would be to switch the definition to a fixed size.


---
Alexander Mai
[EMAIL PROTECTED]


_______________________________________________
Lesstif mailing list
[EMAIL PROTECTED]
https://terror.hungry.com/mailman/listinfo/lesstif

Reply via email to