Oh no! The header file extension discussion, _again_? :-) Well, I sat out of it last time, so I'll throw my greatly-devalued US$0.02 into the fray this time...
.h are standard for C, but not C++. Arguably, a mistake in the genesis of C++. Stroustrup has publicly stated his concise definition of C++ as "C with classes". Using such a definition, there was no need for C++ to redefine header file extensions; no such change was necessary to merely add classes to C. As others have stated, the compiler doesn't care about the header extension and enforces no "standard" extension. Therefore, those of us in OSG can do whatever we want. Indeed, the osgPlugins routinely use a ".h" extension for their header files. The absence of an extension creates problems for code editors that present non-intuitive interfaces for controlling syntax highlighting. Appending ".h" to OSG headers would eliminate this confusion. Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com <http://www.skew-matrix.com/> +1 303 859 9466
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org