Warning fixes
This commit is contained in:
@@ -34,7 +34,8 @@
|
||||
namespace osgProducer {
|
||||
|
||||
#define notImplemented {std::cout << __FILE__ << " " << __LINE__ << std::endl;}
|
||||
struct CameraGroup : public osg::Referenced {
|
||||
class CameraGroup : public osg::Referenced {
|
||||
public:
|
||||
enum ThreadModel {
|
||||
SingleThreaded,
|
||||
ThreadPerRenderSurface,
|
||||
@@ -44,7 +45,8 @@ namespace osgProducer {
|
||||
};
|
||||
|
||||
|
||||
struct InputArea : public osg::Referenced {
|
||||
class InputArea : public osg::Referenced {
|
||||
public:
|
||||
void addRenderSurface(RenderSurface* s) { _rs.push_back(s); }
|
||||
std::vector<osg::ref_ptr<RenderSurface> > _rs;
|
||||
};
|
||||
|
||||
@@ -1116,14 +1116,7 @@ yydestruct (yytype, yyvaluep)
|
||||
/* Pacify ``unused variable'' warnings. */
|
||||
(void) yyvaluep;
|
||||
|
||||
switch (yytype)
|
||||
{
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Prevent warnings from -Wmissing-prototypes. */
|
||||
|
||||
@@ -2239,7 +2232,7 @@ bool CameraConfig::parseFile( const std::string &file )
|
||||
|
||||
#if defined (SUPPORT_CPP)
|
||||
|
||||
char *cpp_path =
|
||||
const char *cpp_path =
|
||||
#if defined(__APPLE__)
|
||||
"/usr/bin/cpp";
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user