[Padre-dev] Padre, Alien::wxWidgets and wxWidgets 2.8.10

Adam Kennedy adamkennedybackup at gmail.com
Sun Mar 22 16:44:10 PDT 2009


I should just note that it isn't at all "slightly" misleading.

It's outright incorrect.

Multipart version numbers always map to three-digit clusters.

It's only in the case of numeric versions like 1.23 that we pad out
the trailing zeros and convert it to 1.230.

Adam K

2009/3/22 Cezary Morga <cm at therek.net>:
> The version returned from Alien::wxWidgets->version is
> 2.008010. Originally the conversion to human readable version number was
> done by first adding . (dot) so we have 2.008.010 and then by removing
> all zeros (s/0//g) which leaves 2.8.1 because also the trailing zero is
> removed.
>
> What I sent you was an attempt to remove only the leading zeros.
>
> Receiving 2.8.1 instead of 2.8.10 is slightly misleading now, but when
> wxWidgets version number bumps to 2.10.1 you'll receive 2.1.1 which
> will pose a bigger problem.


More information about the Padre-dev mailing list