Fixed warning and quitened ones caused by 3rd party headers.
This commit is contained in:
@@ -4,5 +4,10 @@ SET(TARGET_SRC ReaderWriterEXR.cpp )
|
||||
|
||||
SET(TARGET_LIBRARIES_VARS ${OPENEXR_LIBRARIES_VARS} ZLIB_LIBRARY)
|
||||
|
||||
IF(CMAKE_COMPILER_IS_GNUCXX)
|
||||
# Remove -Wshadow flag as it barfs on ffmoeg headers
|
||||
STRING(REGEX REPLACE "-Wshadow" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
|
||||
ENDIF()
|
||||
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN(exr)
|
||||
|
||||
@@ -248,7 +248,7 @@ public:
|
||||
return WriteResult::ERROR_IN_WRITING_FILE;
|
||||
}
|
||||
protected:
|
||||
bool writeEXRStream(const osg::Image &img, std::ostream& fout, const std::string &fileName) const
|
||||
bool writeEXRStream(const osg::Image &img, std::ostream& fout, const std::string& /*fileName*/) const
|
||||
{
|
||||
bool writeOK = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user