Hi all,

there's a funny bug in the OSG_VERSION define in the current 1.x CVS: this 
is currently defined as 010800 (for 1.8 I suppose) but as it's beginning 
with a 0 the compiler assumes that it's an octal number and therefore 
can't really have 8 as digit... Maybe we should switch the number to 
0x010800? How do other projects cope with it? I've only checked Mesa, that 
seems to have MAJOR, MINOR and PATCH numbers and for the main "version 
code" they are bitshifted and added together appropriately so it never 
begins with 0.

I'm a bit amused though that nobody else seems to have used it for 
checking the current OpenSG version in applications... :)

Akos

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to