Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
This file has been truncated, but you can view the full file.
Scanning dependencies of target FreeImage
[ 0%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/DeprecationManager/Deprecated.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/DeprecationManager/../DeprecationManager/DeprecationMgr.h:29:0,
from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/DeprecationManager/Deprecated.cpp:25:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 0%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/DeprecationManager/DeprecationMgr.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/DeprecationManager/DeprecationMgr.cpp:30:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 0%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/BitmapAccess.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/BitmapAccess.cpp:38:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/BitmapAccess.cpp: In function 'FREE_IMAGE_COLOR_TYPE FreeImage_GetColorType(FIBITMAP*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/BitmapAccess.cpp:511:9: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch]
switch(image_type) {
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/BitmapAccess.cpp:511:9: warning: enumeration value 'FIT_BITMAP' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/BitmapAccess.cpp:511:9: warning: enumeration value 'FIT_UINT16' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/BitmapAccess.cpp:511:9: warning: enumeration value 'FIT_INT16' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/BitmapAccess.cpp:511:9: warning: enumeration value 'FIT_UINT32' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/BitmapAccess.cpp:511:9: warning: enumeration value 'FIT_INT32' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/BitmapAccess.cpp:511:9: warning: enumeration value 'FIT_FLOAT' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/BitmapAccess.cpp:511:9: warning: enumeration value 'FIT_DOUBLE' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/BitmapAccess.cpp:511:9: warning: enumeration value 'FIT_COMPLEX' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/BitmapAccess.cpp: In function 'unsigned int FreeImage_GetPitch(FIBITMAP*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/BitmapAccess.cpp:874:38: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return dib ? FreeImage_GetLine(dib) + 3 & ~3 : 0;
~~~~~~~~~~~~~~~~~~~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/BitmapAccess.cpp: In function 'BOOL FreeImage_SetMetadata(FREE_IMAGE_MDMODEL, FIBITMAP*, const char*, FITAG*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/BitmapAccess.cpp:1147:12: warning: declaration of 'FITAG* tag' shadows a parameter [-Wshadow]
FITAG *tag = (*i).second;
^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/BitmapAccess.cpp:1071:88: note: shadowed declaration is here
FreeImage_SetMetadata(FREE_IMAGE_MDMODEL model, FIBITMAP *dib, const char *key, FITAG *tag) {
^~~
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/BitmapAccess.cpp:40:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/../Metadata/FreeImageTag.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/../Metadata/FreeImageTag.h:450:20: warning: 'g_TagLib_ExifRawFieldName' defined but not used [-Wunused-variable]
static const char *g_TagLib_ExifRawFieldName = "ExifRaw";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/../Metadata/FreeImageTag.h:447:20: warning: 'g_TagLib_XMPFieldName' defined but not used [-Wunused-variable]
static const char *g_TagLib_XMPFieldName = "XMLPacket";
^~~~~~~~~~~~~~~~~~~~~
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/BitmapAccess.cpp:38:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 0%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/CacheFile.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/CacheFile.h:28:0,
from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/CacheFile.cpp:27:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 0%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/ColorLookup.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ColorLookup.cpp:24:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ColorLookup.cpp: In function 'int FreeImage_LookupNamedColor(const char*, const NamedColor*, int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ColorLookup.cpp:76:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; szColor[i] && i < sizeof(color) - 1; i++) {
~~^~~~~~~~~~~~~~~~~~~
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ColorLookup.cpp:24:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 0%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/Conversion.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/Conversion.cpp:26:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 0%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/Conversion16_555.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/Conversion16_555.cpp:25:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 0%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/Conversion16_565.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/Conversion16_565.cpp:25:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 1%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/Conversion24.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/Conversion24.cpp:26:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/Conversion24.cpp: In function 'FIBITMAP* FreeImage_ConvertTo24Bits(FIBITMAP*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/Conversion24.cpp:198:43: warning: cast from type 'const BYTE* {aka const unsigned char*}' to type 'FIRGB16* {aka tagFIRGB16*}' casts away qualifiers [-Wcast-qual]
const FIRGB16 *src_pixel = (FIRGB16*)src_bits;
^~~~~~~~
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/Conversion24.cpp:26:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 1%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/Conversion32.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/Conversion32.cpp:26:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/Conversion32.cpp: In function 'FIBITMAP* FreeImage_ConvertTo32Bits(FIBITMAP*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/Conversion32.cpp:301:41: warning: cast from type 'const BYTE* {aka const unsigned char*}' to type 'FIRGB16* {aka tagFIRGB16*}' casts away qualifiers [-Wcast-qual]
const FIRGB16 *src_pixel = (FIRGB16*)src_bits;
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/Conversion32.cpp:329:43: warning: cast from type 'const BYTE* {aka const unsigned char*}' to type 'FIRGBA16* {aka tagFIRGBA16*}' casts away qualifiers [-Wcast-qual]
const FIRGBA16 *src_pixel = (FIRGBA16*)src_bits;
^~~~~~~~
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/Conversion32.cpp:26:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 1%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/ConversionFloat.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionFloat.cpp:23:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionFloat.cpp: In function 'FIBITMAP* FreeImage_ConvertToFloat(FIBITMAP*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionFloat.cpp:93:36: warning: cast from type 'const BYTE* {aka const unsigned char*}' to type 'BYTE* {aka unsigned char*}' casts away qualifiers [-Wcast-qual]
const BYTE *src_pixel = (BYTE*)src_bits;
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionFloat.cpp:108:36: warning: cast from type 'const BYTE* {aka const unsigned char*}' to type 'WORD* {aka short unsigned int*}' casts away qualifiers [-Wcast-qual]
const WORD *src_pixel = (WORD*)src_bits;
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionFloat.cpp:124:42: warning: cast from type 'const BYTE* {aka const unsigned char*}' to type 'FIRGB16* {aka tagFIRGB16*}' casts away qualifiers [-Wcast-qual]
const FIRGB16 *src_pixel = (FIRGB16*)src_bits;
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionFloat.cpp:140:44: warning: cast from type 'const BYTE* {aka const unsigned char*}' to type 'FIRGBA16* {aka tagFIRGBA16*}' casts away qualifiers [-Wcast-qual]
const FIRGBA16 *src_pixel = (FIRGBA16*)src_bits;
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionFloat.cpp:156:40: warning: cast from type 'const BYTE* {aka const unsigned char*}' to type 'FIRGBF* {aka tagFIRGBF*}' casts away qualifiers [-Wcast-qual]
const FIRGBF *src_pixel = (FIRGBF*)src_bits;
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionFloat.cpp:172:42: warning: cast from type 'const BYTE* {aka const unsigned char*}' to type 'FIRGBAF* {aka tagFIRGBAF*}' casts away qualifiers [-Wcast-qual]
const FIRGBAF *src_pixel = (FIRGBAF*)src_bits;
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionFloat.cpp:89:8: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch]
switch(src_type) {
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionFloat.cpp:89:8: warning: enumeration value 'FIT_INT16' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionFloat.cpp:89:8: warning: enumeration value 'FIT_UINT32' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionFloat.cpp:89:8: warning: enumeration value 'FIT_INT32' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionFloat.cpp:89:8: warning: enumeration value 'FIT_FLOAT' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionFloat.cpp:89:8: warning: enumeration value 'FIT_DOUBLE' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionFloat.cpp:89:8: warning: enumeration value 'FIT_COMPLEX' not handled in switch [-Wswitch]
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionFloat.cpp:23:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 1%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/ConversionRGB16.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionRGB16.cpp:23:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 1%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/Conversion4.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/Conversion4.cpp:23:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 1%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/Conversion8.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/Conversion8.cpp:26:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/Conversion8.cpp: In function 'FIBITMAP* FreeImage_ConvertTo8Bits(FIBITMAP*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/Conversion8.cpp:233:36: warning: cast from type 'const BYTE* {aka const unsigned char*}' to type 'WORD* {aka short unsigned int*}' casts away qualifiers [-Wcast-qual]
const WORD *src_pixel = (WORD*)src_bits;
^~~~~~~~
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/Conversion8.cpp:26:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 1%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/ConversionRGBF.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionRGBF.cpp:23:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionRGBF.cpp: In function 'FIBITMAP* FreeImage_ConvertToRGBF(FIBITMAP*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionRGBF.cpp:111:38: warning: cast from type 'const BYTE* {aka const unsigned char*}' to type 'BYTE* {aka unsigned char*}' casts away qualifiers [-Wcast-qual]
const BYTE *src_pixel = (BYTE*)src_bits;
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionRGBF.cpp:134:36: warning: cast from type 'const BYTE* {aka const unsigned char*}' to type 'WORD* {aka short unsigned int*}' casts away qualifiers [-Wcast-qual]
const WORD *src_pixel = (WORD*)src_bits;
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionRGBF.cpp:156:43: warning: cast from type 'const BYTE* {aka const unsigned char*}' to type 'FIRGB16* {aka tagFIRGB16*}' casts away qualifiers [-Wcast-qual]
const FIRGB16 *src_pixel = (FIRGB16*) src_bits;
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionRGBF.cpp:177:45: warning: cast from type 'const BYTE* {aka const unsigned char*}' to type 'FIRGBA16* {aka tagFIRGBA16*}' casts away qualifiers [-Wcast-qual]
const FIRGBA16 *src_pixel = (FIRGBA16*) src_bits;
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionRGBF.cpp:198:39: warning: cast from type 'const BYTE* {aka const unsigned char*}' to type 'float*' casts away qualifiers [-Wcast-qual]
const float *src_pixel = (float*) src_bits;
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionRGBF.cpp:219:43: warning: cast from type 'const BYTE* {aka const unsigned char*}' to type 'FIRGBAF* {aka tagFIRGBAF*}' casts away qualifiers [-Wcast-qual]
const FIRGBAF *src_pixel = (FIRGBAF*) src_bits;
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionRGBF.cpp:101:8: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch]
switch(src_type) {
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionRGBF.cpp:101:8: warning: enumeration value 'FIT_INT16' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionRGBF.cpp:101:8: warning: enumeration value 'FIT_UINT32' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionRGBF.cpp:101:8: warning: enumeration value 'FIT_INT32' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionRGBF.cpp:101:8: warning: enumeration value 'FIT_DOUBLE' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionRGBF.cpp:101:8: warning: enumeration value 'FIT_COMPLEX' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionRGBF.cpp:101:8: warning: enumeration value 'FIT_RGBF' not handled in switch [-Wswitch]
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionRGBF.cpp:23:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 1%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/ConversionType.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp:23:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp: In function 'FIBITMAP* FreeImage_ConvertToStandardType(FIBITMAP*, BOOL)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp:245:8: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch]
switch(src_type) {
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp: In function 'FIBITMAP* FreeImage_ConvertToType(FIBITMAP*, FREE_IMAGE_TYPE, BOOL)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp:323:10: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch]
switch(dst_type) {
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp:323:10: warning: enumeration value 'FIT_BITMAP' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp:358:10: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch]
switch(dst_type) {
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp:358:10: warning: enumeration value 'FIT_UINT16' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp:390:10: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch]
switch(dst_type) {
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp:390:10: warning: enumeration value 'FIT_INT16' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp:420:10: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch]
switch(dst_type) {
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp:420:10: warning: enumeration value 'FIT_UINT32' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp:450:10: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch]
switch(dst_type) {
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp:450:10: warning: enumeration value 'FIT_INT32' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp:480:10: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch]
switch(dst_type) {
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp:480:10: warning: enumeration value 'FIT_FLOAT' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp:510:10: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch]
switch(dst_type) {
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp:510:10: warning: enumeration value 'FIT_DOUBLE' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp:538:10: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch]
switch(dst_type) {
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp:538:10: warning: enumeration value 'FIT_COMPLEX' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp:564:10: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch]
switch(dst_type) {
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp:564:10: warning: enumeration value 'FIT_RGB16' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp:594:10: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch]
switch(dst_type) {
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp:594:10: warning: enumeration value 'FIT_RGBA16' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp:625:10: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch]
switch(dst_type) {
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp:625:10: warning: enumeration value 'FIT_RGBF' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp:652:10: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch]
switch(dst_type) {
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp:652:10: warning: enumeration value 'FIT_RGBAF' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp:321:8: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch]
switch(src_type) {
^
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp:23:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In instantiation of 'void MAXMIN(const T*, long int, T&, T&) [with T = short unsigned int]':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp:110:10: required from 'FIBITMAP* CONVERT_TO_BYTE<Tsrc>::convert(FIBITMAP*, BOOL) [with Tsrc = short unsigned int; BOOL = int]'
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp:250:55: required from here
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:172:7: warning: variable 'i1' set but not used [-Wunused-but-set-variable]
long i1, i2, i, j;
^~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:172:11: warning: variable 'i2' set but not used [-Wunused-but-set-variable]
long i1, i2, i, j;
^~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In instantiation of 'void MAXMIN(const T*, long int, T&, T&) [with T = short int]':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp:110:10: required from 'FIBITMAP* CONVERT_TO_BYTE<Tsrc>::convert(FIBITMAP*, BOOL) [with Tsrc = short int; BOOL = int]'
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp:253:54: required from here
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:172:7: warning: variable 'i1' set but not used [-Wunused-but-set-variable]
long i1, i2, i, j;
^~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:172:11: warning: variable 'i2' set but not used [-Wunused-but-set-variable]
long i1, i2, i, j;
^~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In instantiation of 'void MAXMIN(const T*, long int, T&, T&) [with T = unsigned int]':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp:110:10: required from 'FIBITMAP* CONVERT_TO_BYTE<Tsrc>::convert(FIBITMAP*, BOOL) [with Tsrc = unsigned int; BOOL = int]'
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp:256:54: required from here
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:172:7: warning: variable 'i1' set but not used [-Wunused-but-set-variable]
long i1, i2, i, j;
^~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:172:11: warning: variable 'i2' set but not used [-Wunused-but-set-variable]
long i1, i2, i, j;
^~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In instantiation of 'void MAXMIN(const T*, long int, T&, T&) [with T = int]':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp:110:10: required from 'FIBITMAP* CONVERT_TO_BYTE<Tsrc>::convert(FIBITMAP*, BOOL) [with Tsrc = int; BOOL = int]'
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp:259:53: required from here
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:172:7: warning: variable 'i1' set but not used [-Wunused-but-set-variable]
long i1, i2, i, j;
^~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:172:11: warning: variable 'i2' set but not used [-Wunused-but-set-variable]
long i1, i2, i, j;
^~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In instantiation of 'void MAXMIN(const T*, long int, T&, T&) [with T = float]':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp:110:10: required from 'FIBITMAP* CONVERT_TO_BYTE<Tsrc>::convert(FIBITMAP*, BOOL) [with Tsrc = float; BOOL = int]'
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp:262:54: required from here
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:172:7: warning: variable 'i1' set but not used [-Wunused-but-set-variable]
long i1, i2, i, j;
^~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:172:11: warning: variable 'i2' set but not used [-Wunused-but-set-variable]
long i1, i2, i, j;
^~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In instantiation of 'void MAXMIN(const T*, long int, T&, T&) [with T = double]':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp:110:10: required from 'FIBITMAP* CONVERT_TO_BYTE<Tsrc>::convert(FIBITMAP*, BOOL) [with Tsrc = double; BOOL = int]'
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionType.cpp:265:55: required from here
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:172:7: warning: variable 'i1' set but not used [-Wunused-but-set-variable]
long i1, i2, i, j;
^~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:172:11: warning: variable 'i2' set but not used [-Wunused-but-set-variable]
long i1, i2, i, j;
^~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 2%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/ConversionUINT16.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ConversionUINT16.cpp:23:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 2%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/FreeImage.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/FreeImage.cpp:30:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 2%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/FreeImageIO.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/FreeImageIO.cpp:23:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 2%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/GetType.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/GetType.cpp:27:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 2%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/Halftoning.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/Halftoning.cpp:27:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/Halftoning.cpp: In function 'FIBITMAP* FloydSteinberg(FIBITMAP*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/Halftoning.cpp:43:21: warning: variable 'pitch' set but not used [-Wunused-but-set-variable]
int width, height, pitch;
^~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/Halftoning.cpp: In function 'int dithervalue(int, int, int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/Halftoning.cpp:153:18: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
d = (d <<1 | (x&1 ^ y&1))<<1 | y&1;
~^~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/Halftoning.cpp:153:35: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
d = (d <<1 | (x&1 ^ y&1))<<1 | y&1;
~^~
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/Halftoning.cpp:27:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 2%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/J2KHelper.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/J2KHelper.cpp:23:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 2%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/MemoryIO.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MemoryIO.cpp:24:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MemoryIO.cpp: In function 'unsigned int FreeImage_WriteMemory(const void*, unsigned int, unsigned int, FIMEMORY*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MemoryIO.cpp:228:33: warning: cast from type 'const void*' to type 'void*' casts away qualifiers [-Wcast-qual]
return io.write_proc((void *)buffer, size, count, stream);
^~~~~~
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MemoryIO.cpp:24:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 2%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/MNGHelper.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp:23:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp: In function 'BOOL mng_FindChunk(FIMEMORY*, BYTE*, long int, DWORD*, DWORD*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp:360:7: warning: unused variable 'mEnd' [-Wunused-variable]
BOOL mEnd = FALSE;
^~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp: In function 'FIBITMAP* mng_ReadChunks(int, FreeImageIO*, fi_handle, long int, int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp:965:12: warning: unused variable 'jng_image_interlace_method' [-Wunused-variable]
BYTE jng_image_interlace_method = mChunk[11];
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp:762:7: warning: variable 'jng_color_type' set but not used [-Wunused-but-set-variable]
BYTE jng_color_type = 0;
^~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp:763:7: warning: variable 'jng_image_sample_depth' set but not used [-Wunused-but-set-variable]
BYTE jng_image_sample_depth = 0;
^~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp:764:7: warning: variable 'jng_image_compression_method' set but not used [-Wunused-but-set-variable]
BYTE jng_image_compression_method = 0;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp:768:7: warning: variable 'jng_alpha_filter_method' set but not used [-Wunused-but-set-variable]
BYTE jng_alpha_filter_method = 0;
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp:769:7: warning: variable 'jng_alpha_interlace_method' set but not used [-Wunused-but-set-variable]
BYTE jng_alpha_interlace_method = 0;
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp:182:13: warning: 'mng_zTXt' defined but not used [-Wunused-variable]
static BYTE mng_zTXt[5]={122, 84, 88, 116, (BYTE) '\0'};
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp:181:13: warning: 'mng_tIME' defined but not used [-Wunused-variable]
static BYTE mng_tIME[5]={116, 73, 77, 69, (BYTE) '\0'};
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp:179:13: warning: 'mng_sTER' defined but not used [-Wunused-variable]
static BYTE mng_sTER[5]={115, 84, 69, 82, (BYTE) '\0'};
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp:178:13: warning: 'mng_sPLT' defined but not used [-Wunused-variable]
static BYTE mng_sPLT[5]={115, 80, 76, 84, (BYTE) '\0'};
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp:177:13: warning: 'mng_iTXt' defined but not used [-Wunused-variable]
static BYTE mng_iTXt[5]={105, 84, 88, 116, (BYTE) '\0'};
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp:176:13: warning: 'mng_hIST' defined but not used [-Wunused-variable]
static BYTE mng_hIST[5]={104, 73, 83, 84, (BYTE) '\0'};
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp:173:13: warning: 'mng_oFFs' defined but not used [-Wunused-variable]
static BYTE mng_oFFs[5]={111, 70, 70, 115, (BYTE) '\0'};
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp:172:13: warning: 'mng_JSEP' defined but not used [-Wunused-variable]
static BYTE mng_JSEP[5]={ 74, 83, 69, 80, (BYTE) '\0'};
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp:171:13: warning: 'mng_JdAA' defined but not used [-Wunused-variable]
static BYTE mng_JdAA[5]={ 74, 100, 65, 65, (BYTE) '\0'};
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp:164:13: warning: 'mng_sRGB' defined but not used [-Wunused-variable]
static BYTE mng_sRGB[5]={115, 82, 71, 66, (BYTE) '\0'};
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp:163:13: warning: 'mng_sBIT' defined but not used [-Wunused-variable]
static BYTE mng_sBIT[5]={115, 66, 73, 84, (BYTE) '\0'};
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp:161:13: warning: 'mng_vpAg' defined but not used [-Wunused-variable]
static BYTE mng_vpAg[5]={118, 112, 65, 103, (BYTE) '\0'};
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp:160:13: warning: 'mng_pHYg' defined but not used [-Wunused-variable]
static BYTE mng_pHYg[5]={112, 72, 89, 103, (BYTE) '\0'};
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp:159:13: warning: 'mng_nEED' defined but not used [-Wunused-variable]
static BYTE mng_nEED[5]={110, 69, 69, 68, (BYTE) '\0'};
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp:158:13: warning: 'mng_iCCP' defined but not used [-Wunused-variable]
static BYTE mng_iCCP[5]={105, 67, 67, 80, (BYTE) '\0'};
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp:156:13: warning: 'mng_cHRM' defined but not used [-Wunused-variable]
static BYTE mng_cHRM[5]={ 99, 72, 82, 77, (BYTE) '\0'};
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp:154:13: warning: 'mng_TERM' defined but not used [-Wunused-variable]
static BYTE mng_TERM[5]={ 84, 69, 82, 77, (BYTE) '\0'};
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp:153:13: warning: 'mng_SHOW' defined but not used [-Wunused-variable]
static BYTE mng_SHOW[5]={ 83, 72, 79, 87, (BYTE) '\0'};
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp:152:13: warning: 'mng_SEEK' defined but not used [-Wunused-variable]
static BYTE mng_SEEK[5]={ 83, 69, 69, 75, (BYTE) '\0'};
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp:151:13: warning: 'mng_SAVE' defined but not used [-Wunused-variable]
static BYTE mng_SAVE[5]={ 83, 65, 86, 69, (BYTE) '\0'};
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp:149:13: warning: 'mng_PAST' defined but not used [-Wunused-variable]
static BYTE mng_PAST[5]={ 80, 65, 83, 84, (BYTE) '\0'};
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp:148:13: warning: 'mng_MOVE' defined but not used [-Wunused-variable]
static BYTE mng_MOVE[5]={ 77, 79, 86, 69, (BYTE) '\0'};
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp:146:13: warning: 'mng_MAGN' defined but not used [-Wunused-variable]
static BYTE mng_MAGN[5]={ 77, 65, 71, 78, (BYTE) '\0'};
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp:141:13: warning: 'mng_FRAM' defined but not used [-Wunused-variable]
static BYTE mng_FRAM[5]={ 70, 82, 65, 77, (BYTE) '\0'};
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp:140:13: warning: 'mng_ENDL' defined but not used [-Wunused-variable]
static BYTE mng_ENDL[5]={ 69, 78, 68, 76, (BYTE) '\0'};
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp:139:13: warning: 'mng_DISC' defined but not used [-Wunused-variable]
static BYTE mng_DISC[5]={ 68, 73, 83, 67, (BYTE) '\0'};
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp:138:13: warning: 'mng_DHDR' defined but not used [-Wunused-variable]
static BYTE mng_DHDR[5]={ 68, 72, 68, 82, (BYTE) '\0'};
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp:136:13: warning: 'mng_CLON' defined but not used [-Wunused-variable]
static BYTE mng_CLON[5]={ 67, 76, 79, 78, (BYTE) '\0'};
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp:135:13: warning: 'mng_CLIP' defined but not used [-Wunused-variable]
static BYTE mng_CLIP[5]={ 67, 76, 73, 80, (BYTE) '\0'};
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp:134:13: warning: 'mng_BASI' defined but not used [-Wunused-variable]
static BYTE mng_BASI[5]={ 66, 65, 83, 73, (BYTE) '\0'};
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp:133:13: warning: 'mng_BACK' defined but not used [-Wunused-variable]
static BYTE mng_BACK[5]={ 66, 65, 67, 75, (BYTE) '\0'};
^~~~~~~~
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MNGHelper.cpp:23:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 3%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/MultiPage.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/CacheFile.h:28:0,
from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MultiPage.cpp:33:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MultiPage.cpp: In function 'FIMULTIBITMAP* FreeImage_OpenMultiBitmap(FREE_IMAGE_FORMAT, const char*, BOOL, BOOL, BOOL, int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MultiPage.cpp:254:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
std::auto_ptr<FreeImageIO> io (new FreeImageIO);
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:52,
from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/CacheFile.h:28,
from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MultiPage.cpp:33:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MultiPage.cpp:265:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
std::auto_ptr<FIMULTIBITMAP> bitmap (new FIMULTIBITMAP);
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:52,
from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/CacheFile.h:28,
from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MultiPage.cpp:33:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MultiPage.cpp:266:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
std::auto_ptr<MULTIBITMAPHEADER> header (new MULTIBITMAPHEADER);
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:52,
from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/CacheFile.h:28,
from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MultiPage.cpp:33:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MultiPage.cpp:299:11: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
std::auto_ptr<CacheFile> cache_file (new CacheFile(cache_name, keep_cache_in_memory));
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:52,
from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/CacheFile.h:28,
from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MultiPage.cpp:33:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MultiPage.cpp: In function 'FIMULTIBITMAP* FreeImage_OpenMultiBitmapFromHandle(FREE_IMAGE_FORMAT, FreeImageIO*, fi_handle, int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MultiPage.cpp:339:11: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
std::auto_ptr<FIMULTIBITMAP> bitmap (new FIMULTIBITMAP);
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:52,
from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/CacheFile.h:28,
from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MultiPage.cpp:33:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MultiPage.cpp:340:11: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
std::auto_ptr<MULTIBITMAPHEADER> header (new MULTIBITMAPHEADER);
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:52,
from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/CacheFile.h:28,
from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MultiPage.cpp:33:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MultiPage.cpp:341:11: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
std::auto_ptr<FreeImageIO> tmp_io (new FreeImageIO (*io));
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:52,
from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/CacheFile.h:28,
from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MultiPage.cpp:33:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MultiPage.cpp:367:12: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
std::auto_ptr<CacheFile> cache_file (new CacheFile("", TRUE));
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:52,
from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/CacheFile.h:28,
from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MultiPage.cpp:33:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/CacheFile.h:28:0,
from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/MultiPage.cpp:33:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 3%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/NNQuantizer.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/NNQuantizer.cpp:35:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
[ 3%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/PSDParser.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PSDParser.cpp:26:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PSDParser.cpp: In member function 'bool psdParser::ReadImageResources(FreeImageIO*, fi_handle, LONG)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PSDParser.cpp:496:7: warning: unused variable 'n' [-Wunused-variable]
int n = (int)io->read_proc(&Length, sizeof(Length), 1, handle);
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PSDParser.cpp: In member function 'FIBITMAP* psdParser::ReadImageData(FreeImageIO*, fi_handle)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PSDParser.cpp:848:16: warning: left operand of comma operator has no effect [-Wunused-value]
rle_line < rle_line_start + rleLineSize, line < line_end;) {
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PSDParser.cpp:26:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 3%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/PixelAccess.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PixelAccess.cpp:26:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 3%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/Plugin.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/Plugin.cpp:37:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/Plugin.cpp: In function 'FREE_IMAGE_FORMAT FreeImage_GetFIFFromFilename(const char*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/Plugin.cpp:730:33: warning: cast from type 'const char*' to type 'char*' casts away qualifiers [-Wcast-qual]
char *place = strrchr((char *)filename, '.');
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/Plugin.cpp: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/Plugin.cpp:55:12: warning: 's_search_list_size' defined but not used [-Wunused-variable]
static int s_search_list_size = sizeof(s_search_list) / sizeof(char *);
^~~~~~~~~~~~~~~~~~
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/Plugin.cpp:37:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 3%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/PluginBMP.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginBMP.cpp:27:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 3%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/PluginCUT.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginCUT.cpp:23:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 3%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/PluginDDS.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginDDS.cpp:24:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginDDS.cpp: In function 'void GetBlockColors(const DXTColBlock&, Color8888*, bool)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginDDS.cpp:226:29: warning: cast from type 'const Color565* {aka const tagColor565*}' to type 'WORD* {aka short unsigned int*}' casts away qualifiers [-Wcast-qual]
WORD *wCol = (WORD *)block.colors;
^~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginDDS.cpp: In function 'FIBITMAP* LoadDXT(int, DDSURFACEDESC2&, FreeImageIO*, fi_handle, int, int, void*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginDDS.cpp:507:8: warning: unused variable 'bits' [-Wunused-variable]
BYTE *bits = FreeImage_GetBits (dib);
^~~~
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginDDS.cpp:24:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 3%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/PluginEXR.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginEXR.cpp:24:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/../OpenEXR/IlmImf/ImfRgbaFile.h:52:0,
from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginEXR.cpp:29:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/OpenEXR/IlmImf/ImfRgba.h: In constructor 'Imf::Rgba::Rgba(half, half, half, half)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/OpenEXR/IlmImf/ImfRgba.h:62:48: warning: declaration of 'a' shadows a member of 'Imf::Rgba' [-Wshadow]
Rgba (half r, half g, half b, half a = 1.f): r (r), g (g), b (b), a (a) {}
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/OpenEXR/IlmImf/ImfRgba.h:59:10: note: shadowed declaration is here
half a;
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/OpenEXR/IlmImf/ImfRgba.h:62:48: warning: declaration of 'b' shadows a member of 'Imf::Rgba' [-Wshadow]
Rgba (half r, half g, half b, half a = 1.f): r (r), g (g), b (b), a (a) {}
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/OpenEXR/IlmImf/ImfRgba.h:58:10: note: shadowed declaration is here
half b;
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/OpenEXR/IlmImf/ImfRgba.h:62:48: warning: declaration of 'g' shadows a member of 'Imf::Rgba' [-Wshadow]
Rgba (half r, half g, half b, half a = 1.f): r (r), g (g), b (b), a (a) {}
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/OpenEXR/IlmImf/ImfRgba.h:57:10: note: shadowed declaration is here
half g;
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/OpenEXR/IlmImf/ImfRgba.h:62:48: warning: declaration of 'r' shadows a member of 'Imf::Rgba' [-Wshadow]
Rgba (half r, half g, half b, half a = 1.f): r (r), g (g), b (b), a (a) {}
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/OpenEXR/IlmImf/ImfRgba.h:56:10: note: shadowed declaration is here
half r;
^
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginEXR.cpp:33:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/../OpenEXR/IlmImf/ImfPreviewImage.h: In constructor 'Imf::PreviewRgba::PreviewRgba(unsigned char, unsigned char, unsigned char, unsigned char)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/../OpenEXR/IlmImf/ImfPreviewImage.h:65:2: warning: declaration of 'a' shadows a member of 'Imf::PreviewRgba' [-Wshadow]
: r(r), g(g), b(b), a(a) {}
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/../OpenEXR/IlmImf/ImfPreviewImage.h:58:19: note: shadowed declaration is here
unsigned char a; // The pixel's alpha; 0 == transparent,
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/../OpenEXR/IlmImf/ImfPreviewImage.h:65:2: warning: declaration of 'b' shadows a member of 'Imf::PreviewRgba' [-Wshadow]
: r(r), g(g), b(b), a(a) {}
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/../OpenEXR/IlmImf/ImfPreviewImage.h:55:19: note: shadowed declaration is here
unsigned char b; // proportional to pow (x/255, 2.2),
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/../OpenEXR/IlmImf/ImfPreviewImage.h:65:2: warning: declaration of 'g' shadows a member of 'Imf::PreviewRgba' [-Wshadow]
: r(r), g(g), b(b), a(a) {}
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/../OpenEXR/IlmImf/ImfPreviewImage.h:54:19: note: shadowed declaration is here
unsigned char g; // the pixel's color; intensity is
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/../OpenEXR/IlmImf/ImfPreviewImage.h:65:2: warning: declaration of 'r' shadows a member of 'Imf::PreviewRgba' [-Wshadow]
: r(r), g(g), b(b), a(a) {}
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/../OpenEXR/IlmImf/ImfPreviewImage.h:53:19: note: shadowed declaration is here
unsigned char r; // Red, green and blue components of
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginEXR.cpp: In member function 'virtual void C_OStream::write(const char*, int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginEXR.cpp:99:47: warning: cast from type 'const char*' to type 'void*' casts away qualifiers [-Wcast-qual]
if((unsigned)n != _io->write_proc((void*)&c[0], 1, n, _handle)) {
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginEXR.cpp: In function 'FIBITMAP* Load(FreeImageIO*, fi_handle, int, int, void*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginEXR.cpp:365:28: warning: cast from type 'const BYTE* {aka const unsigned char*}' to type 'BYTE* {aka unsigned char*}' casts away qualifiers [-Wcast-qual]
BYTE *scanline = (BYTE*)bits;
^~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginEXR.cpp:408:27: warning: cast from type 'const BYTE* {aka const unsigned char*}' to type 'char*' casts away qualifiers [-Wcast-qual]
(char*)(bits + offset), // base
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginEXR.cpp:420:48: warning: cast from type 'const BYTE* {aka const unsigned char*}' to type 'char*' casts away qualifiers [-Wcast-qual]
(char*)(bits + c * sizeof(float) + offset), // base
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginEXR.cpp: In function 'BOOL SetPreviewImage(FIBITMAP*, Imf::Header&)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginEXR.cpp:474:41: warning: cast from type 'const BYTE* {aka const unsigned char*}' to type 'RGBQUAD* {aka tagRGBQUAD*}' casts away qualifiers [-Wcast-qual]
const RGBQUAD* src_pixel = (RGBQUAD*)src_line;
^~~~~~~~
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginEXR.cpp:24:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
[ 4%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/PluginG3.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginG3.cpp:26:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
[ 4%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/PluginGIF.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginGIF.cpp:28:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginGIF.cpp: In function 'void* Open(FreeImageIO*, fi_handle, BOOL)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginGIF.cpp:627:26: warning: cast from type 'const char*' to type 'void*' casts away qualifiers [-Wcast-qual]
io->write_proc((void *)"GIF89a", 6, 1, handle);
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginGIF.cpp: In function 'FIBITMAP* Load(FreeImageIO*, fi_handle, int, int, void*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginGIF.cpp:768:15: warning: declaration of 'info' shadows a previous local [-Wshadow]
PageInfo &info = pageinfo[end - page];
^~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginGIF.cpp:664:11: note: shadowed declaration is here
GIFinfo *info = (GIFinfo *)data;
^~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginGIF.cpp:818:55: warning: cast from type 'const void*' to type 'LONG* {aka int*}' casts away qualifiers [-Wcast-qual]
delay_time = *(LONG *)FreeImage_GetTagValue(tag);
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginGIF.cpp:990:17: warning: declaration of 'buf' shadows a previous local [-Wshadow]
char buf[11];
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginGIF.cpp:913:8: note: shadowed declaration is here
BYTE buf[4096];
^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginGIF.cpp:1013:17: warning: declaration of 'buf' shadows a previous local [-Wshadow]
char buf[255];
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginGIF.cpp:913:8: note: shadowed declaration is here
BYTE buf[4096];
^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginGIF.cpp:1021:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t {aka long unsigned int}' [-Wformat=]
sprintf(buf, "Comment%d", idx);
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginGIF.cpp: In function 'BOOL Save(FreeImageIO*, FIBITMAP*, fi_handle, int, int, void*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginGIF.cpp:1093:45: warning: cast from type 'const void*' to type 'WORD* {aka short unsigned int*}' casts away qualifiers [-Wcast-qual]
left = *(WORD *)FreeImage_GetTagValue(tag);
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginGIF.cpp:1096:44: warning: cast from type 'const void*' to type 'WORD* {aka short unsigned int*}' casts away qualifiers [-Wcast-qual]
top = *(WORD *)FreeImage_GetTagValue(tag);
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginGIF.cpp:1099:57: warning: cast from type 'const void*' to type 'BYTE* {aka unsigned char*}' casts away qualifiers [-Wcast-qual]
no_local_palette = *(BYTE *)FreeImage_GetTagValue(tag) ? true : false;
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginGIF.cpp:1102:51: warning: cast from type 'const void*' to type 'BYTE* {aka unsigned char*}' casts away qualifiers [-Wcast-qual]
interlaced = *(BYTE *)FreeImage_GetTagValue(tag) ? true : false;
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginGIF.cpp:1105:51: warning: cast from type 'const void*' to type 'LONG* {aka int*}' casts away qualifiers [-Wcast-qual]
delay_time = *(LONG *)FreeImage_GetTagValue(tag);
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginGIF.cpp:1108:56: warning: cast from type 'const void*' to type 'BYTE* {aka unsigned char*}' casts away qualifiers [-Wcast-qual]
disposal_method = *(BYTE *)FreeImage_GetTagValue(tag);
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginGIF.cpp:1123:54: warning: cast from type 'const void*' to type 'WORD* {aka short unsigned int*}' casts away qualifiers [-Wcast-qual]
logicalwidth = *(WORD *)FreeImage_GetTagValue(tag);
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginGIF.cpp:1130:55: warning: cast from type 'const void*' to type 'WORD* {aka short unsigned int*}' casts away qualifiers [-Wcast-qual]
logicalheight = *(WORD *)FreeImage_GetTagValue(tag);
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginGIF.cpp:1140:58: warning: cast from type 'const void*' to type 'RGBQUAD* {aka tagRGBQUAD*}' casts away qualifiers [-Wcast-qual]
globalpalette = (RGBQUAD *)FreeImage_GetTagValue(tag);
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginGIF.cpp:1210:46: warning: cast from type 'const void*' to type 'LONG* {aka int*}' casts away qualifiers [-Wcast-qual]
loop = *(LONG *)FreeImage_GetTagValue(tag);
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginGIF.cpp:1220:28: warning: cast from type 'const char*' to type 'void*' casts away qualifiers [-Wcast-qual]
io->write_proc((void *)"\x21\xFF\x0BNETSCAPE2.0\x03\x01", 16, 1, handle);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginGIF.cpp:1228:11: warning: declaration of 'tag' shadows a previous local [-Wshadow]
FITAG *tag = NULL;
^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginGIF.cpp:1081:10: note: shadowed declaration is here
FITAG *tag;
^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginGIF.cpp:1234:54: warning: cast from type 'const void*' to type 'char*' casts away qualifiers [-Wcast-qual]
char *value = (char *)FreeImage_GetTagValue(tag);
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginGIF.cpp:1235:30: warning: cast from type 'const char*' to type 'void*' casts away qualifiers [-Wcast-qual]
io->write_proc((void *)"\x21\xFE", 2, 1, handle);
^~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginGIF.cpp:1264:26: warning: cast from type 'const char*' to type 'void*' casts away qualifiers [-Wcast-qual]
io->write_proc((void *)"\x21\xF9\x04", 3, 1, handle);
^~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginGIF.cpp:1342:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if( size + w >= sizeof(buf) ) {
~~~~~~~~~^~~~~~~~~~
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginGIF.cpp:29:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/../Metadata/FreeImageTag.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/../Metadata/FreeImageTag.h:450:20: warning: 'g_TagLib_ExifRawFieldName' defined but not used [-Wunused-variable]
static const char *g_TagLib_ExifRawFieldName = "ExifRaw";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/../Metadata/FreeImageTag.h:447:20: warning: 'g_TagLib_XMPFieldName' defined but not used [-Wunused-variable]
static const char *g_TagLib_XMPFieldName = "XMLPacket";
^~~~~~~~~~~~~~~~~~~~~
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginGIF.cpp:28:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 4%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/PluginHDR.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginHDR.cpp:23:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginHDR.cpp: In function 'BOOL rgbe_ReadHeader(FreeImageIO*, fi_handle, unsigned int*, unsigned int*, rgbeHeaderInfo*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginHDR.cpp:210:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < sizeof(header_info->programtype) - 1; i++) {
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginHDR.cpp:23:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
[ 4%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/PluginICO.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginICO.cpp:24:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginICO.cpp: In function 'BOOL Save(FreeImageIO*, FIBITMAP*, fi_handle, int, int, void*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginICO.cpp:772:14: warning: declaration of 'k' shadows a previous local [-Wshadow]
for(size_t k = 0; k < vPages.size(); k++) {
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginICO.cpp:643:6: note: shadowed declaration is here
int k;
^
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginICO.cpp:24:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
[ 4%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/PluginIFF.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginIFF.cpp:26:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginIFF.cpp: In function 'FIBITMAP* Load(FreeImageIO*, fi_handle, int, int, void*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginIFF.cpp:294:45: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
unsigned line = FreeImage_GetLine(dib) + 1 & ~1;
~~~~~~~~~~~~~~~~~~~~~~~^~~
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginIFF.cpp:26:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 4%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/PluginJ2K.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginJ2K.cpp:23:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
[ 4%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/PluginJNG.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginJNG.cpp:23:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 4%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/PluginJP2.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginJP2.cpp:23:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
[ 5%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/PluginJPEG.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginJPEG.cpp:44:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginJPEG.cpp: In function 'BOOL jpeg_read_comment(FIBITMAP*, const BYTE*, unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginJPEG.cpp:431:25: warning: cast from type 'const BYTE* {aka const unsigned char*}' to type 'BYTE* {aka unsigned char*}' casts away qualifiers [-Wcast-qual]
BYTE *profile = (BYTE*)dataptr;
^~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginJPEG.cpp: In function 'BOOL jpeg_read_xmp_profile(FIBITMAP*, const BYTE*, unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginJPEG.cpp:620:25: warning: cast from type 'const BYTE* {aka const unsigned char*}' to type 'BYTE* {aka unsigned char*}' casts away qualifiers [-Wcast-qual]
BYTE *profile = (BYTE*)dataptr;
^~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginJPEG.cpp: In function 'BOOL jpeg_write_comment(j_compress_ptr, FIBITMAP*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginJPEG.cpp:812:59: warning: cast from type 'const void*' to type 'char*' casts away qualifiers [-Wcast-qual]
const char *tag_value = (char*)FreeImage_GetTagValue(tag);
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginJPEG.cpp:816:47: warning: cast from type 'const char*' to type 'BYTE* {aka unsigned char*}' casts away qualifiers [-Wcast-qual]
jpeg_write_marker(cinfo, JPEG_COM, (BYTE*)tag_value + i, MIN((long)strlen(tag_value + i), MAX_BYTES_IN_MARKER));
^~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginJPEG.cpp: In function 'BOOL jpeg_write_xmp_profile(j_compress_ptr, FIBITMAP*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginJPEG.cpp:920:63: warning: cast from type 'const void*' to type 'BYTE* {aka unsigned char*}' casts away qualifiers [-Wcast-qual]
const BYTE *tag_value = (BYTE*)FreeImage_GetTagValue(tag_xmp);
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginJPEG.cpp: In function 'BOOL jpeg_write_exif_profile_raw(j_compress_ptr, FIBITMAP*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginJPEG.cpp:961:64: warning: cast from type 'const void*' to type 'BYTE* {aka unsigned char*}' casts away qualifiers [-Wcast-qual]
const BYTE *tag_value = (BYTE*)FreeImage_GetTagValue(tag_exif);
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginJPEG.cpp: In function 'BOOL jpeg_write_jfxx(j_compress_ptr, FIBITMAP*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginJPEG.cpp:1002:93: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if((FreeImage_GetImageType(thumbnail) != FIT_BITMAP) || (FreeImage_GetBPP(thumbnail) != 8) && (FreeImage_GetBPP(thumbnail) != 24)) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginJPEG.cpp: In function 'void rotate_exif(FIBITMAP**)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginJPEG.cpp:1142:79: warning: cast from type 'const void*' to type 'short unsigned int*' casts away qualifiers [-Wcast-qual]
unsigned short orientation = *((unsigned short *)FreeImage_GetTagValue(tag));
^
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginJPEG.cpp:44:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginJPEG.cpp: In function 'FIBITMAP* Load(FreeImageIO*, fi_handle, int, int, void*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginJPEG.cpp:1255:13: warning: variable 'dib' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
FIBITMAP *dib = NULL;
^~~
[ 5%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/PluginKOALA.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginKOALA.cpp:23:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 5%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/PluginMNG.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginMNG.cpp:23:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 5%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/PluginPCD.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPCD.cpp:25:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPCD.cpp: In function 'FIBITMAP* Load(FreeImageIO*, fi_handle, int, int, void*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPCD.cpp:173:9: warning: declaration of 'y1' shadows a previous local [-Wshadow]
BYTE *y1 = (BYTE*)malloc(width * sizeof(BYTE));
^~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPCD.cpp:124:8: note: shadowed declaration is here
BYTE *y1 = NULL, *y2 = NULL, *cbcr = NULL;
^~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPCD.cpp:174:9: warning: declaration of 'y2' shadows a previous local [-Wshadow]
BYTE *y2 = (BYTE*)malloc(width * sizeof(BYTE));
^~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPCD.cpp:124:20: note: shadowed declaration is here
BYTE *y1 = NULL, *y2 = NULL, *cbcr = NULL;
^~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPCD.cpp:175:9: warning: declaration of 'cbcr' shadows a previous local [-Wshadow]
BYTE *cbcr = (BYTE*)malloc(width * sizeof(BYTE));
^~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPCD.cpp:124:32: note: shadowed declaration is here
BYTE *y1 = NULL, *y2 = NULL, *cbcr = NULL;
^~~~
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPCD.cpp:25:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
[ 5%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/PluginPCX.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPCX.cpp:27:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 5%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/PluginPFM.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPFM.cpp:23:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 5%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/PluginPICT.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPICT.cpp:72:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPICT.cpp: In function 'void ReadColorTable(FreeImageIO*, fi_handle, WORD*, RGBQUAD*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPICT.cpp:375:14: warning: variable 'ctSeed' set but not used [-Wunused-but-set-variable]
LONG ctSeed;
^~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPICT.cpp: In function 'void expandBuf8(FreeImageIO*, fi_handle, int, int, BYTE*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPICT.cpp:530:27: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
for (int i = 7; i > (8-width & 7); i--) {
~^~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPICT.cpp: In function 'void DecodeBitmap(FreeImageIO*, fi_handle, FIBITMAP*, BOOL, MacRect*, WORD)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPICT.cpp:826:7: warning: unused variable 'mode' [-Wunused-variable]
WORD mode = Read16( io, handle );
^~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPICT.cpp: In function 'void DecodePixmap(FreeImageIO*, fi_handle, FIBITMAP*, BOOL, MacpixMap*, WORD)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPICT.cpp:871:7: warning: unused variable 'mode' [-Wunused-variable]
WORD mode = Read16( io, handle );
^~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPICT.cpp: In function 'FIBITMAP* Load(FreeImageIO*, fi_handle, int, int, void*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPICT.cpp:1032:18: warning: declaration of 'rowBytes' shadows a previous local [-Wshadow]
WORD rowBytes;
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPICT.cpp:987:8: note: shadowed declaration is here
WORD rowBytes = 0;
^~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPICT.cpp:1117:12: warning: unused variable 'mode' [-Wunused-variable]
WORD mode = Read16( io, handle );
^~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPICT.cpp:1126:12: warning: variable 'type' set but not used [-Wunused-but-set-variable]
WORD type;
^~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPICT.cpp:1149:10: warning: unused variable 'minorVersion' [-Wunused-variable]
WORD minorVersion = Read16( io, handle ); // always FFFE (-2) for extended version 2
^~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPICT.cpp:1170:19: warning: declaration of 'BYTE data [2]' shadows a parameter [-Wshadow]
BYTE data[ 2 ];
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPICT.cpp:955:68: note: shadowed declaration is here
Load(FreeImageIO *io, fi_handle handle, int page, int flags, void *data) {
^~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPICT.cpp:1219:10: warning: enumeration value 'none' not handled in switch [-Wswitch]
switch ( pictType ) {
^
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPICT.cpp:72:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 5%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/PluginPNG.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPNG.cpp:30:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPNG.cpp: In function 'void _FlushProc(png_structp)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPNG.cpp:71:2: warning: statement has no effect [-Wunused-value]
(png_structp)png_ptr;
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPNG.cpp: In function 'void error_handler(png_structp, const char*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPNG.cpp:77:2: warning: statement has no effect [-Wunused-value]
(png_structp)png_ptr;
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPNG.cpp: In function 'void warning_handler(png_structp, const char*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPNG.cpp:85:2: warning: statement has no effect [-Wunused-value]
(png_structp)png_ptr;
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPNG.cpp:86:9: warning: cast from type 'const char*' to type 'char*' casts away qualifiers [-Wcast-qual]
(char*)warning;
^~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPNG.cpp:86:2: warning: statement has no effect [-Wunused-value]
(char*)warning;
^~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPNG.cpp: In function 'BOOL WriteMetadata(png_structp, png_infop, FIBITMAP*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPNG.cpp:153:54: warning: cast from type 'const char*' to type 'char*' casts away qualifiers [-Wcast-qual]
text_metadata.key = (char*)FreeImage_GetTagKey(tag); // keyword, 1-79 character description of "text"
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPNG.cpp:154:57: warning: cast from type 'const void*' to type 'char*' casts away qualifiers [-Wcast-qual]
text_metadata.text = (char*)FreeImage_GetTagValue(tag); // comment, may be an empty string (ie "")
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPNG.cpp:175:30: warning: cast from type 'const char*' to type 'char*' casts away qualifiers [-Wcast-qual]
text_metadata.key = (char*)g_png_xmp_keyword; // keyword, 1-79 character description of "text"
^~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPNG.cpp:176:56: warning: cast from type 'const void*' to type 'char*' casts away qualifiers [-Wcast-qual]
text_metadata.text = (char*)FreeImage_GetTagValue(tag); // comment, may be an empty string (ie "")
^
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPNG.cpp:32:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/../Metadata/FreeImageTag.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/../Metadata/FreeImageTag.h:450:20: warning: 'g_TagLib_ExifRawFieldName' defined but not used [-Wunused-variable]
static const char *g_TagLib_ExifRawFieldName = "ExifRaw";
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPNG.cpp:30:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPNG.cpp: In function 'BOOL Save(FreeImageIO*, FIBITMAP*, fi_handle, int, int, void*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPNG.cpp:660:13: warning: variable 'palette' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
png_colorp palette = NULL;
^~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPNG.cpp:662:7: warning: variable 'has_alpha_channel' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
BOOL has_alpha_channel = FALSE;
^~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPNG.cpp: In function 'FIBITMAP* Load(FreeImageIO*, fi_handle, int, int, void*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPNG.cpp:277:12: warning: variable 'dib' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
FIBITMAP *dib = NULL;
^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPNG.cpp:279:14: warning: variable 'row_pointers' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
png_bytepp row_pointers = NULL;
^~~~~~~~~~~~
[ 6%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/PluginPNM.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPNM.cpp:24:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 6%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/PluginPSD.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginPSD.cpp:26:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 6%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/PluginRAS.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginRAS.cpp:23:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 6%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/PluginRAW.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/../LibRawLite/libraw/libraw_datastream.h:36:0,
from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/../LibRawLite/libraw/libraw.h:40,
from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginRAW.cpp:22:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/../LibRawLite/libraw/libraw_types.h:66:0: warning: "NO_LCMS" redefined
#define NO_LCMS
<command-line>:0:0: note: this is the location of the previous definition
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/../LibRawLite/libraw/libraw.h:40:0,
from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginRAW.cpp:22:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/../LibRawLite/libraw/libraw_datastream.h:92:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
std::auto_ptr<std::streambuf> f; /* will close() automatically through dtor */
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/../LibRawLite/libraw/libraw_datastream.h:38,
from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/../LibRawLite/libraw/libraw.h:40,
from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginRAW.cpp:22:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/../LibRawLite/libraw/libraw.h:40:0,
from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginRAW.cpp:22:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/../LibRawLite/libraw/libraw_datastream.h:93:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
std::auto_ptr<std::streambuf> saved_f; /* when *f is a subfile, *saved_f is the master file */
^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/../LibRawLite/libraw/libraw_datastream.h:38,
from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/../LibRawLite/libraw/libraw.h:40,
from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginRAW.cpp:22:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginRAW.cpp:25:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginRAW.cpp:26:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/../Metadata/FreeImageTag.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/../Metadata/FreeImageTag.h:450:20: warning: 'g_TagLib_ExifRawFieldName' defined but not used [-Wunused-variable]
static const char *g_TagLib_ExifRawFieldName = "ExifRaw";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/../Metadata/FreeImageTag.h:447:20: warning: 'g_TagLib_XMPFieldName' defined but not used [-Wunused-variable]
static const char *g_TagLib_XMPFieldName = "XMLPacket";
^~~~~~~~~~~~~~~~~~~~~
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginRAW.cpp:25:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 6%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/PluginSGI.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginSGI.cpp:32:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginSGI.cpp: In function 'FIBITMAP* Load(FreeImageIO*, fi_handle, int, int, void*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginSGI.cpp:378:13: warning: declaration of 'i' shadows a previous local [-Wshadow]
for (int i=0; i<height; i++, pRow += ns)
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginSGI.cpp:217:6: note: shadowed declaration is here
int i, dim;
^
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginSGI.cpp:32:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
[ 6%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/PluginTARGA.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginTARGA.cpp:29:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginTARGA.cpp: In function 'FIBITMAP* Load(FreeImageIO*, fi_handle, int, int, void*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginTARGA.cpp:844:9: warning: declaration of 'pixel_bits' shadows a previous local [-Wshadow]
int pixel_bits = 16;
^~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginTARGA.cpp:708:13: note: shadowed declaration is here
const int pixel_bits = header.is_pixel_depth;
^~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginTARGA.cpp:878:9: warning: declaration of 'line' shadows a previous local [-Wshadow]
int line = CalculateLine(header.is_width, pixel_bits);
^~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginTARGA.cpp:707:13: note: shadowed declaration is here
const int line = CalculateLine(header.is_width, header.is_pixel_depth);
^~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginTARGA.cpp:880:20: warning: declaration of 'pixel_size' shadows a previous local [-Wshadow]
const unsigned pixel_size = unsigned(pixel_bits) / 8;
^~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginTARGA.cpp:709:13: note: shadowed declaration is here
const int pixel_size = pixel_bits/8;
^~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginTARGA.cpp:980:9: warning: declaration of 'pixel_bits' shadows a previous local [-Wshadow]
int pixel_bits = 32;
^~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginTARGA.cpp:708:13: note: shadowed declaration is here
const int pixel_bits = header.is_pixel_depth;
^~~~~~~~~~
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginTARGA.cpp:29:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
[ 6%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/PluginTIFF.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginTIFF.cpp:39:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginTIFF.cpp: In function 'void WriteImageType(TIFF*, FREE_IMAGE_TYPE)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginTIFF.cpp:632:8: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch]
switch(fit) {
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginTIFF.cpp: In function 'BOOL tiff_write_xmp_profile(TIFF*, FIBITMAP*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginTIFF.cpp:915:118: warning: cast from type 'const void*' to type 'BYTE* {aka unsigned char*}' casts away qualifiers [-Wcast-qual]
TIFFSetField(tiff, TIFFTAG_XMLPACKET, (uint32)FreeImage_GetTagLength(tag_xmp), (BYTE*)FreeImage_GetTagValue(tag_xmp));
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginTIFF.cpp: In function 'BOOL tiff_write_exif_profile(TIFF*, FIBITMAP*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginTIFF.cpp:932:9: warning: unused variable 'exif_offset' [-Wunused-variable]
uint32 exif_offset = 0;
^~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginTIFF.cpp: In function 'void ReadThumbnail(FreeImageIO*, fi_handle, void*, TIFF*, FIBITMAP*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginTIFF.cpp:1284:14: warning: declaration of 'FIMEMORY* handle' shadows a parameter [-Wshadow]
FIMEMORY *handle = FreeImage_OpenMemory((BYTE*)ps_data, ps_size);
^~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginTIFF.cpp:1224:42: note: shadowed declaration is here
ReadThumbnail(FreeImageIO *io, fi_handle handle, void *data, TIFF *tiff, FIBITMAP *dib) {
^~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginTIFF.cpp:1286:16: warning: declaration of 'FreeImageIO io' shadows a parameter [-Wshadow]
FreeImageIO io;
^~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginTIFF.cpp:1224:28: note: shadowed declaration is here
ReadThumbnail(FreeImageIO *io, fi_handle handle, void *data, TIFF *tiff, FIBITMAP *dib) {
^~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginTIFF.cpp: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginTIFF.cpp:120:23: warning: 'TIFFLoadMethod FindLoadMethod(TIFF*, uint16, uint16, uint16, FREE_IMAGE_TYPE, int)' declared 'static' but never defined [-Wunused-function]
static TIFFLoadMethod FindLoadMethod(TIFF *tif, uint16 photometric, uint16 bitspersample, uint16 samplesperpixel, FREE_IMAGE_TYPE image_type, int flags);
^~~~~~~~~~~~~~
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginTIFF.cpp:41:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/../Metadata/FreeImageTag.h:450:20: warning: 'g_TagLib_ExifRawFieldName' defined but not used [-Wunused-variable]
static const char *g_TagLib_ExifRawFieldName = "ExifRaw";
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginTIFF.cpp:39:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
[ 6%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/PluginWBMP.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginWBMP.cpp:23:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginWBMP.cpp: In function 'void multiByteWrite(FreeImageIO*, fi_handle, DWORD)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginWBMP.cpp:122:35: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
Out = (BYTE)(0x80 | (In >> 7*k) & 0xFF);
~~~~~~~~~~~~^~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginWBMP.cpp: In function 'void readExtHeader(FreeImageIO*, fi_handle, BYTE)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginWBMP.cpp:144:10: warning: unused variable 'info' [-Wunused-variable]
DWORD info = multiByteRead(io, handle);
^~~~
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginWBMP.cpp:23:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 6%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/PluginXBM.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginXBM.cpp:26:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginXBM.cpp: In function 'FIBITMAP* Load(FreeImageIO*, fi_handle, int, int, void*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginXBM.cpp:325:26: warning: cast from type 'const char*' to type 'char*' casts away qualifiers [-Wcast-qual]
if(error) throw (char*)error;
^~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginXBM.cpp:330:25: warning: cast from type 'const char*' to type 'char*' casts away qualifiers [-Wcast-qual]
if(!dib) throw (char*)ERR_XBM_MEMORY;
^~~~~~~~~~~~~~
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginXBM.cpp:26:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 7%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/PluginXPM.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginXPM.cpp:39:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginXPM.cpp: In function 'FIBITMAP* Load(FreeImageIO*, fi_handle, int, int, void*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginXPM.cpp:252:12: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
char *tmp = clr;
^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginXPM.cpp:203:10: note: shadowed declaration is here
char *tmp = keys;
^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginXPM.cpp: In function 'BOOL Save(FreeImageIO*, FIBITMAP*, fi_handle, int, int, void*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginXPM.cpp:442:64: warning: cast from type 'const char*' to type 'char*' casts away qualifiers [-Wcast-qual]
sprintf(buf, "%*s", cpp, (char *)color2chrs[u.index].c_str());
^
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/PluginXPM.cpp:39:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 7%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/TIFFLogLuv.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/TIFFLogLuv.cpp:23:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 7%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/ToneMapping.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ToneMapping.cpp:23:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 7%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/WuQuantizer.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/WuQuantizer.cpp:35:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
[ 7%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/ZLibInterface.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/ZLibInterface.cpp:24:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 7%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/tmoColorConvert.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/tmoColorConvert.cpp:24:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 7%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/tmoDrago03.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/tmoDrago03.cpp:23:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 7%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/tmoFattal02.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/tmoFattal02.cpp:23:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/tmoFattal02.cpp: In function 'FIBITMAP* LogLuminance(FIBITMAP*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/tmoFattal02.cpp:423:13: warning: declaration of 'H' shadows a previous local [-Wshadow]
FIBITMAP *H = FreeImage_Clone(Y);
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/tmoFattal02.cpp:419:12: note: shadowed declaration is here
FIBITMAP *H = NULL;
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/tmoFattal02.cpp: In function 'FIBITMAP* tmoFattal02(FIBITMAP*, float, float)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/tmoFattal02.cpp:511:13: warning: declaration of 'H' shadows a previous local [-Wshadow]
FIBITMAP *H = LogLuminance(Y);
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/tmoFattal02.cpp:498:12: note: shadowed declaration is here
FIBITMAP *H = NULL;
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/tmoFattal02.cpp:566:13: warning: declaration of 'U' shadows a previous local [-Wshadow]
FIBITMAP *U = FreeImage_MultigridPoissonSolver(divG, 3);
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/tmoFattal02.cpp:503:12: note: shadowed declaration is here
FIBITMAP *U = NULL;
^
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/tmoFattal02.cpp:23:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 8%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImage/tmoReinhard05.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/tmoReinhard05.cpp:24:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/tmoReinhard05.cpp: In function 'BOOL ToneMappingReinhard05(FIBITMAP*, FIBITMAP*, float, float, float, float)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/tmoReinhard05.cpp:66:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(f < -8) f = -8; if(f > 8) f = 8;
^~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/tmoReinhard05.cpp:66:21: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(f < -8) f = -8; if(f > 8) f = 8;
^~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/tmoReinhard05.cpp:67:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(m < 0) m = 0; if(m > 1) m = 1;
^~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/tmoReinhard05.cpp:67:24: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(m < 0) m = 0; if(m > 1) m = 1;
^~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/tmoReinhard05.cpp:68:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(a < 0) a = 0; if(a > 1) a = 1;
^~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/tmoReinhard05.cpp:68:24: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(a < 0) a = 0; if(a > 1) a = 1;
^~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/tmoReinhard05.cpp:69:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(c < 0) c = 0; if(c > 1) c = 1;
^~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/tmoReinhard05.cpp:69:24: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(c < 0) c = 0; if(c > 1) c = 1;
^~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/tmoReinhard05.cpp:84:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if((m == 0) || (a != 1) && (c != 1)) {
~~~~~~~~~^~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/tmoReinhard05.cpp:110:11: warning: declaration of 'float* Y' shadows a parameter [-Wshadow]
float *Y = (float*)Ybits;
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/tmoReinhard05.cpp:48:48: note: shadowed declaration is here
ToneMappingReinhard05(FIBITMAP *dib, FIBITMAP *Y, float f, float m, float a, float c) {
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/tmoReinhard05.cpp:158:17: warning: declaration of 'const float* Y' shadows a parameter [-Wshadow]
const float *Y = (float*)Ybits;
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/tmoReinhard05.cpp:48:48: note: shadowed declaration is here
ToneMappingReinhard05(FIBITMAP *dib, FIBITMAP *Y, float f, float m, float a, float c) {
^
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImage/tmoReinhard05.cpp:24:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 8%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImageToolkit/BSplineRotate.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/BSplineRotate.cpp:48:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/BSplineRotate.cpp: In function 'double InterpolatedValue(double*, long int, long int, double, double, long int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/BSplineRotate.cpp:498:20: warning: 'xWeight[5]' may be used uninitialized in this function [-Wmaybe-uninitialized]
w += xWeight[i] * p[xIndex[i]];
~~~~~~~~~~~^~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/BSplineRotate.cpp:498:20: warning: 'xWeight[4]' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/BSplineRotate.cpp:498:20: warning: 'xWeight[3]' may be used uninitialized in this function [-Wmaybe-uninitialized]
[ 8%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImageToolkit/Background.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Background.cpp:23:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Background.cpp: In function 'int GetPaletteIndex(FIBITMAP*, const RGBQUAD*, int, FREE_IMAGE_COLOR_TYPE*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Background.cpp:124:28: warning: cast from type 'const RGBQUAD* {aka const tagRGBQUAD*}' to type 'unsigned int*' casts away qualifiers [-Wcast-qual]
ucolor = (*((unsigned *)color)) & 0xFFFFFF;
^~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Background.cpp: In function 'BOOL FillBackgroundBitmap(FIBITMAP*, const RGBQUAD*, int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Background.cpp:320:36: warning: cast from type 'const RGBQUAD* {aka const tagRGBQUAD*}' to type 'RGBTRIPLE* {aka tagRGBTRIPLE*}' casts away qualifiers [-Wcast-qual]
RGBTRIPLE rgbt = *((RGBTRIPLE *)color_intl);
^~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Background.cpp:328:33: warning: cast from type 'const RGBQUAD* {aka const tagRGBQUAD*}' to type 'RGBTRIPLE* {aka tagRGBTRIPLE*}' casts away qualifiers [-Wcast-qual]
rgbq.rgbBlue = ((RGBTRIPLE *)color_intl)->rgbtBlue;
^~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Background.cpp:329:34: warning: cast from type 'const RGBQUAD* {aka const tagRGBQUAD*}' to type 'RGBTRIPLE* {aka tagRGBTRIPLE*}' casts away qualifiers [-Wcast-qual]
rgbq.rgbGreen = ((RGBTRIPLE *)color_intl)->rgbtGreen;
^~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Background.cpp:330:32: warning: cast from type 'const RGBQUAD* {aka const tagRGBQUAD*}' to type 'RGBTRIPLE* {aka tagRGBTRIPLE*}' casts away qualifiers [-Wcast-qual]
rgbq.rgbRed = ((RGBTRIPLE *)color_intl)->rgbtRed;
^~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Background.cpp: In function 'BOOL FreeImage_FillBackground(FIBITMAP*, const void*, int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Background.cpp:433:47: warning: cast from type 'const void*' to type 'RGBQUAD* {aka tagRGBQUAD*}' casts away qualifiers [-Wcast-qual]
return FillBackgroundBitmap(dib, (RGBQUAD *)color, options);
^~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Background.cpp: In function 'FIBITMAP* FreeImage_AllocateExT(FREE_IMAGE_TYPE, int, int, int, const void*, int, const RGBQUAD*, unsigned int, unsigned int, unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Background.cpp:534:34: warning: cast from type 'const void*' to type 'unsigned int*' casts away qualifiers [-Wcast-qual]
unsigned *urgb = (unsigned *)color;
^~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Background.cpp:558:32: warning: cast from type 'const void*' to type 'RGBQUAD* {aka tagRGBQUAD*}' casts away qualifiers [-Wcast-qual]
BYTE index = ((RGBQUAD *)color)->rgbReserved & 0x01;
^~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Background.cpp:569:31: warning: cast from type 'const void*' to type 'RGBQUAD* {aka tagRGBQUAD*}' casts away qualifiers [-Wcast-qual]
RGBQUAD *rgb = (RGBQUAD *)color;
^~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Background.cpp:600:31: warning: cast from type 'const void*' to type 'RGBQUAD* {aka tagRGBQUAD*}' casts away qualifiers [-Wcast-qual]
RGBQUAD *rgb = (RGBQUAD *)color;
^~~~~
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Background.cpp:23:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Background.cpp:631:42: warning: cast from type 'const void*' to type 'RGBQUAD* {aka tagRGBQUAD*}' casts away qualifiers [-Wcast-qual]
RGBQUAD_TO_WORD(bitmap, ((RGBQUAD *)color)) : *((WORD *)color);
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:456:29: note: in definition of macro 'RGB565'
#define RGB565(b, g, r) ((((b) >> 3) << FI16_565_BLUE_SHIFT) | (((g) >> 2) << FI16_565_GREEN_SHIFT) | (((r) >> 3) << FI16_565_RED_SHIFT))
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Background.cpp:631:6: note: in expansion of macro 'RGBQUAD_TO_WORD'
RGBQUAD_TO_WORD(bitmap, ((RGBQUAD *)color)) : *((WORD *)color);
^~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Background.cpp:631:42: warning: cast from type 'const void*' to type 'RGBQUAD* {aka tagRGBQUAD*}' casts away qualifiers [-Wcast-qual]
RGBQUAD_TO_WORD(bitmap, ((RGBQUAD *)color)) : *((WORD *)color);
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:456:67: note: in definition of macro 'RGB565'
#define RGB565(b, g, r) ((((b) >> 3) << FI16_565_BLUE_SHIFT) | (((g) >> 2) << FI16_565_GREEN_SHIFT) | (((r) >> 3) << FI16_565_RED_SHIFT))
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Background.cpp:631:6: note: in expansion of macro 'RGBQUAD_TO_WORD'
RGBQUAD_TO_WORD(bitmap, ((RGBQUAD *)color)) : *((WORD *)color);
^~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Background.cpp:631:42: warning: cast from type 'const void*' to type 'RGBQUAD* {aka tagRGBQUAD*}' casts away qualifiers [-Wcast-qual]
RGBQUAD_TO_WORD(bitmap, ((RGBQUAD *)color)) : *((WORD *)color);
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:456:106: note: in definition of macro 'RGB565'
#define RGB565(b, g, r) ((((b) >> 3) << FI16_565_BLUE_SHIFT) | (((g) >> 2) << FI16_565_GREEN_SHIFT) | (((r) >> 3) << FI16_565_RED_SHIFT))
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Background.cpp:631:6: note: in expansion of macro 'RGBQUAD_TO_WORD'
RGBQUAD_TO_WORD(bitmap, ((RGBQUAD *)color)) : *((WORD *)color);
^~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Background.cpp:631:42: warning: cast from type 'const void*' to type 'RGBQUAD* {aka tagRGBQUAD*}' casts away qualifiers [-Wcast-qual]
RGBQUAD_TO_WORD(bitmap, ((RGBQUAD *)color)) : *((WORD *)color);
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:457:29: note: in definition of macro 'RGB555'
#define RGB555(b, g, r) ((((b) >> 3) << FI16_555_BLUE_SHIFT) | (((g) >> 3) << FI16_555_GREEN_SHIFT) | (((r) >> 3) << FI16_555_RED_SHIFT))
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Background.cpp:631:6: note: in expansion of macro 'RGBQUAD_TO_WORD'
RGBQUAD_TO_WORD(bitmap, ((RGBQUAD *)color)) : *((WORD *)color);
^~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Background.cpp:631:42: warning: cast from type 'const void*' to type 'RGBQUAD* {aka tagRGBQUAD*}' casts away qualifiers [-Wcast-qual]
RGBQUAD_TO_WORD(bitmap, ((RGBQUAD *)color)) : *((WORD *)color);
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:457:67: note: in definition of macro 'RGB555'
#define RGB555(b, g, r) ((((b) >> 3) << FI16_555_BLUE_SHIFT) | (((g) >> 3) << FI16_555_GREEN_SHIFT) | (((r) >> 3) << FI16_555_RED_SHIFT))
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Background.cpp:631:6: note: in expansion of macro 'RGBQUAD_TO_WORD'
RGBQUAD_TO_WORD(bitmap, ((RGBQUAD *)color)) : *((WORD *)color);
^~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Background.cpp:631:42: warning: cast from type 'const void*' to type 'RGBQUAD* {aka tagRGBQUAD*}' casts away qualifiers [-Wcast-qual]
RGBQUAD_TO_WORD(bitmap, ((RGBQUAD *)color)) : *((WORD *)color);
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:457:106: note: in definition of macro 'RGB555'
#define RGB555(b, g, r) ((((b) >> 3) << FI16_555_BLUE_SHIFT) | (((g) >> 3) << FI16_555_GREEN_SHIFT) | (((r) >> 3) << FI16_555_RED_SHIFT))
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Background.cpp:631:6: note: in expansion of macro 'RGBQUAD_TO_WORD'
RGBQUAD_TO_WORD(bitmap, ((RGBQUAD *)color)) : *((WORD *)color);
^~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Background.cpp:631:62: warning: cast from type 'const void*' to type 'WORD* {aka short unsigned int*}' casts away qualifiers [-Wcast-qual]
RGBQUAD_TO_WORD(bitmap, ((RGBQUAD *)color)) : *((WORD *)color);
^~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Background.cpp:640:19: warning: cast from type 'const void*' to type 'BYTE* {aka unsigned char*}' casts away qualifiers [-Wcast-qual]
if (((BYTE *)color)[i] != 0) {
^~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Background.cpp: In function 'FIBITMAP* FreeImage_AllocateEx(int, int, int, const RGBQUAD*, int, const RGBQUAD*, unsigned int, unsigned int, unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Background.cpp:707:72: warning: cast from type 'const RGBQUAD* {aka const tagRGBQUAD*}' to type 'void*' casts away qualifiers [-Wcast-qual]
return FreeImage_AllocateExT(FIT_BITMAP, width, height, bpp, ((void *)color), options, palette, red_mask, green_mask, blue_mask);
^~~~~
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Background.cpp:23:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 8%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImageToolkit/Channels.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Channels.cpp:23:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Channels.cpp: In function 'BOOL FreeImage_SetChannel(FIBITMAP*, FIBITMAP*, FREE_IMAGE_COLOR_CHANNEL)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Channels.cpp:215:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if((dst_type != FIC_RGB) && (dst_type != FIC_RGBALPHA) || (src_type != FIC_MINISBLACK)) {
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Channels.cpp:227:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if((src_bpp != 8) || (dst_bpp != 24) && (dst_bpp != 32))
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Channels.cpp:271:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if((src_bpp != 16) || (dst_bpp != 48) && (dst_bpp != 64))
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Channels.cpp:315:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if((src_bpp != 32) || (dst_bpp != 96) && (dst_bpp != 128))
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Channels.cpp: In function 'FIBITMAP* FreeImage_GetComplexChannel(FIBITMAP*, FREE_IMAGE_COLOR_CHANNEL)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Channels.cpp:381:9: warning: enumeration value 'FICC_RGB' not handled in switch [-Wswitch]
switch(channel) {
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Channels.cpp:381:9: warning: enumeration value 'FICC_RED' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Channels.cpp:381:9: warning: enumeration value 'FICC_GREEN' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Channels.cpp:381:9: warning: enumeration value 'FICC_BLUE' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Channels.cpp:381:9: warning: enumeration value 'FICC_ALPHA' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Channels.cpp:381:9: warning: enumeration value 'FICC_BLACK' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Channels.cpp: In function 'BOOL FreeImage_SetComplexChannel(FIBITMAP*, FIBITMAP*, FREE_IMAGE_COLOR_CHANNEL)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Channels.cpp:466:8: warning: enumeration value 'FICC_RGB' not handled in switch [-Wswitch]
switch(channel) {
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Channels.cpp:466:8: warning: enumeration value 'FICC_RED' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Channels.cpp:466:8: warning: enumeration value 'FICC_GREEN' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Channels.cpp:466:8: warning: enumeration value 'FICC_BLUE' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Channels.cpp:466:8: warning: enumeration value 'FICC_ALPHA' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Channels.cpp:466:8: warning: enumeration value 'FICC_BLACK' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Channels.cpp:466:8: warning: enumeration value 'FICC_MAG' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Channels.cpp:466:8: warning: enumeration value 'FICC_PHASE' not handled in switch [-Wswitch]
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/Channels.cpp:23:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
[ 8%] Building CXX object Dependencies/src/FreeImage/CMakeFiles/FreeImage.dir/Source/FreeImageToolkit/ClassicRotate.cpp.o
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:37:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'unsigned int CalculatePitch(unsigned int)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:260:14: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
return line + 3 & ~3;
~~~~~^~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp: In function 'void HorizontalSkew(FIBITMAP*, FIBITMAP*, int, int, double, const void*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:151:8: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch]
switch(image_type) {
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:151:8: warning: enumeration value 'FIT_INT16' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:151:8: warning: enumeration value 'FIT_UINT32' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:151:8: warning: enumeration value 'FIT_INT32' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:151:8: warning: enumeration value 'FIT_DOUBLE' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:151:8: warning: enumeration value 'FIT_COMPLEX' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp: In function 'void VerticalSkew(FIBITMAP*, FIBITMAP*, int, int, double, const void*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:290:8: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch]
switch(image_type) {
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:290:8: warning: enumeration value 'FIT_INT16' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:290:8: warning: enumeration value 'FIT_UINT32' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:290:8: warning: enumeration value 'FIT_INT32' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:290:8: warning: enumeration value 'FIT_DOUBLE' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:290:8: warning: enumeration value 'FIT_COMPLEX' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp: In function 'FIBITMAP* Rotate90(FIBITMAP*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:340:8: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch]
switch(image_type) {
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:340:8: warning: enumeration value 'FIT_INT16' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:340:8: warning: enumeration value 'FIT_UINT32' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:340:8: warning: enumeration value 'FIT_INT32' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:340:8: warning: enumeration value 'FIT_DOUBLE' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:340:8: warning: enumeration value 'FIT_COMPLEX' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp: In function 'FIBITMAP* Rotate180(FIBITMAP*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:462:13: warning: declaration of 'y' shadows a previous local [-Wshadow]
for(int y = 0; y < src_height; y++) {
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:445:9: note: shadowed declaration is here
int x, y, k, pos;
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:465:14: warning: declaration of 'x' shadows a previous local [-Wshadow]
for(int x = 0; x < src_width; x++) {
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:445:6: note: shadowed declaration is here
int x, y, k, pos;
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:459:8: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch]
switch(image_type) {
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:459:8: warning: enumeration value 'FIT_INT16' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:459:8: warning: enumeration value 'FIT_UINT32' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:459:8: warning: enumeration value 'FIT_INT32' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:459:8: warning: enumeration value 'FIT_DOUBLE' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:459:8: warning: enumeration value 'FIT_COMPLEX' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp: In function 'FIBITMAP* Rotate270(FIBITMAP*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:532:8: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch]
switch(image_type) {
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:532:8: warning: enumeration value 'FIT_INT16' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:532:8: warning: enumeration value 'FIT_UINT32' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:532:8: warning: enumeration value 'FIT_INT32' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:532:8: warning: enumeration value 'FIT_DOUBLE' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:532:8: warning: enumeration value 'FIT_COMPLEX' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp: In function 'FIBITMAP* FreeImage_Rotate(FIBITMAP*, double, const void*)':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:880:15: warning: declaration of 'RGBQUAD bkcolor' shadows a parameter [-Wshadow]
RGBQUAD bkcolor;
^~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:827:59: note: shadowed declaration is here
FreeImage_Rotate(FIBITMAP *dib, double angle, const void *bkcolor) {
^~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:840:9: warning: enumeration value 'FIT_UNKNOWN' not handled in switch [-Wswitch]
switch(image_type) {
^
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:840:9: warning: enumeration value 'FIT_INT16' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:840:9: warning: enumeration value 'FIT_UINT32' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:840:9: warning: enumeration value 'FIT_INT32' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:840:9: warning: enumeration value 'FIT_DOUBLE' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:840:9: warning: enumeration value 'FIT_COMPLEX' not handled in switch [-Wswitch]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp: In instantiation of 'void HorizontalSkewT(FIBITMAP*, FIBITMAP*, int, int, double, const void*) [with T = unsigned char]':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:157:68: required from here
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:84:38: warning: cast from type 'const void*' to type 'BYTE* {aka unsigned char*}' casts away qualifiers [-Wcast-qual]
AssignPixel((BYTE*)&pxlOldLeft[0], (BYTE*)bkcolor, bytespp);
^~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp: In instantiation of 'void HorizontalSkewT(FIBITMAP*, FIBITMAP*, int, int, double, const void*) [with T = short unsigned int]':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:164:66: required from here
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:84:38: warning: cast from type 'const void*' to type 'BYTE* {aka unsigned char*}' casts away qualifiers [-Wcast-qual]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp: In instantiation of 'void HorizontalSkewT(FIBITMAP*, FIBITMAP*, int, int, double, const void*) [with T = float]':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:169:67: required from here
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:84:38: warning: cast from type 'const void*' to type 'BYTE* {aka unsigned char*}' casts away qualifiers [-Wcast-qual]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp: In instantiation of 'void VerticalSkewT(FIBITMAP*, FIBITMAP*, int, int, double, const void*) [with T = unsigned char]':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:296:66: required from here
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:265:36: warning: cast from type 'const void*' to type 'BYTE* {aka unsigned char*}' casts away qualifiers [-Wcast-qual]
AssignPixel((BYTE*)(dst_bits), (BYTE*)(bkcolor), bytespp);
^~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp: In instantiation of 'void VerticalSkewT(FIBITMAP*, FIBITMAP*, int, int, double, const void*) [with T = short unsigned int]':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:303:65: required from here
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:265:36: warning: cast from type 'const void*' to type 'BYTE* {aka unsigned char*}' casts away qualifiers [-Wcast-qual]
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp: In instantiation of 'void VerticalSkewT(FIBITMAP*, FIBITMAP*, int, int, double, const void*) [with T = float]':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:308:66: required from here
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:265:36: warning: cast from type 'const void*' to type 'BYTE* {aka unsigned char*}' casts away qualifiers [-Wcast-qual]
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:37:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: At global scope:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:482:20: warning: 'FI_MSG_WARNING_INVALID_THUMBNAIL' defined but not used [-Wunused-variable]
static const char *FI_MSG_WARNING_INVALID_THUMBNAIL = "Warning: attached thumbnail cannot be written to output file (invalid format) - Thumbnail saving aborted";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:481:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_COMPRESSION' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_COMPRESSION = "Unsupported compression type";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:480:20: warning: 'FI_MSG_ERROR_UNSUPPORTED_FORMAT' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_UNSUPPORTED_FORMAT = "Unsupported format";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:479:20: warning: 'FI_MSG_ERROR_MAGIC_NUMBER' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MAGIC_NUMBER = "Invalid magic number";
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:478:20: warning: 'FI_MSG_ERROR_PARSING' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_PARSING = "Parsing error";
^~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:477:20: warning: 'FI_MSG_ERROR_DIB_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_DIB_MEMORY = "DIB allocation failed, maybe caused by an invalid image size or by a lack of memory";
^~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:476:20: warning: 'FI_MSG_ERROR_MEMORY' defined but not used [-Wunused-variable]
static const char *FI_MSG_ERROR_MEMORY = "Memory allocation failed";
^~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'void HorizontalSkewT(FIBITMAP*, FIBITMAP*, int, int, double, const void*) [with T = unsigned char]':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:306:40: warning: '*((void*)& pxlLeft +4)' may be used uninitialized in this function [-Wmaybe-uninitialized]
*(reinterpret_cast<WORD*>(dst + 4)) = *(reinterpret_cast<const WORD*> (src + 4));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:61:15: note: '*((void*)& pxlLeft +4)' was declared here
T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max
^~~~~~~
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:37:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:313:43: warning: '*((void*)& pxlLeft +4)' may be used uninitialized in this function [-Wmaybe-uninitialized]
*(reinterpret_cast<DWORD*>(dst + 4)) = *(reinterpret_cast<const DWORD*> (src + 4));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:61:15: note: '*((void*)& pxlLeft +4)' was declared here
T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max
^~~~~~~
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:37:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:319:41: warning: '*((void*)& pxlLeft +8)' may be used uninitialized in this function [-Wmaybe-uninitialized]
*(reinterpret_cast<float*>(dst + 8)) = *(reinterpret_cast<const float*> (src + 8));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:61:15: note: '*((void*)& pxlLeft +8)' was declared here
T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max
^~~~~~~
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:37:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:326:42: warning: '*((void*)& pxlLeft +12)' may be used uninitialized in this function [-Wmaybe-uninitialized]
*(reinterpret_cast<float*>(dst + 12)) = *(reinterpret_cast<const float*> (src + 12));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:61:15: note: '*((void*)& pxlLeft +12)' was declared here
T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max
^~~~~~~
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:37:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'void HorizontalSkewT(FIBITMAP*, FIBITMAP*, int, int, double, const void*) [with T = short unsigned int]':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:319:41: warning: '*((void*)& pxlLeft +8)' may be used uninitialized in this function [-Wmaybe-uninitialized]
*(reinterpret_cast<float*>(dst + 8)) = *(reinterpret_cast<const float*> (src + 8));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:61:15: note: '*((void*)& pxlLeft +8)' was declared here
T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max
^~~~~~~
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:37:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:326:42: warning: '*((void*)& pxlLeft +12)' may be used uninitialized in this function [-Wmaybe-uninitialized]
*(reinterpret_cast<float*>(dst + 12)) = *(reinterpret_cast<const float*> (src + 12));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:61:15: note: '*((void*)& pxlLeft +12)' was declared here
T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max
^~~~~~~
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:37:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h: In function 'void HorizontalSkewT(FIBITMAP*, FIBITMAP*, int, int, double, const void*) [with T = float]':
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:326:42: warning: 'pxlLeft[3u]' may be used uninitialized in this function [-Wmaybe-uninitialized]
*(reinterpret_cast<float*>(dst + 12)) = *(reinterpret_cast<const float*> (src + 12));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:61:15: note: 'pxlLeft[3u]' was declared here
T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max
^~~~~~~
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:37:0:
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/Utilities.h:325:41: warning: 'pxlLeft[2u]' may be used uninitialized in this function [-Wmaybe-uninitialized]
*(reinterpret_cast<float*>(dst + 8)) = *(reinterpret_cast<const float*> (src + 8));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:61:15: note: 'pxlLeft[2u]' was declared here
T pxlSrc[4], pxlLeft[4], pxlOldLeft[4]; // 4 = 4*sizeof(T) max
^~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:104:27: warning: 'pxlSrc[3u]' may be used uninitialized in this function [-Wmaybe-uninitialized]
pxlSrc[j] = pxlSrc[j] - (pxlLeft[j] - pxlOldLeft[j]);
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:104:27: warning: 'pxlSrc[2u]' may be used uninitialized in this function [-Wmaybe-uninitialized]
In file included from /home/raven/rain/dev/libs/ogre/Dependencies/src/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp:37:0: