Merged warning fix from OSG-2.8 branch:
svn merge -r 9755:9756 http://www.openscenegraph.org/svn/osg/OpenSceneGraph/branches/OpenSceneGraph-2.8
This commit is contained in:
parent
92b4e6ea54
commit
81043b1028
@ -33,7 +33,7 @@ SET(OPENSCENEGRAPH_SOVERSION 55)
|
||||
|
||||
# set to 0 when not a release candidate, non zero means that any generated
|
||||
# svn tags will be treated as release candidates of given number
|
||||
SET(OPENSCENEGRAPH_RELEASE_CANDIDATE 1)
|
||||
SET(OPENSCENEGRAPH_RELEASE_CANDIDATE 0)
|
||||
|
||||
SET(OPENSCENEGRAPH_VERSION ${OPENSCENEGRAPH_MAJOR_VERSION}.${OPENSCENEGRAPH_MINOR_VERSION}.${OPENSCENEGRAPH_PATCH_VERSION})
|
||||
|
||||
|
@ -2261,7 +2261,7 @@ bool CameraConfig::parseFile( const std::string &file )
|
||||
execlp( cpp_path, "cpp", "-P", 0L );
|
||||
else
|
||||
*/
|
||||
execlp( cpp_path, "cpp", "-P", fileName.c_str(), NULL );
|
||||
execlp( cpp_path, "cpp", "-P", fileName.c_str(), (char *)NULL );
|
||||
|
||||
// This should not execute unless an error happens
|
||||
perror( "execlp" );
|
||||
|
Loading…
Reference in New Issue
Block a user