Hi,

some typedefs are not contained within an OSG specific namespace and therefore cause collisions. One example is 'typedef char GLchar;' in the GL2Extension header, which causes a collision with the same typname in the JUCE Library. Fortunately the JUCE Library is using correct namespaces, so i was able to workaround the problem by reordering the header includes.
Nevertheless this is annoying and should be fixed.

OSGs excessive use of preprocessor constants which never respect namespaces can also easily lead to problems, although the probability is lower.

Regards,
Benjamin




_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to