I'm using mingw-w64 toolchain based on GCC-4.8.2.
Almost the same rev as mine - I am developing using gcc-4.8.1.  My guess
the compiler warning settings must be a little different.
No, the problem being warned about (long being too small to hold a pointer) really does exist only on Windows: http://en.wikipedia.org/wiki/LP64#64-bit_data_models

The proper type for "integer the same size as a pointer" is intptr_t or ptrdiff_t (http://en.wikipedia.org/wiki/C_data_types), but for just printing the address (as here) void* is fine.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to