[Vm-dev] [commit][3356] Move definition of VM_VERSION out of various sqConfig. h files and into

David T. Lewis lewis at mail.msen.com
Sun May 24 03:36:47 UTC 2015


On Sat, May 23, 2015 at 07:03:18PM -0700, commits at squeakvm.org wrote:
>  
> Revision: 3356
> Author:   eliot
> Date:     2015-05-23 19:03:15 -0700 (Sat, 23 May 2015)
> Log Message:
> -----------
> Move definition of VM_VERSION out of various sqConfig.h files and into
> platforms/Cross/vm/sqVirtualMachine.h.



#if SPURVM
# define VM_VERSION "5.0"
#else
# define VM_VERSION "4.5"
#endif


I know this is the oscog branch, but in principle the sqVirtualMachine.h
header could be included from more than just Cog and Spur. It might be
better to put VM_VERSION elsewhere if possible.

For reference, in the unix build for trunk (Cmake build process), VM_VERSION
is defined in build/config.h. The definition is created by the configure
script, which derives it from the VMM src version label and the SVN platforms
version levels. 

If the VM_VERSION definition for oscog could be put into a sqConfig.h
file, that might be a better choice that would avoid later conflicts
with trunk.

Dave
 


More information about the Vm-dev mailing list