Show
Ignore:
Timestamp:
02/03/09 21:17:24 (6 years ago)
Author:
robert
Message:

Disabled warning

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgviewerGLUT/osgviewerGLUT.cpp

    r6941 r9640  
    2020// Simple example using GLUT to create an OpenGL window and OSG for rendering. 
    2121// Derived from osgGLUTsimple.cpp and osgkeyboardmouse.cpp 
     22 
     23#if defined(_MSC_VER) && defined(OSG_DISABLE_MSVC_WARNINGS) 
     24    // disable warning "glutCreateMenu_ATEXIT_HACK' : unreferenced local function has been removed" 
     25    #pragma warning( disable : 4505 ) 
     26#endif 
    2227 
    2328#include <iostream>