Skip to content

Instantly share code, notes, and snippets.

@spikeheap
Last active February 6, 2017 17:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spikeheap/b3cb859c7fb7acd06399582013970120 to your computer and use it in GitHub Desktop.
Save spikeheap/b3cb859c7fb7acd06399582013970120 to your computer and use it in GitHub Desktop.
root@58857b49d831:/openMVS_build# make -j2
Scanning dependencies of target Common
[ 1%] Building CXX object libs/Common/CMakeFiles/Common.dir/Timer.cpp.o
[ 3%] Building CXX object libs/Common/CMakeFiles/Common.dir/Common.cpp.o
In file included from /openMVS/libs/Common/Types.h:357:0,
from /openMVS/libs/Common/Common.h:176,
from /openMVS/libs/Common/Timer.cpp:8:
/openMVS/libs/Common/HalfFloat.h: In static member function 'static short int SEACAVE::hfloat::fromFloat(float)':
/openMVS/libs/Common/HalfFloat.h:62:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
const int& fltInt32((int&)fv);
^
/openMVS/libs/Common/HalfFloat.h: In static member function 'static float SEACAVE::hfloat::toFloat(short int)':
/openMVS/libs/Common/HalfFloat.h:70:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return (float&)fltInt32;
^
In file included from /openMVS/libs/Common/Types.h:405:0,
from /openMVS/libs/Common/Common.h:176,
from /openMVS/libs/Common/Timer.cpp:8:
/openMVS/libs/Common/SML.h: In destructor 'SEACAVE::SMLVALUE_TYPE::~SMLVALUE_TYPE()':
/openMVS/libs/Common/SML.h:29:28: warning: deleting 'void*' is undefined [-Wdelete-incomplete]
~SMLVALUE_TYPE() { delete data; }
^
In file included from /openMVS/libs/Common/Common.h:176:0,
from /openMVS/libs/Common/Timer.cpp:8:
/openMVS/libs/Common/Types.h: In function 'float SEACAVE::cbrt5(float)':
/openMVS/libs/Common/Types.h:715:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/Common/Types.h:715:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/Common/Types.h: In member function 'int SEACAVE::Float::Floor2Int() const':
/openMVS/libs/Common/Types.h:1156:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Floor2Int() const { const double d((double)v.f + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
/openMVS/libs/Common/Types.h: In member function 'int SEACAVE::Float::Ceil2Int() const':
/openMVS/libs/Common/Types.h:1159:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Ceil2Int() const { const double d((double)v.f + 1.0 + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
In file included from /openMVS/libs/Common/Types.h:357:0,
from /openMVS/libs/Common/Common.h:176,
from /openMVS/libs/Common/Common.cpp:12:
/openMVS/libs/Common/HalfFloat.h: In static member function 'static short int SEACAVE::hfloat::fromFloat(float)':
/openMVS/libs/Common/HalfFloat.h:62:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
const int& fltInt32((int&)fv);
^
/openMVS/libs/Common/HalfFloat.h: In static member function 'static float SEACAVE::hfloat::toFloat(short int)':
/openMVS/libs/Common/HalfFloat.h:70:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return (float&)fltInt32;
^
In file included from /openMVS/libs/Common/Common.h:176:0,
from /openMVS/libs/Common/Timer.cpp:8:
/openMVS/libs/Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator==(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/Common/Types.h:2025:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/Common/Types.h:2025:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator!=(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/Common/Types.h:2026:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/Common/Types.h:2026:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/Common/Types.h: In member function 'uint32_t SEACAVE::TColor<TYPE>::toDWORD() const [with TYPE = unsigned char; uint32_t = unsigned int]':
/openMVS/libs/Common/Types.h:2027:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline uint32_t TColor<uint8_t>::toDWORD() const { return *((const uint32_t*)c); }
^
In file included from /openMVS/libs/Common/Types.h:405:0,
from /openMVS/libs/Common/Common.h:176,
from /openMVS/libs/Common/Common.cpp:12:
/openMVS/libs/Common/SML.h: In destructor 'SEACAVE::SMLVALUE_TYPE::~SMLVALUE_TYPE()':
/openMVS/libs/Common/SML.h:29:28: warning: deleting 'void*' is undefined [-Wdelete-incomplete]
~SMLVALUE_TYPE() { delete data; }
^
In file included from /openMVS/libs/Common/Common.h:176:0,
from /openMVS/libs/Common/Common.cpp:12:
/openMVS/libs/Common/Types.h: In function 'float SEACAVE::cbrt5(float)':
/openMVS/libs/Common/Types.h:715:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/Common/Types.h:715:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/Common/Types.h: In member function 'int SEACAVE::Float::Floor2Int() const':
/openMVS/libs/Common/Types.h:1156:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Floor2Int() const { const double d((double)v.f + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
/openMVS/libs/Common/Types.h: In member function 'int SEACAVE::Float::Ceil2Int() const':
/openMVS/libs/Common/Types.h:1159:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Ceil2Int() const { const double d((double)v.f + 1.0 + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
In file included from /openMVS/libs/Common/Common.h:176:0,
from /openMVS/libs/Common/Common.cpp:12:
/openMVS/libs/Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator==(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/Common/Types.h:2025:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/Common/Types.h:2025:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator!=(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/Common/Types.h:2026:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/Common/Types.h:2026:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/Common/Types.h: In member function 'uint32_t SEACAVE::TColor<TYPE>::toDWORD() const [with TYPE = unsigned char; uint32_t = unsigned int]':
/openMVS/libs/Common/Types.h:2027:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline uint32_t TColor<uint8_t>::toDWORD() const { return *((const uint32_t*)c); }
^
[ 5%] Building CXX object libs/Common/CMakeFiles/Common.dir/Util.cpp.o
[ 7%] Building CXX object libs/Common/CMakeFiles/Common.dir/Types.cpp.o
In file included from /openMVS/libs/Common/Types.h:357:0,
from /openMVS/libs/Common/Common.h:176,
from /openMVS/libs/Common/Util.cpp:8:
/openMVS/libs/Common/HalfFloat.h: In static member function 'static short int SEACAVE::hfloat::fromFloat(float)':
/openMVS/libs/Common/HalfFloat.h:62:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
const int& fltInt32((int&)fv);
^
/openMVS/libs/Common/HalfFloat.h: In static member function 'static float SEACAVE::hfloat::toFloat(short int)':
/openMVS/libs/Common/HalfFloat.h:70:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return (float&)fltInt32;
^
In file included from /openMVS/libs/Common/Types.h:405:0,
from /openMVS/libs/Common/Common.h:176,
from /openMVS/libs/Common/Util.cpp:8:
/openMVS/libs/Common/SML.h: In destructor 'SEACAVE::SMLVALUE_TYPE::~SMLVALUE_TYPE()':
/openMVS/libs/Common/SML.h:29:28: warning: deleting 'void*' is undefined [-Wdelete-incomplete]
~SMLVALUE_TYPE() { delete data; }
^
In file included from /openMVS/libs/Common/Common.h:176:0,
from /openMVS/libs/Common/Util.cpp:8:
/openMVS/libs/Common/Types.h: In function 'float SEACAVE::cbrt5(float)':
/openMVS/libs/Common/Types.h:715:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/Common/Types.h:715:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/Common/Types.h: In member function 'int SEACAVE::Float::Floor2Int() const':
/openMVS/libs/Common/Types.h:1156:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Floor2Int() const { const double d((double)v.f + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
/openMVS/libs/Common/Types.h: In member function 'int SEACAVE::Float::Ceil2Int() const':
/openMVS/libs/Common/Types.h:1159:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Ceil2Int() const { const double d((double)v.f + 1.0 + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
In file included from /openMVS/libs/Common/Common.h:176:0,
from /openMVS/libs/Common/Util.cpp:8:
/openMVS/libs/Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator==(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/Common/Types.h:2025:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/Common/Types.h:2025:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator!=(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/Common/Types.h:2026:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/Common/Types.h:2026:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/Common/Types.h: In member function 'uint32_t SEACAVE::TColor<TYPE>::toDWORD() const [with TYPE = unsigned char; uint32_t = unsigned int]':
/openMVS/libs/Common/Types.h:2027:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline uint32_t TColor<uint8_t>::toDWORD() const { return *((const uint32_t*)c); }
^
In file included from /openMVS/libs/Common/Types.h:357:0,
from /openMVS/libs/Common/Common.h:176,
from /openMVS/libs/Common/Types.cpp:8:
/openMVS/libs/Common/HalfFloat.h: In static member function 'static short int SEACAVE::hfloat::fromFloat(float)':
/openMVS/libs/Common/HalfFloat.h:62:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
const int& fltInt32((int&)fv);
^
/openMVS/libs/Common/HalfFloat.h: In static member function 'static float SEACAVE::hfloat::toFloat(short int)':
/openMVS/libs/Common/HalfFloat.h:70:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return (float&)fltInt32;
^
In file included from /openMVS/libs/Common/Types.h:405:0,
from /openMVS/libs/Common/Common.h:176,
from /openMVS/libs/Common/Types.cpp:8:
/openMVS/libs/Common/SML.h: In destructor 'SEACAVE::SMLVALUE_TYPE::~SMLVALUE_TYPE()':
/openMVS/libs/Common/SML.h:29:28: warning: deleting 'void*' is undefined [-Wdelete-incomplete]
~SMLVALUE_TYPE() { delete data; }
^
In file included from /openMVS/libs/Common/Common.h:176:0,
from /openMVS/libs/Common/Types.cpp:8:
/openMVS/libs/Common/Types.h: In function 'float SEACAVE::cbrt5(float)':
/openMVS/libs/Common/Types.h:715:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/Common/Types.h:715:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/Common/Types.h: In member function 'int SEACAVE::Float::Floor2Int() const':
/openMVS/libs/Common/Types.h:1156:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Floor2Int() const { const double d((double)v.f + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
/openMVS/libs/Common/Types.h: In member function 'int SEACAVE::Float::Ceil2Int() const':
/openMVS/libs/Common/Types.h:1159:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Ceil2Int() const { const double d((double)v.f + 1.0 + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
In file included from /openMVS/libs/Common/Common.h:176:0,
from /openMVS/libs/Common/Types.cpp:8:
/openMVS/libs/Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator==(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/Common/Types.h:2025:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/Common/Types.h:2025:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator!=(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/Common/Types.h:2026:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/Common/Types.h:2026:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/Common/Types.h: In member function 'uint32_t SEACAVE::TColor<TYPE>::toDWORD() const [with TYPE = unsigned char; uint32_t = unsigned int]':
/openMVS/libs/Common/Types.h:2027:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline uint32_t TColor<uint8_t>::toDWORD() const { return *((const uint32_t*)c); }
^
/openMVS/libs/Common/Util.cpp: In function 'CPUINFO GetCPUInfo()':
/openMVS/libs/Common/Util.cpp:488:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*((int*)info.vendor) = CPUInfo[1];
^
[ 9%] Building CXX object libs/Common/CMakeFiles/Common.dir/ConfigTable.cpp.o
[ 10%] Building CXX object libs/Common/CMakeFiles/Common.dir/SML.cpp.o
In file included from /openMVS/libs/Common/Types.h:357:0,
from /openMVS/libs/Common/Common.h:176,
from /openMVS/libs/Common/ConfigTable.cpp:8:
/openMVS/libs/Common/HalfFloat.h: In static member function 'static short int SEACAVE::hfloat::fromFloat(float)':
/openMVS/libs/Common/HalfFloat.h:62:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
const int& fltInt32((int&)fv);
^
/openMVS/libs/Common/HalfFloat.h: In static member function 'static float SEACAVE::hfloat::toFloat(short int)':
/openMVS/libs/Common/HalfFloat.h:70:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return (float&)fltInt32;
^
In file included from /openMVS/libs/Common/Types.h:405:0,
from /openMVS/libs/Common/Common.h:176,
from /openMVS/libs/Common/ConfigTable.cpp:8:
/openMVS/libs/Common/SML.h: In destructor 'SEACAVE::SMLVALUE_TYPE::~SMLVALUE_TYPE()':
/openMVS/libs/Common/SML.h:29:28: warning: deleting 'void*' is undefined [-Wdelete-incomplete]
~SMLVALUE_TYPE() { delete data; }
^
In file included from /openMVS/libs/Common/Common.h:176:0,
from /openMVS/libs/Common/ConfigTable.cpp:8:
/openMVS/libs/Common/Types.h: In function 'float SEACAVE::cbrt5(float)':
/openMVS/libs/Common/Types.h:715:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/Common/Types.h:715:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/Common/Types.h: In member function 'int SEACAVE::Float::Floor2Int() const':
/openMVS/libs/Common/Types.h:1156:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Floor2Int() const { const double d((double)v.f + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
/openMVS/libs/Common/Types.h: In member function 'int SEACAVE::Float::Ceil2Int() const':
/openMVS/libs/Common/Types.h:1159:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Ceil2Int() const { const double d((double)v.f + 1.0 + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
In file included from /openMVS/libs/Common/Common.h:176:0,
from /openMVS/libs/Common/ConfigTable.cpp:8:
/openMVS/libs/Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator==(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/Common/Types.h:2025:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/Common/Types.h:2025:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator!=(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/Common/Types.h:2026:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/Common/Types.h:2026:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/Common/Types.h: In member function 'uint32_t SEACAVE::TColor<TYPE>::toDWORD() const [with TYPE = unsigned char; uint32_t = unsigned int]':
/openMVS/libs/Common/Types.h:2027:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline uint32_t TColor<uint8_t>::toDWORD() const { return *((const uint32_t*)c); }
^
In file included from /openMVS/libs/Common/Types.h:357:0,
from /openMVS/libs/Common/Common.h:176,
from /openMVS/libs/Common/SML.cpp:8:
/openMVS/libs/Common/HalfFloat.h: In static member function 'static short int SEACAVE::hfloat::fromFloat(float)':
/openMVS/libs/Common/HalfFloat.h:62:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
const int& fltInt32((int&)fv);
^
/openMVS/libs/Common/HalfFloat.h: In static member function 'static float SEACAVE::hfloat::toFloat(short int)':
/openMVS/libs/Common/HalfFloat.h:70:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return (float&)fltInt32;
^
In file included from /openMVS/libs/Common/Types.h:405:0,
from /openMVS/libs/Common/Common.h:176,
from /openMVS/libs/Common/SML.cpp:8:
/openMVS/libs/Common/SML.h: In destructor 'SEACAVE::SMLVALUE_TYPE::~SMLVALUE_TYPE()':
/openMVS/libs/Common/SML.h:29:28: warning: deleting 'void*' is undefined [-Wdelete-incomplete]
~SMLVALUE_TYPE() { delete data; }
^
In file included from /openMVS/libs/Common/Common.h:176:0,
from /openMVS/libs/Common/SML.cpp:8:
/openMVS/libs/Common/Types.h: In function 'float SEACAVE::cbrt5(float)':
/openMVS/libs/Common/Types.h:715:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/Common/Types.h:715:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/Common/Types.h: In member function 'int SEACAVE::Float::Floor2Int() const':
/openMVS/libs/Common/Types.h:1156:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Floor2Int() const { const double d((double)v.f + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
/openMVS/libs/Common/Types.h: In member function 'int SEACAVE::Float::Ceil2Int() const':
/openMVS/libs/Common/Types.h:1159:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Ceil2Int() const { const double d((double)v.f + 1.0 + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
In file included from /openMVS/libs/Common/Common.h:176:0,
from /openMVS/libs/Common/SML.cpp:8:
/openMVS/libs/Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator==(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/Common/Types.h:2025:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/Common/Types.h:2025:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator!=(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/Common/Types.h:2026:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/Common/Types.h:2026:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/Common/Types.h: In member function 'uint32_t SEACAVE::TColor<TYPE>::toDWORD() const [with TYPE = unsigned char; uint32_t = unsigned int]':
/openMVS/libs/Common/Types.h:2027:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline uint32_t TColor<uint8_t>::toDWORD() const { return *((const uint32_t*)c); }
^
[ 12%] Building CXX object libs/Common/CMakeFiles/Common.dir/EventQueue.cpp.o
[ 14%] Building CXX object libs/Common/CMakeFiles/Common.dir/Wildcard.cpp.o
In file included from /openMVS/libs/Common/Types.h:357:0,
from /openMVS/libs/Common/Common.h:176,
from /openMVS/libs/Common/EventQueue.cpp:8:
/openMVS/libs/Common/HalfFloat.h: In static member function 'static short int SEACAVE::hfloat::fromFloat(float)':
/openMVS/libs/Common/HalfFloat.h:62:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
const int& fltInt32((int&)fv);
^
/openMVS/libs/Common/HalfFloat.h: In static member function 'static float SEACAVE::hfloat::toFloat(short int)':
/openMVS/libs/Common/HalfFloat.h:70:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return (float&)fltInt32;
^
In file included from /openMVS/libs/Common/Types.h:405:0,
from /openMVS/libs/Common/Common.h:176,
from /openMVS/libs/Common/EventQueue.cpp:8:
/openMVS/libs/Common/SML.h: In destructor 'SEACAVE::SMLVALUE_TYPE::~SMLVALUE_TYPE()':
/openMVS/libs/Common/SML.h:29:28: warning: deleting 'void*' is undefined [-Wdelete-incomplete]
~SMLVALUE_TYPE() { delete data; }
^
In file included from /openMVS/libs/Common/Common.h:176:0,
from /openMVS/libs/Common/EventQueue.cpp:8:
/openMVS/libs/Common/Types.h: In function 'float SEACAVE::cbrt5(float)':
/openMVS/libs/Common/Types.h:715:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/Common/Types.h:715:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/Common/Types.h: In member function 'int SEACAVE::Float::Floor2Int() const':
/openMVS/libs/Common/Types.h:1156:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Floor2Int() const { const double d((double)v.f + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
/openMVS/libs/Common/Types.h: In member function 'int SEACAVE::Float::Ceil2Int() const':
/openMVS/libs/Common/Types.h:1159:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Ceil2Int() const { const double d((double)v.f + 1.0 + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
In file included from /openMVS/libs/Common/Common.h:176:0,
from /openMVS/libs/Common/EventQueue.cpp:8:
/openMVS/libs/Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator==(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/Common/Types.h:2025:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/Common/Types.h:2025:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator!=(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/Common/Types.h:2026:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/Common/Types.h:2026:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/Common/Types.h: In member function 'uint32_t SEACAVE::TColor<TYPE>::toDWORD() const [with TYPE = unsigned char; uint32_t = unsigned int]':
/openMVS/libs/Common/Types.h:2027:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline uint32_t TColor<uint8_t>::toDWORD() const { return *((const uint32_t*)c); }
^
[ 16%] Building CXX object libs/Common/CMakeFiles/Common.dir/CUDA.cpp.o
In file included from /openMVS/libs/Common/Types.h:357:0,
from /openMVS/libs/Common/Common.h:176,
from /openMVS/libs/Common/Wildcard.cpp:14:
/openMVS/libs/Common/HalfFloat.h: In static member function 'static short int SEACAVE::hfloat::fromFloat(float)':
/openMVS/libs/Common/HalfFloat.h:62:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
const int& fltInt32((int&)fv);
^
/openMVS/libs/Common/HalfFloat.h: In static member function 'static float SEACAVE::hfloat::toFloat(short int)':
/openMVS/libs/Common/HalfFloat.h:70:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return (float&)fltInt32;
^
In file included from /openMVS/libs/Common/Types.h:405:0,
from /openMVS/libs/Common/Common.h:176,
from /openMVS/libs/Common/Wildcard.cpp:14:
/openMVS/libs/Common/SML.h: In destructor 'SEACAVE::SMLVALUE_TYPE::~SMLVALUE_TYPE()':
/openMVS/libs/Common/SML.h:29:28: warning: deleting 'void*' is undefined [-Wdelete-incomplete]
~SMLVALUE_TYPE() { delete data; }
^
In file included from /openMVS/libs/Common/Common.h:176:0,
from /openMVS/libs/Common/Wildcard.cpp:14:
/openMVS/libs/Common/Types.h: In function 'float SEACAVE::cbrt5(float)':
/openMVS/libs/Common/Types.h:715:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/Common/Types.h:715:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/Common/Types.h: In member function 'int SEACAVE::Float::Floor2Int() const':
/openMVS/libs/Common/Types.h:1156:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Floor2Int() const { const double d((double)v.f + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
/openMVS/libs/Common/Types.h: In member function 'int SEACAVE::Float::Ceil2Int() const':
/openMVS/libs/Common/Types.h:1159:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Ceil2Int() const { const double d((double)v.f + 1.0 + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
In file included from /openMVS/libs/Common/Common.h:176:0,
from /openMVS/libs/Common/Wildcard.cpp:14:
/openMVS/libs/Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator==(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/Common/Types.h:2025:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/Common/Types.h:2025:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator!=(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/Common/Types.h:2026:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/Common/Types.h:2026:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/Common/Types.h: In member function 'uint32_t SEACAVE::TColor<TYPE>::toDWORD() const [with TYPE = unsigned char; uint32_t = unsigned int]':
/openMVS/libs/Common/Types.h:2027:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline uint32_t TColor<uint8_t>::toDWORD() const { return *((const uint32_t*)c); }
^
[ 18%] Building CXX object libs/Common/CMakeFiles/Common.dir/Log.cpp.o
In file included from /openMVS/libs/Common/Types.h:357:0,
from /openMVS/libs/Common/Common.h:176,
from /openMVS/libs/Common/CUDA.cpp:8:
/openMVS/libs/Common/HalfFloat.h: In static member function 'static short int SEACAVE::hfloat::fromFloat(float)':
/openMVS/libs/Common/HalfFloat.h:62:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
const int& fltInt32((int&)fv);
^
/openMVS/libs/Common/HalfFloat.h: In static member function 'static float SEACAVE::hfloat::toFloat(short int)':
/openMVS/libs/Common/HalfFloat.h:70:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return (float&)fltInt32;
^
In file included from /openMVS/libs/Common/Types.h:405:0,
from /openMVS/libs/Common/Common.h:176,
from /openMVS/libs/Common/CUDA.cpp:8:
/openMVS/libs/Common/SML.h: In destructor 'SEACAVE::SMLVALUE_TYPE::~SMLVALUE_TYPE()':
/openMVS/libs/Common/SML.h:29:28: warning: deleting 'void*' is undefined [-Wdelete-incomplete]
~SMLVALUE_TYPE() { delete data; }
^
In file included from /openMVS/libs/Common/Common.h:176:0,
from /openMVS/libs/Common/CUDA.cpp:8:
/openMVS/libs/Common/Types.h: In function 'float SEACAVE::cbrt5(float)':
/openMVS/libs/Common/Types.h:715:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/Common/Types.h:715:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/Common/Types.h: In member function 'int SEACAVE::Float::Floor2Int() const':
/openMVS/libs/Common/Types.h:1156:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Floor2Int() const { const double d((double)v.f + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
/openMVS/libs/Common/Types.h: In member function 'int SEACAVE::Float::Ceil2Int() const':
/openMVS/libs/Common/Types.h:1159:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Ceil2Int() const { const double d((double)v.f + 1.0 + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
In file included from /openMVS/libs/Common/Common.h:176:0,
from /openMVS/libs/Common/CUDA.cpp:8:
/openMVS/libs/Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator==(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/Common/Types.h:2025:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/Common/Types.h:2025:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator!=(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/Common/Types.h:2026:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/Common/Types.h:2026:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/Common/Types.h: In member function 'uint32_t SEACAVE::TColor<TYPE>::toDWORD() const [with TYPE = unsigned char; uint32_t = unsigned int]':
/openMVS/libs/Common/Types.h:2027:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline uint32_t TColor<uint8_t>::toDWORD() const { return *((const uint32_t*)c); }
^
In file included from /openMVS/libs/Common/Types.h:357:0,
from /openMVS/libs/Common/Common.h:176,
from /openMVS/libs/Common/Log.cpp:8:
/openMVS/libs/Common/HalfFloat.h: In static member function 'static short int SEACAVE::hfloat::fromFloat(float)':
/openMVS/libs/Common/HalfFloat.h:62:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
const int& fltInt32((int&)fv);
^
/openMVS/libs/Common/HalfFloat.h: In static member function 'static float SEACAVE::hfloat::toFloat(short int)':
/openMVS/libs/Common/HalfFloat.h:70:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return (float&)fltInt32;
^
In file included from /openMVS/libs/Common/Types.h:405:0,
from /openMVS/libs/Common/Common.h:176,
from /openMVS/libs/Common/Log.cpp:8:
/openMVS/libs/Common/SML.h: In destructor 'SEACAVE::SMLVALUE_TYPE::~SMLVALUE_TYPE()':
/openMVS/libs/Common/SML.h:29:28: warning: deleting 'void*' is undefined [-Wdelete-incomplete]
~SMLVALUE_TYPE() { delete data; }
^
In file included from /openMVS/libs/Common/Common.h:176:0,
from /openMVS/libs/Common/Log.cpp:8:
/openMVS/libs/Common/Types.h: In function 'float SEACAVE::cbrt5(float)':
/openMVS/libs/Common/Types.h:715:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/Common/Types.h:715:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/Common/Types.h: In member function 'int SEACAVE::Float::Floor2Int() const':
/openMVS/libs/Common/Types.h:1156:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Floor2Int() const { const double d((double)v.f + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
/openMVS/libs/Common/Types.h: In member function 'int SEACAVE::Float::Ceil2Int() const':
/openMVS/libs/Common/Types.h:1159:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Ceil2Int() const { const double d((double)v.f + 1.0 + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
In file included from /openMVS/libs/Common/Common.h:176:0,
from /openMVS/libs/Common/Log.cpp:8:
/openMVS/libs/Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator==(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/Common/Types.h:2025:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/Common/Types.h:2025:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator!=(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/Common/Types.h:2026:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/Common/Types.h:2026:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/Common/Types.h: In member function 'uint32_t SEACAVE::TColor<TYPE>::toDWORD() const [with TYPE = unsigned char; uint32_t = unsigned int]':
/openMVS/libs/Common/Types.h:2027:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline uint32_t TColor<uint8_t>::toDWORD() const { return *((const uint32_t*)c); }
^
[ 20%] Linking CXX static library ../../lib/libCommon.a
[ 20%] Built target Common
Scanning dependencies of target Math
Scanning dependencies of target IO
[ 21%] Building CXX object libs/Math/CMakeFiles/Math.dir/Common.cpp.o
[ 23%] Building CXX object libs/IO/CMakeFiles/IO.dir/Common.cpp.o
In file included from /openMVS/libs/Math/../Common/Types.h:357:0,
from /openMVS/libs/Math/../Common/Common.h:176,
from /openMVS/libs/Math/Common.h:18,
from /openMVS/libs/Math/Common.cpp:12:
/openMVS/libs/Math/../Common/HalfFloat.h: In static member function 'static short int SEACAVE::hfloat::fromFloat(float)':
/openMVS/libs/Math/../Common/HalfFloat.h:62:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
const int& fltInt32((int&)fv);
^
/openMVS/libs/Math/../Common/HalfFloat.h: In static member function 'static float SEACAVE::hfloat::toFloat(short int)':
/openMVS/libs/Math/../Common/HalfFloat.h:70:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return (float&)fltInt32;
^
In file included from /openMVS/libs/Math/../Common/Types.h:405:0,
from /openMVS/libs/Math/../Common/Common.h:176,
from /openMVS/libs/Math/Common.h:18,
from /openMVS/libs/Math/Common.cpp:12:
/openMVS/libs/Math/../Common/SML.h: In destructor 'SEACAVE::SMLVALUE_TYPE::~SMLVALUE_TYPE()':
/openMVS/libs/Math/../Common/SML.h:29:28: warning: deleting 'void*' is undefined [-Wdelete-incomplete]
~SMLVALUE_TYPE() { delete data; }
^
In file included from /openMVS/libs/IO/../Common/Types.h:357:0,
from /openMVS/libs/IO/../Common/Common.h:176,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/Common.cpp:12:
/openMVS/libs/IO/../Common/HalfFloat.h: In static member function 'static short int SEACAVE::hfloat::fromFloat(float)':
/openMVS/libs/IO/../Common/HalfFloat.h:62:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
const int& fltInt32((int&)fv);
^
/openMVS/libs/IO/../Common/HalfFloat.h: In static member function 'static float SEACAVE::hfloat::toFloat(short int)':
/openMVS/libs/IO/../Common/HalfFloat.h:70:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return (float&)fltInt32;
^
In file included from /openMVS/libs/Math/../Common/Common.h:176:0,
from /openMVS/libs/Math/Common.h:18,
from /openMVS/libs/Math/Common.cpp:12:
/openMVS/libs/Math/../Common/Types.h: In function 'float SEACAVE::cbrt5(float)':
/openMVS/libs/Math/../Common/Types.h:715:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/Math/../Common/Types.h:715:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/Math/../Common/Types.h: In member function 'int SEACAVE::Float::Floor2Int() const':
/openMVS/libs/Math/../Common/Types.h:1156:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Floor2Int() const { const double d((double)v.f + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
/openMVS/libs/Math/../Common/Types.h: In member function 'int SEACAVE::Float::Ceil2Int() const':
/openMVS/libs/Math/../Common/Types.h:1159:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Ceil2Int() const { const double d((double)v.f + 1.0 + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
In file included from /openMVS/libs/IO/../Common/Types.h:405:0,
from /openMVS/libs/IO/../Common/Common.h:176,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/Common.cpp:12:
/openMVS/libs/IO/../Common/SML.h: In destructor 'SEACAVE::SMLVALUE_TYPE::~SMLVALUE_TYPE()':
/openMVS/libs/IO/../Common/SML.h:29:28: warning: deleting 'void*' is undefined [-Wdelete-incomplete]
~SMLVALUE_TYPE() { delete data; }
^
In file included from /openMVS/libs/Math/../Common/Common.h:176:0,
from /openMVS/libs/Math/Common.h:18,
from /openMVS/libs/Math/Common.cpp:12:
/openMVS/libs/Math/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator==(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/Math/../Common/Types.h:2025:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/Math/../Common/Types.h:2025:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/Math/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator!=(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/Math/../Common/Types.h:2026:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/Math/../Common/Types.h:2026:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/Math/../Common/Types.h: In member function 'uint32_t SEACAVE::TColor<TYPE>::toDWORD() const [with TYPE = unsigned char; uint32_t = unsigned int]':
/openMVS/libs/Math/../Common/Types.h:2027:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline uint32_t TColor<uint8_t>::toDWORD() const { return *((const uint32_t*)c); }
^
In file included from /openMVS/libs/IO/../Common/Common.h:176:0,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/Common.cpp:12:
/openMVS/libs/IO/../Common/Types.h: In function 'float SEACAVE::cbrt5(float)':
/openMVS/libs/IO/../Common/Types.h:715:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/IO/../Common/Types.h:715:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/IO/../Common/Types.h: In member function 'int SEACAVE::Float::Floor2Int() const':
/openMVS/libs/IO/../Common/Types.h:1156:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Floor2Int() const { const double d((double)v.f + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'int SEACAVE::Float::Ceil2Int() const':
/openMVS/libs/IO/../Common/Types.h:1159:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Ceil2Int() const { const double d((double)v.f + 1.0 + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
In file included from /openMVS/libs/IO/../Common/Common.h:176:0,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/Common.cpp:12:
/openMVS/libs/IO/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator==(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/IO/../Common/Types.h:2025:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h:2025:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator!=(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/IO/../Common/Types.h:2026:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h:2026:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'uint32_t SEACAVE::TColor<TYPE>::toDWORD() const [with TYPE = unsigned char; uint32_t = unsigned int]':
/openMVS/libs/IO/../Common/Types.h:2027:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline uint32_t TColor<uint8_t>::toDWORD() const { return *((const uint32_t*)c); }
^
[ 25%] Building CXX object libs/Math/CMakeFiles/Math.dir/IBFS/IBFS.cpp.o
[ 27%] Building CXX object libs/IO/CMakeFiles/IO.dir/EXIF.cpp.o
In file included from /openMVS/libs/Math/./../Common/Types.h:357:0,
from /openMVS/libs/Math/./../Common/Common.h:176,
from /openMVS/libs/Math/./Common.h:18,
from /openMVS/libs/Math/IBFS/IBFS.cpp:35:
/openMVS/libs/Math/./../Common/HalfFloat.h: In static member function 'static short int SEACAVE::hfloat::fromFloat(float)':
/openMVS/libs/Math/./../Common/HalfFloat.h:62:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
const int& fltInt32((int&)fv);
^
/openMVS/libs/Math/./../Common/HalfFloat.h: In static member function 'static float SEACAVE::hfloat::toFloat(short int)':
/openMVS/libs/Math/./../Common/HalfFloat.h:70:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return (float&)fltInt32;
^
In file included from /openMVS/libs/Math/./../Common/Types.h:405:0,
from /openMVS/libs/Math/./../Common/Common.h:176,
from /openMVS/libs/Math/./Common.h:18,
from /openMVS/libs/Math/IBFS/IBFS.cpp:35:
/openMVS/libs/Math/./../Common/SML.h: In destructor 'SEACAVE::SMLVALUE_TYPE::~SMLVALUE_TYPE()':
/openMVS/libs/Math/./../Common/SML.h:29:28: warning: deleting 'void*' is undefined [-Wdelete-incomplete]
~SMLVALUE_TYPE() { delete data; }
^
In file included from /openMVS/libs/Math/./../Common/Common.h:176:0,
from /openMVS/libs/Math/./Common.h:18,
from /openMVS/libs/Math/IBFS/IBFS.cpp:35:
/openMVS/libs/Math/./../Common/Types.h: In function 'float SEACAVE::cbrt5(float)':
/openMVS/libs/Math/./../Common/Types.h:715:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/Math/./../Common/Types.h:715:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/Math/./../Common/Types.h: In member function 'int SEACAVE::Float::Floor2Int() const':
/openMVS/libs/Math/./../Common/Types.h:1156:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Floor2Int() const { const double d((double)v.f + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
/openMVS/libs/Math/./../Common/Types.h: In member function 'int SEACAVE::Float::Ceil2Int() const':
/openMVS/libs/Math/./../Common/Types.h:1159:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Ceil2Int() const { const double d((double)v.f + 1.0 + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
In file included from /openMVS/libs/Math/./../Common/Common.h:176:0,
from /openMVS/libs/Math/./Common.h:18,
from /openMVS/libs/Math/IBFS/IBFS.cpp:35:
/openMVS/libs/Math/./../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator==(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/Math/./../Common/Types.h:2025:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/Math/./../Common/Types.h:2025:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/Math/./../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator!=(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/Math/./../Common/Types.h:2026:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/Math/./../Common/Types.h:2026:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/Math/./../Common/Types.h: In member function 'uint32_t SEACAVE::TColor<TYPE>::toDWORD() const [with TYPE = unsigned char; uint32_t = unsigned int]':
/openMVS/libs/Math/./../Common/Types.h:2027:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline uint32_t TColor<uint8_t>::toDWORD() const { return *((const uint32_t*)c); }
^
In file included from /openMVS/libs/IO/../Common/Types.h:357:0,
from /openMVS/libs/IO/../Common/Common.h:176,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/EXIF.cpp:31:
/openMVS/libs/IO/../Common/HalfFloat.h: In static member function 'static short int SEACAVE::hfloat::fromFloat(float)':
/openMVS/libs/IO/../Common/HalfFloat.h:62:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
const int& fltInt32((int&)fv);
^
/openMVS/libs/IO/../Common/HalfFloat.h: In static member function 'static float SEACAVE::hfloat::toFloat(short int)':
/openMVS/libs/IO/../Common/HalfFloat.h:70:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return (float&)fltInt32;
^
In file included from /openMVS/libs/IO/../Common/Types.h:405:0,
from /openMVS/libs/IO/../Common/Common.h:176,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/EXIF.cpp:31:
/openMVS/libs/IO/../Common/SML.h: In destructor 'SEACAVE::SMLVALUE_TYPE::~SMLVALUE_TYPE()':
/openMVS/libs/IO/../Common/SML.h:29:28: warning: deleting 'void*' is undefined [-Wdelete-incomplete]
~SMLVALUE_TYPE() { delete data; }
^
In file included from /openMVS/libs/IO/../Common/Common.h:176:0,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/EXIF.cpp:31:
/openMVS/libs/IO/../Common/Types.h: In function 'float SEACAVE::cbrt5(float)':
/openMVS/libs/IO/../Common/Types.h:715:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/IO/../Common/Types.h:715:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/IO/../Common/Types.h: In member function 'int SEACAVE::Float::Floor2Int() const':
/openMVS/libs/IO/../Common/Types.h:1156:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Floor2Int() const { const double d((double)v.f + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'int SEACAVE::Float::Ceil2Int() const':
/openMVS/libs/IO/../Common/Types.h:1159:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Ceil2Int() const { const double d((double)v.f + 1.0 + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
In file included from /openMVS/libs/IO/../Common/Common.h:176:0,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/EXIF.cpp:31:
/openMVS/libs/IO/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator==(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/IO/../Common/Types.h:2025:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h:2025:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator!=(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/IO/../Common/Types.h:2026:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h:2026:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'uint32_t SEACAVE::TColor<TYPE>::toDWORD() const [with TYPE = unsigned char; uint32_t = unsigned int]':
/openMVS/libs/IO/../Common/Types.h:2027:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline uint32_t TColor<uint8_t>::toDWORD() const { return *((const uint32_t*)c); }
^
/openMVS/libs/IO/EXIF.cpp: In member function 'int EXIFInfo::parseFrom(const unsigned char*, unsigned int)':
/openMVS/libs/IO/EXIF.cpp:198:5: warning: 'marker' may be used uninitialized in this function [-Wmaybe-uninitialized]
switch (marker) {
^
/openMVS/libs/IO/EXIF.cpp: In member function 'int EXIFInfo::parseFrom(const string&)':
/openMVS/libs/IO/EXIF.cpp:198:5: warning: 'marker' may be used uninitialized in this function [-Wmaybe-uninitialized]
/openMVS/libs/IO/EXIF.cpp:190:19: note: 'marker' was declared here
unsigned char marker, prev(0);
^
[ 29%] Building CXX object libs/Math/CMakeFiles/Math.dir/LMFit/lmmin.cpp.o
[ 30%] Building CXX object libs/IO/CMakeFiles/IO.dir/ImageTIFF.cpp.o
In file included from /openMVS/libs/Math/./../Common/Types.h:357:0,
from /openMVS/libs/Math/./../Common/Common.h:176,
from /openMVS/libs/Math/./Common.h:18,
from /openMVS/libs/Math/LMFit/lmmin.cpp:24:
/openMVS/libs/Math/./../Common/HalfFloat.h: In static member function 'static short int SEACAVE::hfloat::fromFloat(float)':
/openMVS/libs/Math/./../Common/HalfFloat.h:62:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
const int& fltInt32((int&)fv);
^
/openMVS/libs/Math/./../Common/HalfFloat.h: In static member function 'static float SEACAVE::hfloat::toFloat(short int)':
/openMVS/libs/Math/./../Common/HalfFloat.h:70:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return (float&)fltInt32;
^
In file included from /openMVS/libs/Math/./../Common/Types.h:405:0,
from /openMVS/libs/Math/./../Common/Common.h:176,
from /openMVS/libs/Math/./Common.h:18,
from /openMVS/libs/Math/LMFit/lmmin.cpp:24:
/openMVS/libs/Math/./../Common/SML.h: In destructor 'SEACAVE::SMLVALUE_TYPE::~SMLVALUE_TYPE()':
/openMVS/libs/Math/./../Common/SML.h:29:28: warning: deleting 'void*' is undefined [-Wdelete-incomplete]
~SMLVALUE_TYPE() { delete data; }
^
In file included from /openMVS/libs/Math/./../Common/Common.h:176:0,
from /openMVS/libs/Math/./Common.h:18,
from /openMVS/libs/Math/LMFit/lmmin.cpp:24:
/openMVS/libs/Math/./../Common/Types.h: In function 'float SEACAVE::cbrt5(float)':
/openMVS/libs/Math/./../Common/Types.h:715:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/Math/./../Common/Types.h:715:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/Math/./../Common/Types.h: In member function 'int SEACAVE::Float::Floor2Int() const':
/openMVS/libs/Math/./../Common/Types.h:1156:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Floor2Int() const { const double d((double)v.f + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
/openMVS/libs/Math/./../Common/Types.h: In member function 'int SEACAVE::Float::Ceil2Int() const':
/openMVS/libs/Math/./../Common/Types.h:1159:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Ceil2Int() const { const double d((double)v.f + 1.0 + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
In file included from /openMVS/libs/Math/./../Common/Common.h:176:0,
from /openMVS/libs/Math/./Common.h:18,
from /openMVS/libs/Math/LMFit/lmmin.cpp:24:
/openMVS/libs/Math/./../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator==(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/Math/./../Common/Types.h:2025:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/Math/./../Common/Types.h:2025:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/Math/./../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator!=(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/Math/./../Common/Types.h:2026:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/Math/./../Common/Types.h:2026:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/Math/./../Common/Types.h: In member function 'uint32_t SEACAVE::TColor<TYPE>::toDWORD() const [with TYPE = unsigned char; uint32_t = unsigned int]':
/openMVS/libs/Math/./../Common/Types.h:2027:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline uint32_t TColor<uint8_t>::toDWORD() const { return *((const uint32_t*)c); }
^
In file included from /openMVS/libs/IO/../Common/Types.h:357:0,
from /openMVS/libs/IO/../Common/Common.h:176,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/ImageTIFF.cpp:8:
/openMVS/libs/IO/../Common/HalfFloat.h: In static member function 'static short int SEACAVE::hfloat::fromFloat(float)':
/openMVS/libs/IO/../Common/HalfFloat.h:62:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
const int& fltInt32((int&)fv);
^
/openMVS/libs/IO/../Common/HalfFloat.h: In static member function 'static float SEACAVE::hfloat::toFloat(short int)':
/openMVS/libs/IO/../Common/HalfFloat.h:70:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return (float&)fltInt32;
^
In file included from /openMVS/libs/IO/../Common/Types.h:405:0,
from /openMVS/libs/IO/../Common/Common.h:176,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/ImageTIFF.cpp:8:
/openMVS/libs/IO/../Common/SML.h: In destructor 'SEACAVE::SMLVALUE_TYPE::~SMLVALUE_TYPE()':
/openMVS/libs/IO/../Common/SML.h:29:28: warning: deleting 'void*' is undefined [-Wdelete-incomplete]
~SMLVALUE_TYPE() { delete data; }
^
In file included from /openMVS/libs/IO/../Common/Common.h:176:0,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/ImageTIFF.cpp:8:
/openMVS/libs/IO/../Common/Types.h: In function 'float SEACAVE::cbrt5(float)':
/openMVS/libs/IO/../Common/Types.h:715:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/IO/../Common/Types.h:715:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/IO/../Common/Types.h: In member function 'int SEACAVE::Float::Floor2Int() const':
/openMVS/libs/IO/../Common/Types.h:1156:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Floor2Int() const { const double d((double)v.f + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'int SEACAVE::Float::Ceil2Int() const':
/openMVS/libs/IO/../Common/Types.h:1159:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Ceil2Int() const { const double d((double)v.f + 1.0 + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
In file included from /openMVS/libs/IO/../Common/Common.h:176:0,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/ImageTIFF.cpp:8:
/openMVS/libs/IO/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator==(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/IO/../Common/Types.h:2025:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h:2025:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator!=(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/IO/../Common/Types.h:2026:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h:2026:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'uint32_t SEACAVE::TColor<TYPE>::toDWORD() const [with TYPE = unsigned char; uint32_t = unsigned int]':
/openMVS/libs/IO/../Common/Types.h:2027:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline uint32_t TColor<uint8_t>::toDWORD() const { return *((const uint32_t*)c); }
^
/openMVS/libs/IO/ImageTIFF.cpp: At global scope:
/openMVS/libs/IO/ImageTIFF.cpp:546:45: warning: unused parameter 'imageFormat' [-Wunused-parameter]
HRESULT CImageTIFF::WriteHeader(PIXELFORMAT imageFormat, UINT width, UINT height, BYTE numLevels)
^
/openMVS/libs/IO/ImageTIFF.cpp:546:63: warning: unused parameter 'width' [-Wunused-parameter]
HRESULT CImageTIFF::WriteHeader(PIXELFORMAT imageFormat, UINT width, UINT height, BYTE numLevels)
^
/openMVS/libs/IO/ImageTIFF.cpp:546:75: warning: unused parameter 'height' [-Wunused-parameter]
HRESULT CImageTIFF::WriteHeader(PIXELFORMAT imageFormat, UINT width, UINT height, BYTE numLevels)
^
/openMVS/libs/IO/ImageTIFF.cpp:546:88: warning: unused parameter 'numLevels' [-Wunused-parameter]
HRESULT CImageTIFF::WriteHeader(PIXELFORMAT imageFormat, UINT width, UINT height, BYTE numLevels)
^
/openMVS/libs/IO/ImageTIFF.cpp:553:37: warning: unused parameter 'pData' [-Wunused-parameter]
HRESULT CImageTIFF::WriteData(void* pData, PIXELFORMAT dataFormat, UINT nStride, UINT lineWidth)
^
/openMVS/libs/IO/ImageTIFF.cpp:553:56: warning: unused parameter 'dataFormat' [-Wunused-parameter]
HRESULT CImageTIFF::WriteData(void* pData, PIXELFORMAT dataFormat, UINT nStride, UINT lineWidth)
^
/openMVS/libs/IO/ImageTIFF.cpp:553:73: warning: unused parameter 'nStride' [-Wunused-parameter]
HRESULT CImageTIFF::WriteData(void* pData, PIXELFORMAT dataFormat, UINT nStride, UINT lineWidth)
^
/openMVS/libs/IO/ImageTIFF.cpp:553:87: warning: unused parameter 'lineWidth' [-Wunused-parameter]
HRESULT CImageTIFF::WriteData(void* pData, PIXELFORMAT dataFormat, UINT nStride, UINT lineWidth)
^
/openMVS/libs/Math/LMFit/lmmin.cpp: In function 'void lm_lmdif(int, int, double*, double*, double, double, double, int, double, double*, int, double, int&, int&, double*, int*, double*, double*, double*, double*, double*, void (*)(const double*, int, const void*, double*, double*, int*), const void*)':
/openMVS/libs/Math/LMFit/lmmin.cpp:488:47: warning: 'eps' may be used uninitialized in this function [-Wmaybe-uninitialized]
step = eps*MAXF(eps,ABS(temp));
^
/openMVS/libs/Math/LMFit/lmmin.cpp:577:59: warning: 'fnorm' may be used uninitialized in this function [-Wmaybe-uninitialized]
gnorm = MAXF( gnorm, fabs( sum / wa2[ipvt[j]] / fnorm ) );
^
[ 32%] Linking CXX static library ../../lib/libMath.a
[ 32%] Built target Math
[ 34%] Building CXX object libs/IO/CMakeFiles/IO.dir/ImageSCI.cpp.o
[ 36%] Building CXX object libs/IO/CMakeFiles/IO.dir/ImagePNG.cpp.o
In file included from /openMVS/libs/IO/../Common/Types.h:357:0,
from /openMVS/libs/IO/../Common/Common.h:176,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/ImageSCI.cpp:8:
/openMVS/libs/IO/../Common/HalfFloat.h: In static member function 'static short int SEACAVE::hfloat::fromFloat(float)':
/openMVS/libs/IO/../Common/HalfFloat.h:62:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
const int& fltInt32((int&)fv);
^
/openMVS/libs/IO/../Common/HalfFloat.h: In static member function 'static float SEACAVE::hfloat::toFloat(short int)':
/openMVS/libs/IO/../Common/HalfFloat.h:70:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return (float&)fltInt32;
^
In file included from /openMVS/libs/IO/../Common/Types.h:405:0,
from /openMVS/libs/IO/../Common/Common.h:176,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/ImageSCI.cpp:8:
/openMVS/libs/IO/../Common/SML.h: In destructor 'SEACAVE::SMLVALUE_TYPE::~SMLVALUE_TYPE()':
/openMVS/libs/IO/../Common/SML.h:29:28: warning: deleting 'void*' is undefined [-Wdelete-incomplete]
~SMLVALUE_TYPE() { delete data; }
^
In file included from /openMVS/libs/IO/../Common/Common.h:176:0,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/ImageSCI.cpp:8:
/openMVS/libs/IO/../Common/Types.h: In function 'float SEACAVE::cbrt5(float)':
/openMVS/libs/IO/../Common/Types.h:715:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/IO/../Common/Types.h:715:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/IO/../Common/Types.h: In member function 'int SEACAVE::Float::Floor2Int() const':
/openMVS/libs/IO/../Common/Types.h:1156:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Floor2Int() const { const double d((double)v.f + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'int SEACAVE::Float::Ceil2Int() const':
/openMVS/libs/IO/../Common/Types.h:1159:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Ceil2Int() const { const double d((double)v.f + 1.0 + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
In file included from /openMVS/libs/IO/../Common/Common.h:176:0,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/ImageSCI.cpp:8:
/openMVS/libs/IO/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator==(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/IO/../Common/Types.h:2025:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h:2025:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator!=(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/IO/../Common/Types.h:2026:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h:2026:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'uint32_t SEACAVE::TColor<TYPE>::toDWORD() const [with TYPE = unsigned char; uint32_t = unsigned int]':
/openMVS/libs/IO/../Common/Types.h:2027:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline uint32_t TColor<uint8_t>::toDWORD() const { return *((const uint32_t*)c); }
^
In file included from /openMVS/libs/IO/../Common/Types.h:357:0,
from /openMVS/libs/IO/../Common/Common.h:176,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/ImagePNG.cpp:8:
/openMVS/libs/IO/../Common/HalfFloat.h: In static member function 'static short int SEACAVE::hfloat::fromFloat(float)':
/openMVS/libs/IO/../Common/HalfFloat.h:62:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
const int& fltInt32((int&)fv);
^
/openMVS/libs/IO/../Common/HalfFloat.h: In static member function 'static float SEACAVE::hfloat::toFloat(short int)':
/openMVS/libs/IO/../Common/HalfFloat.h:70:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return (float&)fltInt32;
^
In file included from /openMVS/libs/IO/../Common/Types.h:405:0,
from /openMVS/libs/IO/../Common/Common.h:176,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/ImagePNG.cpp:8:
/openMVS/libs/IO/../Common/SML.h: In destructor 'SEACAVE::SMLVALUE_TYPE::~SMLVALUE_TYPE()':
/openMVS/libs/IO/../Common/SML.h:29:28: warning: deleting 'void*' is undefined [-Wdelete-incomplete]
~SMLVALUE_TYPE() { delete data; }
^
In file included from /openMVS/libs/IO/../Common/Common.h:176:0,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/ImagePNG.cpp:8:
/openMVS/libs/IO/../Common/Types.h: In function 'float SEACAVE::cbrt5(float)':
/openMVS/libs/IO/../Common/Types.h:715:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/IO/../Common/Types.h:715:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/IO/../Common/Types.h: In member function 'int SEACAVE::Float::Floor2Int() const':
/openMVS/libs/IO/../Common/Types.h:1156:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Floor2Int() const { const double d((double)v.f + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'int SEACAVE::Float::Ceil2Int() const':
/openMVS/libs/IO/../Common/Types.h:1159:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Ceil2Int() const { const double d((double)v.f + 1.0 + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
In file included from /openMVS/libs/IO/../Common/Common.h:176:0,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/ImagePNG.cpp:8:
/openMVS/libs/IO/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator==(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/IO/../Common/Types.h:2025:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h:2025:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator!=(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/IO/../Common/Types.h:2026:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h:2026:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'uint32_t SEACAVE::TColor<TYPE>::toDWORD() const [with TYPE = unsigned char; uint32_t = unsigned int]':
/openMVS/libs/IO/../Common/Types.h:2027:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline uint32_t TColor<uint8_t>::toDWORD() const { return *((const uint32_t*)c); }
^
/openMVS/libs/IO/ImagePNG.cpp: In member function 'virtual HRESULT SEACAVE::CImagePNG::ReadData(void*, SEACAVE::PIXELFORMAT, UINT, UINT)':
/openMVS/libs/IO/ImagePNG.cpp:167:12: warning: unused variable 'info_ptr' [-Wunused-variable]
png_infop info_ptr = (png_infop)m_info_ptr;
^
/openMVS/libs/IO/ImagePNG.cpp: In member function 'virtual HRESULT SEACAVE::CImagePNG::WriteData(void*, SEACAVE::PIXELFORMAT, UINT, UINT)':
/openMVS/libs/IO/ImagePNG.cpp:280:12: warning: unused variable 'info_ptr' [-Wunused-variable]
png_infop info_ptr = (png_infop)m_info_ptr;
^
[ 38%] Building CXX object libs/IO/CMakeFiles/IO.dir/PLY.cpp.o
[ 40%] Building CXX object libs/IO/CMakeFiles/IO.dir/Image.cpp.o
In file included from /openMVS/libs/IO/../Common/Types.h:357:0,
from /openMVS/libs/IO/../Common/Common.h:176,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/Image.cpp:8:
/openMVS/libs/IO/../Common/HalfFloat.h: In static member function 'static short int SEACAVE::hfloat::fromFloat(float)':
/openMVS/libs/IO/../Common/HalfFloat.h:62:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
const int& fltInt32((int&)fv);
^
/openMVS/libs/IO/../Common/HalfFloat.h: In static member function 'static float SEACAVE::hfloat::toFloat(short int)':
/openMVS/libs/IO/../Common/HalfFloat.h:70:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return (float&)fltInt32;
^
In file included from /openMVS/libs/IO/../Common/Types.h:357:0,
from /openMVS/libs/IO/../Common/Common.h:176,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/PLY.cpp:8:
/openMVS/libs/IO/../Common/HalfFloat.h: In static member function 'static short int SEACAVE::hfloat::fromFloat(float)':
/openMVS/libs/IO/../Common/HalfFloat.h:62:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
const int& fltInt32((int&)fv);
^
/openMVS/libs/IO/../Common/HalfFloat.h: In static member function 'static float SEACAVE::hfloat::toFloat(short int)':
/openMVS/libs/IO/../Common/HalfFloat.h:70:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return (float&)fltInt32;
^
In file included from /openMVS/libs/IO/../Common/Types.h:405:0,
from /openMVS/libs/IO/../Common/Common.h:176,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/Image.cpp:8:
/openMVS/libs/IO/../Common/SML.h: In destructor 'SEACAVE::SMLVALUE_TYPE::~SMLVALUE_TYPE()':
/openMVS/libs/IO/../Common/SML.h:29:28: warning: deleting 'void*' is undefined [-Wdelete-incomplete]
~SMLVALUE_TYPE() { delete data; }
^
In file included from /openMVS/libs/IO/../Common/Types.h:405:0,
from /openMVS/libs/IO/../Common/Common.h:176,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/PLY.cpp:8:
/openMVS/libs/IO/../Common/SML.h: In destructor 'SEACAVE::SMLVALUE_TYPE::~SMLVALUE_TYPE()':
/openMVS/libs/IO/../Common/SML.h:29:28: warning: deleting 'void*' is undefined [-Wdelete-incomplete]
~SMLVALUE_TYPE() { delete data; }
^
In file included from /openMVS/libs/IO/../Common/Common.h:176:0,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/PLY.cpp:8:
/openMVS/libs/IO/../Common/Types.h: In function 'float SEACAVE::cbrt5(float)':
/openMVS/libs/IO/../Common/Types.h:715:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/IO/../Common/Types.h:715:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/IO/../Common/Types.h: In member function 'int SEACAVE::Float::Floor2Int() const':
/openMVS/libs/IO/../Common/Types.h:1156:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Floor2Int() const { const double d((double)v.f + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'int SEACAVE::Float::Ceil2Int() const':
/openMVS/libs/IO/../Common/Types.h:1159:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Ceil2Int() const { const double d((double)v.f + 1.0 + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
In file included from /openMVS/libs/IO/../Common/Common.h:176:0,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/Image.cpp:8:
/openMVS/libs/IO/../Common/Types.h: In function 'float SEACAVE::cbrt5(float)':
/openMVS/libs/IO/../Common/Types.h:715:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/IO/../Common/Types.h:715:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/IO/../Common/Types.h: In member function 'int SEACAVE::Float::Floor2Int() const':
/openMVS/libs/IO/../Common/Types.h:1156:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Floor2Int() const { const double d((double)v.f + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'int SEACAVE::Float::Ceil2Int() const':
/openMVS/libs/IO/../Common/Types.h:1159:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Ceil2Int() const { const double d((double)v.f + 1.0 + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
In file included from /openMVS/libs/IO/../Common/Common.h:176:0,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/PLY.cpp:8:
/openMVS/libs/IO/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator==(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/IO/../Common/Types.h:2025:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h:2025:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator!=(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/IO/../Common/Types.h:2026:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h:2026:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'uint32_t SEACAVE::TColor<TYPE>::toDWORD() const [with TYPE = unsigned char; uint32_t = unsigned int]':
/openMVS/libs/IO/../Common/Types.h:2027:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline uint32_t TColor<uint8_t>::toDWORD() const { return *((const uint32_t*)c); }
^
In file included from /openMVS/libs/IO/../Common/Common.h:176:0,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/Image.cpp:8:
/openMVS/libs/IO/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator==(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/IO/../Common/Types.h:2025:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h:2025:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator!=(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/IO/../Common/Types.h:2026:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h:2026:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'uint32_t SEACAVE::TColor<TYPE>::toDWORD() const [with TYPE = unsigned char; uint32_t = unsigned int]':
/openMVS/libs/IO/../Common/Types.h:2027:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline uint32_t TColor<uint8_t>::toDWORD() const { return *((const uint32_t*)c); }
^
/openMVS/libs/IO/Image.cpp: In static member function 'static bool SEACAVE::CImage::FilterFormat(void*, SEACAVE::PIXELFORMAT, UINT, const void*, SEACAVE::PIXELFORMAT, UINT, UINT)':
/openMVS/libs/IO/Image.cpp:263:10: warning: enumeration value 'PF_UNKNOWN' not handled in switch [-Wswitch]
switch (formatSrc)
^
/openMVS/libs/IO/Image.cpp:263:10: warning: enumeration value 'PF_DXT1' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:263:10: warning: enumeration value 'PF_DXT2' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:263:10: warning: enumeration value 'PF_DXT3' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:263:10: warning: enumeration value 'PF_DXT4' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:263:10: warning: enumeration value 'PF_DXT5' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:263:10: warning: enumeration value 'PF_3DC' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:297:10: warning: enumeration value 'PF_UNKNOWN' not handled in switch [-Wswitch]
switch (formatSrc)
^
/openMVS/libs/IO/Image.cpp:297:10: warning: enumeration value 'PF_DXT1' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:297:10: warning: enumeration value 'PF_DXT2' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:297:10: warning: enumeration value 'PF_DXT3' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:297:10: warning: enumeration value 'PF_DXT4' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:297:10: warning: enumeration value 'PF_DXT5' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:297:10: warning: enumeration value 'PF_3DC' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:349:10: warning: enumeration value 'PF_UNKNOWN' not handled in switch [-Wswitch]
switch (formatSrc)
^
/openMVS/libs/IO/Image.cpp:349:10: warning: enumeration value 'PF_DXT1' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:349:10: warning: enumeration value 'PF_DXT2' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:349:10: warning: enumeration value 'PF_DXT3' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:349:10: warning: enumeration value 'PF_DXT4' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:349:10: warning: enumeration value 'PF_DXT5' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:349:10: warning: enumeration value 'PF_3DC' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:416:10: warning: enumeration value 'PF_UNKNOWN' not handled in switch [-Wswitch]
switch (formatSrc)
^
/openMVS/libs/IO/Image.cpp:416:10: warning: enumeration value 'PF_DXT1' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:416:10: warning: enumeration value 'PF_DXT2' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:416:10: warning: enumeration value 'PF_DXT3' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:416:10: warning: enumeration value 'PF_DXT4' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:416:10: warning: enumeration value 'PF_DXT5' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:416:10: warning: enumeration value 'PF_3DC' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:504:10: warning: enumeration value 'PF_UNKNOWN' not handled in switch [-Wswitch]
switch (formatSrc)
^
/openMVS/libs/IO/Image.cpp:504:10: warning: enumeration value 'PF_DXT1' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:504:10: warning: enumeration value 'PF_DXT2' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:504:10: warning: enumeration value 'PF_DXT3' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:504:10: warning: enumeration value 'PF_DXT4' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:504:10: warning: enumeration value 'PF_DXT5' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:504:10: warning: enumeration value 'PF_3DC' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:593:10: warning: enumeration value 'PF_UNKNOWN' not handled in switch [-Wswitch]
switch (formatSrc)
^
/openMVS/libs/IO/Image.cpp:593:10: warning: enumeration value 'PF_DXT1' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:593:10: warning: enumeration value 'PF_DXT2' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:593:10: warning: enumeration value 'PF_DXT3' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:593:10: warning: enumeration value 'PF_DXT4' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:593:10: warning: enumeration value 'PF_DXT5' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:593:10: warning: enumeration value 'PF_3DC' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:659:10: warning: enumeration value 'PF_UNKNOWN' not handled in switch [-Wswitch]
switch (formatSrc)
^
/openMVS/libs/IO/Image.cpp:659:10: warning: enumeration value 'PF_DXT1' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:659:10: warning: enumeration value 'PF_DXT2' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:659:10: warning: enumeration value 'PF_DXT3' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:659:10: warning: enumeration value 'PF_DXT4' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:659:10: warning: enumeration value 'PF_DXT5' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:659:10: warning: enumeration value 'PF_3DC' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:747:10: warning: enumeration value 'PF_UNKNOWN' not handled in switch [-Wswitch]
switch (formatSrc)
^
/openMVS/libs/IO/Image.cpp:747:10: warning: enumeration value 'PF_DXT1' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:747:10: warning: enumeration value 'PF_DXT2' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:747:10: warning: enumeration value 'PF_DXT3' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:747:10: warning: enumeration value 'PF_DXT4' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:747:10: warning: enumeration value 'PF_DXT5' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:747:10: warning: enumeration value 'PF_3DC' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:259:9: warning: enumeration value 'PF_UNKNOWN' not handled in switch [-Wswitch]
switch (formatDst)
^
/openMVS/libs/IO/Image.cpp:259:9: warning: enumeration value 'PF_DXT1' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:259:9: warning: enumeration value 'PF_DXT2' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:259:9: warning: enumeration value 'PF_DXT3' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:259:9: warning: enumeration value 'PF_DXT4' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:259:9: warning: enumeration value 'PF_DXT5' not handled in switch [-Wswitch]
/openMVS/libs/IO/Image.cpp:259:9: warning: enumeration value 'PF_3DC' not handled in switch [-Wswitch]
[ 41%] Building CXX object libs/IO/CMakeFiles/IO.dir/ImageTGA.cpp.o
/openMVS/libs/IO/PLY.cpp: In member function 'void PLY::binary_get_element(uint8_t*)':
/openMVS/libs/IO/PLY.cpp:1232:24: warning: 'item' may be used uninitialized in this function [-Wmaybe-uninitialized]
item += item_size;
^
/openMVS/libs/IO/PLY.cpp: In member function 'void PLY::ascii_get_element(uint8_t*)':
/openMVS/libs/IO/PLY.cpp:1136:24: warning: 'item' may be used uninitialized in this function [-Wmaybe-uninitialized]
item += item_size;
^
[ 43%] Building CXX object libs/IO/CMakeFiles/IO.dir/ImageBMP.cpp.o
In file included from /openMVS/libs/IO/../Common/Types.h:357:0,
from /openMVS/libs/IO/../Common/Common.h:176,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/ImageTGA.cpp:8:
/openMVS/libs/IO/../Common/HalfFloat.h: In static member function 'static short int SEACAVE::hfloat::fromFloat(float)':
/openMVS/libs/IO/../Common/HalfFloat.h:62:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
const int& fltInt32((int&)fv);
^
/openMVS/libs/IO/../Common/HalfFloat.h: In static member function 'static float SEACAVE::hfloat::toFloat(short int)':
/openMVS/libs/IO/../Common/HalfFloat.h:70:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return (float&)fltInt32;
^
In file included from /openMVS/libs/IO/../Common/Types.h:405:0,
from /openMVS/libs/IO/../Common/Common.h:176,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/ImageTGA.cpp:8:
/openMVS/libs/IO/../Common/SML.h: In destructor 'SEACAVE::SMLVALUE_TYPE::~SMLVALUE_TYPE()':
/openMVS/libs/IO/../Common/SML.h:29:28: warning: deleting 'void*' is undefined [-Wdelete-incomplete]
~SMLVALUE_TYPE() { delete data; }
^
In file included from /openMVS/libs/IO/../Common/Common.h:176:0,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/ImageTGA.cpp:8:
/openMVS/libs/IO/../Common/Types.h: In function 'float SEACAVE::cbrt5(float)':
/openMVS/libs/IO/../Common/Types.h:715:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/IO/../Common/Types.h:715:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/IO/../Common/Types.h: In member function 'int SEACAVE::Float::Floor2Int() const':
/openMVS/libs/IO/../Common/Types.h:1156:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Floor2Int() const { const double d((double)v.f + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'int SEACAVE::Float::Ceil2Int() const':
/openMVS/libs/IO/../Common/Types.h:1159:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Ceil2Int() const { const double d((double)v.f + 1.0 + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
In file included from /openMVS/libs/IO/../Common/Common.h:176:0,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/ImageTGA.cpp:8:
/openMVS/libs/IO/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator==(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/IO/../Common/Types.h:2025:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h:2025:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator!=(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/IO/../Common/Types.h:2026:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h:2026:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'uint32_t SEACAVE::TColor<TYPE>::toDWORD() const [with TYPE = unsigned char; uint32_t = unsigned int]':
/openMVS/libs/IO/../Common/Types.h:2027:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline uint32_t TColor<uint8_t>::toDWORD() const { return *((const uint32_t*)c); }
^
/openMVS/libs/IO/ImageTGA.cpp: At global scope:
/openMVS/libs/IO/ImageTGA.cpp:133:44: warning: unused parameter 'imageFormat' [-Wunused-parameter]
HRESULT CImageTGA::WriteHeader(PIXELFORMAT imageFormat, UINT width, UINT height, BYTE numLevels)
^
/openMVS/libs/IO/ImageTGA.cpp:133:62: warning: unused parameter 'width' [-Wunused-parameter]
HRESULT CImageTGA::WriteHeader(PIXELFORMAT imageFormat, UINT width, UINT height, BYTE numLevels)
^
/openMVS/libs/IO/ImageTGA.cpp:133:74: warning: unused parameter 'height' [-Wunused-parameter]
HRESULT CImageTGA::WriteHeader(PIXELFORMAT imageFormat, UINT width, UINT height, BYTE numLevels)
^
/openMVS/libs/IO/ImageTGA.cpp:133:87: warning: unused parameter 'numLevels' [-Wunused-parameter]
HRESULT CImageTGA::WriteHeader(PIXELFORMAT imageFormat, UINT width, UINT height, BYTE numLevels)
^
/openMVS/libs/IO/ImageTGA.cpp:140:36: warning: unused parameter 'pData' [-Wunused-parameter]
HRESULT CImageTGA::WriteData(void* pData, PIXELFORMAT dataFormat, UINT nStride, UINT lineWidth)
^
/openMVS/libs/IO/ImageTGA.cpp:140:55: warning: unused parameter 'dataFormat' [-Wunused-parameter]
HRESULT CImageTGA::WriteData(void* pData, PIXELFORMAT dataFormat, UINT nStride, UINT lineWidth)
^
/openMVS/libs/IO/ImageTGA.cpp:140:72: warning: unused parameter 'nStride' [-Wunused-parameter]
HRESULT CImageTGA::WriteData(void* pData, PIXELFORMAT dataFormat, UINT nStride, UINT lineWidth)
^
/openMVS/libs/IO/ImageTGA.cpp:140:86: warning: unused parameter 'lineWidth' [-Wunused-parameter]
HRESULT CImageTGA::WriteData(void* pData, PIXELFORMAT dataFormat, UINT nStride, UINT lineWidth)
^
[ 45%] Building CXX object libs/IO/CMakeFiles/IO.dir/TinyXML2.cpp.o
In file included from /openMVS/libs/IO/../Common/Types.h:357:0,
from /openMVS/libs/IO/../Common/Common.h:176,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/ImageBMP.cpp:8:
/openMVS/libs/IO/../Common/HalfFloat.h: In static member function 'static short int SEACAVE::hfloat::fromFloat(float)':
/openMVS/libs/IO/../Common/HalfFloat.h:62:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
const int& fltInt32((int&)fv);
^
/openMVS/libs/IO/../Common/HalfFloat.h: In static member function 'static float SEACAVE::hfloat::toFloat(short int)':
/openMVS/libs/IO/../Common/HalfFloat.h:70:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return (float&)fltInt32;
^
In file included from /openMVS/libs/IO/../Common/Types.h:405:0,
from /openMVS/libs/IO/../Common/Common.h:176,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/ImageBMP.cpp:8:
/openMVS/libs/IO/../Common/SML.h: In destructor 'SEACAVE::SMLVALUE_TYPE::~SMLVALUE_TYPE()':
/openMVS/libs/IO/../Common/SML.h:29:28: warning: deleting 'void*' is undefined [-Wdelete-incomplete]
~SMLVALUE_TYPE() { delete data; }
^
In file included from /openMVS/libs/IO/../Common/Common.h:176:0,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/ImageBMP.cpp:8:
/openMVS/libs/IO/../Common/Types.h: In function 'float SEACAVE::cbrt5(float)':
/openMVS/libs/IO/../Common/Types.h:715:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/IO/../Common/Types.h:715:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/IO/../Common/Types.h: In member function 'int SEACAVE::Float::Floor2Int() const':
/openMVS/libs/IO/../Common/Types.h:1156:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Floor2Int() const { const double d((double)v.f + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'int SEACAVE::Float::Ceil2Int() const':
/openMVS/libs/IO/../Common/Types.h:1159:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Ceil2Int() const { const double d((double)v.f + 1.0 + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
In file included from /openMVS/libs/IO/../Common/Common.h:176:0,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/ImageBMP.cpp:8:
/openMVS/libs/IO/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator==(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/IO/../Common/Types.h:2025:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h:2025:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator!=(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/IO/../Common/Types.h:2026:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h:2026:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'uint32_t SEACAVE::TColor<TYPE>::toDWORD() const [with TYPE = unsigned char; uint32_t = unsigned int]':
/openMVS/libs/IO/../Common/Types.h:2027:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline uint32_t TColor<uint8_t>::toDWORD() const { return *((const uint32_t*)c); }
^
[ 47%] Building CXX object libs/IO/CMakeFiles/IO.dir/OBJ.cpp.o
In file included from /openMVS/libs/IO/../Common/Types.h:357:0,
from /openMVS/libs/IO/../Common/Common.h:176,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/TinyXML2.cpp:24:
/openMVS/libs/IO/../Common/HalfFloat.h: In static member function 'static short int SEACAVE::hfloat::fromFloat(float)':
/openMVS/libs/IO/../Common/HalfFloat.h:62:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
const int& fltInt32((int&)fv);
^
/openMVS/libs/IO/../Common/HalfFloat.h: In static member function 'static float SEACAVE::hfloat::toFloat(short int)':
/openMVS/libs/IO/../Common/HalfFloat.h:70:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return (float&)fltInt32;
^
In file included from /openMVS/libs/IO/../Common/Types.h:405:0,
from /openMVS/libs/IO/../Common/Common.h:176,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/TinyXML2.cpp:24:
/openMVS/libs/IO/../Common/SML.h: In destructor 'SEACAVE::SMLVALUE_TYPE::~SMLVALUE_TYPE()':
/openMVS/libs/IO/../Common/SML.h:29:28: warning: deleting 'void*' is undefined [-Wdelete-incomplete]
~SMLVALUE_TYPE() { delete data; }
^
In file included from /openMVS/libs/IO/../Common/Common.h:176:0,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/TinyXML2.cpp:24:
/openMVS/libs/IO/../Common/Types.h: In function 'float SEACAVE::cbrt5(float)':
/openMVS/libs/IO/../Common/Types.h:715:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/IO/../Common/Types.h:715:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/IO/../Common/Types.h: In member function 'int SEACAVE::Float::Floor2Int() const':
/openMVS/libs/IO/../Common/Types.h:1156:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Floor2Int() const { const double d((double)v.f + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'int SEACAVE::Float::Ceil2Int() const':
/openMVS/libs/IO/../Common/Types.h:1159:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Ceil2Int() const { const double d((double)v.f + 1.0 + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
In file included from /openMVS/libs/IO/../Common/Common.h:176:0,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/TinyXML2.cpp:24:
/openMVS/libs/IO/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator==(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/IO/../Common/Types.h:2025:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h:2025:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator!=(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/IO/../Common/Types.h:2026:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h:2026:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'uint32_t SEACAVE::TColor<TYPE>::toDWORD() const [with TYPE = unsigned char; uint32_t = unsigned int]':
/openMVS/libs/IO/../Common/Types.h:2027:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline uint32_t TColor<uint8_t>::toDWORD() const { return *((const uint32_t*)c); }
^
In file included from /openMVS/libs/IO/../Common/Types.h:357:0,
from /openMVS/libs/IO/../Common/Common.h:176,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/OBJ.cpp:8:
/openMVS/libs/IO/../Common/HalfFloat.h: In static member function 'static short int SEACAVE::hfloat::fromFloat(float)':
/openMVS/libs/IO/../Common/HalfFloat.h:62:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
const int& fltInt32((int&)fv);
^
/openMVS/libs/IO/../Common/HalfFloat.h: In static member function 'static float SEACAVE::hfloat::toFloat(short int)':
/openMVS/libs/IO/../Common/HalfFloat.h:70:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return (float&)fltInt32;
^
In file included from /openMVS/libs/IO/../Common/Types.h:405:0,
from /openMVS/libs/IO/../Common/Common.h:176,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/OBJ.cpp:8:
/openMVS/libs/IO/../Common/SML.h: In destructor 'SEACAVE::SMLVALUE_TYPE::~SMLVALUE_TYPE()':
/openMVS/libs/IO/../Common/SML.h:29:28: warning: deleting 'void*' is undefined [-Wdelete-incomplete]
~SMLVALUE_TYPE() { delete data; }
^
In file included from /openMVS/libs/IO/../Common/Common.h:176:0,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/OBJ.cpp:8:
/openMVS/libs/IO/../Common/Types.h: In function 'float SEACAVE::cbrt5(float)':
/openMVS/libs/IO/../Common/Types.h:715:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/IO/../Common/Types.h:715:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/IO/../Common/Types.h: In member function 'int SEACAVE::Float::Floor2Int() const':
/openMVS/libs/IO/../Common/Types.h:1156:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Floor2Int() const { const double d((double)v.f + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'int SEACAVE::Float::Ceil2Int() const':
/openMVS/libs/IO/../Common/Types.h:1159:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Ceil2Int() const { const double d((double)v.f + 1.0 + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
In file included from /openMVS/libs/IO/../Common/Common.h:176:0,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/OBJ.cpp:8:
/openMVS/libs/IO/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator==(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/IO/../Common/Types.h:2025:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h:2025:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator!=(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/IO/../Common/Types.h:2026:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h:2026:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'uint32_t SEACAVE::TColor<TYPE>::toDWORD() const [with TYPE = unsigned char; uint32_t = unsigned int]':
/openMVS/libs/IO/../Common/Types.h:2027:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline uint32_t TColor<uint8_t>::toDWORD() const { return *((const uint32_t*)c); }
^
In file included from /openMVS/libs/IO/../Common/Types.h:2710:0,
from /openMVS/libs/IO/../Common/Common.h:176,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/OBJ.cpp:8:
/openMVS/libs/IO/../Common/Types.inl: In instantiation of 'bool SEACAVE::TImage<TYPE>::Save(const SEACAVE::String&) const [with TYPE = SEACAVE::TPixel<unsigned char>]':
/openMVS/libs/IO/OBJ.cpp:76:56: required from here
/openMVS/libs/IO/../Common/Types.inl:2656:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
static const bool is_little_endian = (*((float*)b) < 1.f);
^
[ 49%] Building CXX object libs/IO/CMakeFiles/IO.dir/ImageEXIF.cpp.o
[ 50%] Building CXX object libs/IO/CMakeFiles/IO.dir/ImageDDS.cpp.o
In file included from /openMVS/libs/IO/../Common/Types.h:357:0,
from /openMVS/libs/IO/../Common/Common.h:176,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/ImageEXIF.cpp:8:
/openMVS/libs/IO/../Common/HalfFloat.h: In static member function 'static short int SEACAVE::hfloat::fromFloat(float)':
/openMVS/libs/IO/../Common/HalfFloat.h:62:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
const int& fltInt32((int&)fv);
^
/openMVS/libs/IO/../Common/HalfFloat.h: In static member function 'static float SEACAVE::hfloat::toFloat(short int)':
/openMVS/libs/IO/../Common/HalfFloat.h:70:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return (float&)fltInt32;
^
In file included from /openMVS/libs/IO/../Common/Types.h:405:0,
from /openMVS/libs/IO/../Common/Common.h:176,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/ImageEXIF.cpp:8:
/openMVS/libs/IO/../Common/SML.h: In destructor 'SEACAVE::SMLVALUE_TYPE::~SMLVALUE_TYPE()':
/openMVS/libs/IO/../Common/SML.h:29:28: warning: deleting 'void*' is undefined [-Wdelete-incomplete]
~SMLVALUE_TYPE() { delete data; }
^
In file included from /openMVS/libs/IO/../Common/Common.h:176:0,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/ImageEXIF.cpp:8:
/openMVS/libs/IO/../Common/Types.h: In function 'float SEACAVE::cbrt5(float)':
/openMVS/libs/IO/../Common/Types.h:715:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/IO/../Common/Types.h:715:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/IO/../Common/Types.h: In member function 'int SEACAVE::Float::Floor2Int() const':
/openMVS/libs/IO/../Common/Types.h:1156:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Floor2Int() const { const double d((double)v.f + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'int SEACAVE::Float::Ceil2Int() const':
/openMVS/libs/IO/../Common/Types.h:1159:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Ceil2Int() const { const double d((double)v.f + 1.0 + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
In file included from /openMVS/libs/IO/../Common/Common.h:176:0,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/ImageEXIF.cpp:8:
/openMVS/libs/IO/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator==(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/IO/../Common/Types.h:2025:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h:2025:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator!=(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/IO/../Common/Types.h:2026:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h:2026:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'uint32_t SEACAVE::TColor<TYPE>::toDWORD() const [with TYPE = unsigned char; uint32_t = unsigned int]':
/openMVS/libs/IO/../Common/Types.h:2027:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline uint32_t TColor<uint8_t>::toDWORD() const { return *((const uint32_t*)c); }
^
[ 52%] Building CXX object libs/IO/CMakeFiles/IO.dir/ImageJPG.cpp.o
In file included from /openMVS/libs/IO/../Common/Types.h:357:0,
from /openMVS/libs/IO/../Common/Common.h:176,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/ImageDDS.cpp:8:
/openMVS/libs/IO/../Common/HalfFloat.h: In static member function 'static short int SEACAVE::hfloat::fromFloat(float)':
/openMVS/libs/IO/../Common/HalfFloat.h:62:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
const int& fltInt32((int&)fv);
^
/openMVS/libs/IO/../Common/HalfFloat.h: In static member function 'static float SEACAVE::hfloat::toFloat(short int)':
/openMVS/libs/IO/../Common/HalfFloat.h:70:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return (float&)fltInt32;
^
In file included from /openMVS/libs/IO/../Common/Types.h:405:0,
from /openMVS/libs/IO/../Common/Common.h:176,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/ImageDDS.cpp:8:
/openMVS/libs/IO/../Common/SML.h: In destructor 'SEACAVE::SMLVALUE_TYPE::~SMLVALUE_TYPE()':
/openMVS/libs/IO/../Common/SML.h:29:28: warning: deleting 'void*' is undefined [-Wdelete-incomplete]
~SMLVALUE_TYPE() { delete data; }
^
In file included from /openMVS/libs/IO/../Common/Common.h:176:0,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/ImageDDS.cpp:8:
/openMVS/libs/IO/../Common/Types.h: In function 'float SEACAVE::cbrt5(float)':
/openMVS/libs/IO/../Common/Types.h:715:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/IO/../Common/Types.h:715:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/IO/../Common/Types.h: In member function 'int SEACAVE::Float::Floor2Int() const':
/openMVS/libs/IO/../Common/Types.h:1156:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Floor2Int() const { const double d((double)v.f + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'int SEACAVE::Float::Ceil2Int() const':
/openMVS/libs/IO/../Common/Types.h:1159:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Ceil2Int() const { const double d((double)v.f + 1.0 + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
In file included from /openMVS/libs/IO/../Common/Common.h:176:0,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/ImageDDS.cpp:8:
/openMVS/libs/IO/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator==(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/IO/../Common/Types.h:2025:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h:2025:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator!=(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/IO/../Common/Types.h:2026:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h:2026:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'uint32_t SEACAVE::TColor<TYPE>::toDWORD() const [with TYPE = unsigned char; uint32_t = unsigned int]':
/openMVS/libs/IO/../Common/Types.h:2027:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline uint32_t TColor<uint8_t>::toDWORD() const { return *((const uint32_t*)c); }
^
/openMVS/libs/IO/ImageDDS.cpp: At global scope:
/openMVS/libs/IO/ImageDDS.cpp:328:44: warning: unused parameter 'imageFormat' [-Wunused-parameter]
HRESULT CImageDDS::WriteHeader(PIXELFORMAT imageFormat, UINT width, UINT height, BYTE numLevels)
^
/openMVS/libs/IO/ImageDDS.cpp:328:62: warning: unused parameter 'width' [-Wunused-parameter]
HRESULT CImageDDS::WriteHeader(PIXELFORMAT imageFormat, UINT width, UINT height, BYTE numLevels)
^
/openMVS/libs/IO/ImageDDS.cpp:328:74: warning: unused parameter 'height' [-Wunused-parameter]
HRESULT CImageDDS::WriteHeader(PIXELFORMAT imageFormat, UINT width, UINT height, BYTE numLevels)
^
/openMVS/libs/IO/ImageDDS.cpp:328:87: warning: unused parameter 'numLevels' [-Wunused-parameter]
HRESULT CImageDDS::WriteHeader(PIXELFORMAT imageFormat, UINT width, UINT height, BYTE numLevels)
^
/openMVS/libs/IO/ImageDDS.cpp:335:36: warning: unused parameter 'pData' [-Wunused-parameter]
HRESULT CImageDDS::WriteData(void* pData, PIXELFORMAT dataFormat, UINT nStride, UINT lineWidth)
^
/openMVS/libs/IO/ImageDDS.cpp:335:55: warning: unused parameter 'dataFormat' [-Wunused-parameter]
HRESULT CImageDDS::WriteData(void* pData, PIXELFORMAT dataFormat, UINT nStride, UINT lineWidth)
^
/openMVS/libs/IO/ImageDDS.cpp:335:72: warning: unused parameter 'nStride' [-Wunused-parameter]
HRESULT CImageDDS::WriteData(void* pData, PIXELFORMAT dataFormat, UINT nStride, UINT lineWidth)
^
/openMVS/libs/IO/ImageDDS.cpp:335:86: warning: unused parameter 'lineWidth' [-Wunused-parameter]
HRESULT CImageDDS::WriteData(void* pData, PIXELFORMAT dataFormat, UINT nStride, UINT lineWidth)
^
In file included from /openMVS/libs/IO/../Common/Types.h:357:0,
from /openMVS/libs/IO/../Common/Common.h:176,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/ImageJPG.cpp:8:
/openMVS/libs/IO/../Common/HalfFloat.h: In static member function 'static short int SEACAVE::hfloat::fromFloat(float)':
/openMVS/libs/IO/../Common/HalfFloat.h:62:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
const int& fltInt32((int&)fv);
^
/openMVS/libs/IO/../Common/HalfFloat.h: In static member function 'static float SEACAVE::hfloat::toFloat(short int)':
/openMVS/libs/IO/../Common/HalfFloat.h:70:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return (float&)fltInt32;
^
In file included from /openMVS/libs/IO/../Common/Types.h:405:0,
from /openMVS/libs/IO/../Common/Common.h:176,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/ImageJPG.cpp:8:
/openMVS/libs/IO/../Common/SML.h: In destructor 'SEACAVE::SMLVALUE_TYPE::~SMLVALUE_TYPE()':
/openMVS/libs/IO/../Common/SML.h:29:28: warning: deleting 'void*' is undefined [-Wdelete-incomplete]
~SMLVALUE_TYPE() { delete data; }
^
In file included from /openMVS/libs/IO/../Common/Common.h:176:0,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/ImageJPG.cpp:8:
/openMVS/libs/IO/../Common/Types.h: In function 'float SEACAVE::cbrt5(float)':
/openMVS/libs/IO/../Common/Types.h:715:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/IO/../Common/Types.h:715:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/IO/../Common/Types.h: In member function 'int SEACAVE::Float::Floor2Int() const':
/openMVS/libs/IO/../Common/Types.h:1156:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Floor2Int() const { const double d((double)v.f + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'int SEACAVE::Float::Ceil2Int() const':
/openMVS/libs/IO/../Common/Types.h:1159:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Ceil2Int() const { const double d((double)v.f + 1.0 + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
In file included from /openMVS/libs/IO/../Common/Common.h:176:0,
from /openMVS/libs/IO/Common.h:18,
from /openMVS/libs/IO/ImageJPG.cpp:8:
/openMVS/libs/IO/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator==(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/IO/../Common/Types.h:2025:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h:2025:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator!=(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/IO/../Common/Types.h:2026:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h:2026:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/IO/../Common/Types.h: In member function 'uint32_t SEACAVE::TColor<TYPE>::toDWORD() const [with TYPE = unsigned char; uint32_t = unsigned int]':
/openMVS/libs/IO/../Common/Types.h:2027:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline uint32_t TColor<uint8_t>::toDWORD() const { return *((const uint32_t*)c); }
^
/openMVS/libs/IO/ImageJPG.cpp: At global scope:
/openMVS/libs/IO/ImageJPG.cpp:226:44: warning: unused parameter 'imageFormat' [-Wunused-parameter]
HRESULT CImageJPG::WriteHeader(PIXELFORMAT imageFormat, UINT width, UINT height, BYTE numLevels)
^
/openMVS/libs/IO/ImageJPG.cpp:226:62: warning: unused parameter 'width' [-Wunused-parameter]
HRESULT CImageJPG::WriteHeader(PIXELFORMAT imageFormat, UINT width, UINT height, BYTE numLevels)
^
/openMVS/libs/IO/ImageJPG.cpp:226:74: warning: unused parameter 'height' [-Wunused-parameter]
HRESULT CImageJPG::WriteHeader(PIXELFORMAT imageFormat, UINT width, UINT height, BYTE numLevels)
^
/openMVS/libs/IO/ImageJPG.cpp:226:87: warning: unused parameter 'numLevels' [-Wunused-parameter]
HRESULT CImageJPG::WriteHeader(PIXELFORMAT imageFormat, UINT width, UINT height, BYTE numLevels)
^
/openMVS/libs/IO/ImageJPG.cpp:233:36: warning: unused parameter 'pData' [-Wunused-parameter]
HRESULT CImageJPG::WriteData(void* pData, PIXELFORMAT dataFormat, UINT nStride, UINT lineWidth)
^
/openMVS/libs/IO/ImageJPG.cpp:233:55: warning: unused parameter 'dataFormat' [-Wunused-parameter]
HRESULT CImageJPG::WriteData(void* pData, PIXELFORMAT dataFormat, UINT nStride, UINT lineWidth)
^
/openMVS/libs/IO/ImageJPG.cpp:233:72: warning: unused parameter 'nStride' [-Wunused-parameter]
HRESULT CImageJPG::WriteData(void* pData, PIXELFORMAT dataFormat, UINT nStride, UINT lineWidth)
^
/openMVS/libs/IO/ImageJPG.cpp:233:86: warning: unused parameter 'lineWidth' [-Wunused-parameter]
HRESULT CImageJPG::WriteData(void* pData, PIXELFORMAT dataFormat, UINT nStride, UINT lineWidth)
^
[ 54%] Linking CXX static library ../../lib/libIO.a
[ 54%] Built target IO
Scanning dependencies of target MVS
[ 58%] Building CXX object libs/MVS/CMakeFiles/MVS.dir/SceneRefineCUDA.cpp.o
[ 58%] Building CXX object libs/MVS/CMakeFiles/MVS.dir/Common.cpp.o
In file included from /openMVS/libs/MVS/../Common/Types.h:357:0,
from /openMVS/libs/MVS/../Common/Common.h:176,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/SceneRefineCUDA.cpp:32:
/openMVS/libs/MVS/../Common/HalfFloat.h: In static member function 'static short int SEACAVE::hfloat::fromFloat(float)':
/openMVS/libs/MVS/../Common/HalfFloat.h:62:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
const int& fltInt32((int&)fv);
^
/openMVS/libs/MVS/../Common/HalfFloat.h: In static member function 'static float SEACAVE::hfloat::toFloat(short int)':
/openMVS/libs/MVS/../Common/HalfFloat.h:70:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return (float&)fltInt32;
^
In file included from /openMVS/libs/MVS/../Common/Types.h:405:0,
from /openMVS/libs/MVS/../Common/Common.h:176,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/SceneRefineCUDA.cpp:32:
/openMVS/libs/MVS/../Common/SML.h: In destructor 'SEACAVE::SMLVALUE_TYPE::~SMLVALUE_TYPE()':
/openMVS/libs/MVS/../Common/SML.h:29:28: warning: deleting 'void*' is undefined [-Wdelete-incomplete]
~SMLVALUE_TYPE() { delete data; }
^
In file included from /openMVS/libs/MVS/../Common/Common.h:176:0,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/SceneRefineCUDA.cpp:32:
/openMVS/libs/MVS/../Common/Types.h: In function 'float SEACAVE::cbrt5(float)':
/openMVS/libs/MVS/../Common/Types.h:715:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/MVS/../Common/Types.h:715:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'int SEACAVE::Float::Floor2Int() const':
/openMVS/libs/MVS/../Common/Types.h:1156:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Floor2Int() const { const double d((double)v.f + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'int SEACAVE::Float::Ceil2Int() const':
/openMVS/libs/MVS/../Common/Types.h:1159:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Ceil2Int() const { const double d((double)v.f + 1.0 + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
In file included from /openMVS/libs/MVS/../Common/Common.h:176:0,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/SceneRefineCUDA.cpp:32:
/openMVS/libs/MVS/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator==(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/MVS/../Common/Types.h:2025:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h:2025:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator!=(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/MVS/../Common/Types.h:2026:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h:2026:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'uint32_t SEACAVE::TColor<TYPE>::toDWORD() const [with TYPE = unsigned char; uint32_t = unsigned int]':
/openMVS/libs/MVS/../Common/Types.h:2027:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline uint32_t TColor<uint8_t>::toDWORD() const { return *((const uint32_t*)c); }
^
In file included from /openMVS/libs/MVS/../Common/Types.h:357:0,
from /openMVS/libs/MVS/../Common/Common.h:176,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/Common.cpp:36:
/openMVS/libs/MVS/../Common/HalfFloat.h: In static member function 'static short int SEACAVE::hfloat::fromFloat(float)':
/openMVS/libs/MVS/../Common/HalfFloat.h:62:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
const int& fltInt32((int&)fv);
^
/openMVS/libs/MVS/../Common/HalfFloat.h: In static member function 'static float SEACAVE::hfloat::toFloat(short int)':
/openMVS/libs/MVS/../Common/HalfFloat.h:70:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return (float&)fltInt32;
^
In file included from /openMVS/libs/MVS/../Common/Types.h:405:0,
from /openMVS/libs/MVS/../Common/Common.h:176,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/Common.cpp:36:
/openMVS/libs/MVS/../Common/SML.h: In destructor 'SEACAVE::SMLVALUE_TYPE::~SMLVALUE_TYPE()':
/openMVS/libs/MVS/../Common/SML.h:29:28: warning: deleting 'void*' is undefined [-Wdelete-incomplete]
~SMLVALUE_TYPE() { delete data; }
^
In file included from /openMVS/libs/MVS/../Common/Common.h:176:0,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/Common.cpp:36:
/openMVS/libs/MVS/../Common/Types.h: In function 'float SEACAVE::cbrt5(float)':
/openMVS/libs/MVS/../Common/Types.h:715:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/MVS/../Common/Types.h:715:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'int SEACAVE::Float::Floor2Int() const':
/openMVS/libs/MVS/../Common/Types.h:1156:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Floor2Int() const { const double d((double)v.f + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'int SEACAVE::Float::Ceil2Int() const':
/openMVS/libs/MVS/../Common/Types.h:1159:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Ceil2Int() const { const double d((double)v.f + 1.0 + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
In file included from /openMVS/libs/MVS/../Common/Common.h:176:0,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/Common.cpp:36:
/openMVS/libs/MVS/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator==(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/MVS/../Common/Types.h:2025:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h:2025:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator!=(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/MVS/../Common/Types.h:2026:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h:2026:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'uint32_t SEACAVE::TColor<TYPE>::toDWORD() const [with TYPE = unsigned char; uint32_t = unsigned int]':
/openMVS/libs/MVS/../Common/Types.h:2027:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline uint32_t TColor<uint8_t>::toDWORD() const { return *((const uint32_t*)c); }
^
[ 60%] Building CXX object libs/MVS/CMakeFiles/MVS.dir/Camera.cpp.o
[ 61%] Building CXX object libs/MVS/CMakeFiles/MVS.dir/Platform.cpp.o
In file included from /openMVS/libs/MVS/../Common/Types.h:357:0,
from /openMVS/libs/MVS/../Common/Common.h:176,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/Camera.cpp:32:
/openMVS/libs/MVS/../Common/HalfFloat.h: In static member function 'static short int SEACAVE::hfloat::fromFloat(float)':
/openMVS/libs/MVS/../Common/HalfFloat.h:62:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
const int& fltInt32((int&)fv);
^
/openMVS/libs/MVS/../Common/HalfFloat.h: In static member function 'static float SEACAVE::hfloat::toFloat(short int)':
/openMVS/libs/MVS/../Common/HalfFloat.h:70:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return (float&)fltInt32;
^
In file included from /openMVS/libs/MVS/../Common/Types.h:405:0,
from /openMVS/libs/MVS/../Common/Common.h:176,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/Camera.cpp:32:
/openMVS/libs/MVS/../Common/SML.h: In destructor 'SEACAVE::SMLVALUE_TYPE::~SMLVALUE_TYPE()':
/openMVS/libs/MVS/../Common/SML.h:29:28: warning: deleting 'void*' is undefined [-Wdelete-incomplete]
~SMLVALUE_TYPE() { delete data; }
^
In file included from /openMVS/libs/MVS/../Common/Common.h:176:0,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/Camera.cpp:32:
/openMVS/libs/MVS/../Common/Types.h: In function 'float SEACAVE::cbrt5(float)':
/openMVS/libs/MVS/../Common/Types.h:715:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/MVS/../Common/Types.h:715:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'int SEACAVE::Float::Floor2Int() const':
/openMVS/libs/MVS/../Common/Types.h:1156:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Floor2Int() const { const double d((double)v.f + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'int SEACAVE::Float::Ceil2Int() const':
/openMVS/libs/MVS/../Common/Types.h:1159:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Ceil2Int() const { const double d((double)v.f + 1.0 + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
In file included from /openMVS/libs/MVS/../Common/Common.h:176:0,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/Camera.cpp:32:
/openMVS/libs/MVS/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator==(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/MVS/../Common/Types.h:2025:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h:2025:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator!=(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/MVS/../Common/Types.h:2026:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h:2026:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'uint32_t SEACAVE::TColor<TYPE>::toDWORD() const [with TYPE = unsigned char; uint32_t = unsigned int]':
/openMVS/libs/MVS/../Common/Types.h:2027:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline uint32_t TColor<uint8_t>::toDWORD() const { return *((const uint32_t*)c); }
^
In file included from /openMVS/libs/MVS/../Common/Types.h:357:0,
from /openMVS/libs/MVS/../Common/Common.h:176,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/Platform.cpp:32:
/openMVS/libs/MVS/../Common/HalfFloat.h: In static member function 'static short int SEACAVE::hfloat::fromFloat(float)':
/openMVS/libs/MVS/../Common/HalfFloat.h:62:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
const int& fltInt32((int&)fv);
^
/openMVS/libs/MVS/../Common/HalfFloat.h: In static member function 'static float SEACAVE::hfloat::toFloat(short int)':
/openMVS/libs/MVS/../Common/HalfFloat.h:70:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return (float&)fltInt32;
^
In file included from /openMVS/libs/MVS/../Common/Types.h:405:0,
from /openMVS/libs/MVS/../Common/Common.h:176,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/Platform.cpp:32:
/openMVS/libs/MVS/../Common/SML.h: In destructor 'SEACAVE::SMLVALUE_TYPE::~SMLVALUE_TYPE()':
/openMVS/libs/MVS/../Common/SML.h:29:28: warning: deleting 'void*' is undefined [-Wdelete-incomplete]
~SMLVALUE_TYPE() { delete data; }
^
In file included from /openMVS/libs/MVS/../Common/Common.h:176:0,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/Platform.cpp:32:
/openMVS/libs/MVS/../Common/Types.h: In function 'float SEACAVE::cbrt5(float)':
/openMVS/libs/MVS/../Common/Types.h:715:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/MVS/../Common/Types.h:715:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'int SEACAVE::Float::Floor2Int() const':
/openMVS/libs/MVS/../Common/Types.h:1156:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Floor2Int() const { const double d((double)v.f + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'int SEACAVE::Float::Ceil2Int() const':
/openMVS/libs/MVS/../Common/Types.h:1159:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Ceil2Int() const { const double d((double)v.f + 1.0 + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
In file included from /openMVS/libs/MVS/../Common/Common.h:176:0,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/Platform.cpp:32:
/openMVS/libs/MVS/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator==(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/MVS/../Common/Types.h:2025:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h:2025:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator!=(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/MVS/../Common/Types.h:2026:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h:2026:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'uint32_t SEACAVE::TColor<TYPE>::toDWORD() const [with TYPE = unsigned char; uint32_t = unsigned int]':
/openMVS/libs/MVS/../Common/Types.h:2027:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline uint32_t TColor<uint8_t>::toDWORD() const { return *((const uint32_t*)c); }
^
/openMVS/libs/MVS/Camera.cpp: In function 'void MVS::DecomposeProjectionMatrix(const PMatrix&, SEACAVE::KMatrix&, SEACAVE::RMatrix&, SEACAVE::CMatrix&)':
/openMVS/libs/MVS/Camera.cpp:138:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
C = (const CMatrix&)hC * INVERT(hC[3]);
^
/openMVS/libs/MVS/Camera.cpp:138:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
C = (const CMatrix&)hC * INVERT(hC[3]);
^
/openMVS/libs/MVS/Camera.cpp: In function 'void MVS::DecomposeProjectionMatrix(const PMatrix&, SEACAVE::RMatrix&, SEACAVE::CMatrix&)':
/openMVS/libs/MVS/Camera.cpp:165:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
C = (const CMatrix&)hC * INVERT(hC[3]);
^
/openMVS/libs/MVS/Camera.cpp:165:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
C = (const CMatrix&)hC * INVERT(hC[3]);
^
[ 63%] Building CXX object libs/MVS/CMakeFiles/MVS.dir/Image.cpp.o
[ 65%] Building CXX object libs/MVS/CMakeFiles/MVS.dir/SceneReconstruct.cpp.o
In file included from /openMVS/libs/MVS/../Common/Types.h:357:0,
from /openMVS/libs/MVS/../Common/Common.h:176,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/Image.cpp:32:
/openMVS/libs/MVS/../Common/HalfFloat.h: In static member function 'static short int SEACAVE::hfloat::fromFloat(float)':
/openMVS/libs/MVS/../Common/HalfFloat.h:62:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
const int& fltInt32((int&)fv);
^
/openMVS/libs/MVS/../Common/HalfFloat.h: In static member function 'static float SEACAVE::hfloat::toFloat(short int)':
/openMVS/libs/MVS/../Common/HalfFloat.h:70:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return (float&)fltInt32;
^
In file included from /openMVS/libs/MVS/../Common/Types.h:405:0,
from /openMVS/libs/MVS/../Common/Common.h:176,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/Image.cpp:32:
/openMVS/libs/MVS/../Common/SML.h: In destructor 'SEACAVE::SMLVALUE_TYPE::~SMLVALUE_TYPE()':
/openMVS/libs/MVS/../Common/SML.h:29:28: warning: deleting 'void*' is undefined [-Wdelete-incomplete]
~SMLVALUE_TYPE() { delete data; }
^
In file included from /openMVS/libs/MVS/../Common/Common.h:176:0,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/Image.cpp:32:
/openMVS/libs/MVS/../Common/Types.h: In function 'float SEACAVE::cbrt5(float)':
/openMVS/libs/MVS/../Common/Types.h:715:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/MVS/../Common/Types.h:715:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'int SEACAVE::Float::Floor2Int() const':
/openMVS/libs/MVS/../Common/Types.h:1156:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Floor2Int() const { const double d((double)v.f + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'int SEACAVE::Float::Ceil2Int() const':
/openMVS/libs/MVS/../Common/Types.h:1159:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Ceil2Int() const { const double d((double)v.f + 1.0 + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
In file included from /openMVS/libs/MVS/../Common/Common.h:176:0,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/Image.cpp:32:
/openMVS/libs/MVS/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator==(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/MVS/../Common/Types.h:2025:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h:2025:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator!=(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/MVS/../Common/Types.h:2026:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h:2026:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'uint32_t SEACAVE::TColor<TYPE>::toDWORD() const [with TYPE = unsigned char; uint32_t = unsigned int]':
/openMVS/libs/MVS/../Common/Types.h:2027:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline uint32_t TColor<uint8_t>::toDWORD() const { return *((const uint32_t*)c); }
^
In file included from /openMVS/libs/MVS/../Common/Types.h:357:0,
from /openMVS/libs/MVS/../Common/Common.h:176,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/SceneReconstruct.cpp:32:
/openMVS/libs/MVS/../Common/HalfFloat.h: In static member function 'static short int SEACAVE::hfloat::fromFloat(float)':
/openMVS/libs/MVS/../Common/HalfFloat.h:62:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
const int& fltInt32((int&)fv);
^
/openMVS/libs/MVS/../Common/HalfFloat.h: In static member function 'static float SEACAVE::hfloat::toFloat(short int)':
/openMVS/libs/MVS/../Common/HalfFloat.h:70:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return (float&)fltInt32;
^
In file included from /openMVS/libs/MVS/../Common/Types.h:405:0,
from /openMVS/libs/MVS/../Common/Common.h:176,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/SceneReconstruct.cpp:32:
/openMVS/libs/MVS/../Common/SML.h: In destructor 'SEACAVE::SMLVALUE_TYPE::~SMLVALUE_TYPE()':
/openMVS/libs/MVS/../Common/SML.h:29:28: warning: deleting 'void*' is undefined [-Wdelete-incomplete]
~SMLVALUE_TYPE() { delete data; }
^
In file included from /openMVS/libs/MVS/../Common/Common.h:176:0,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/SceneReconstruct.cpp:32:
/openMVS/libs/MVS/../Common/Types.h: In function 'float SEACAVE::cbrt5(float)':
/openMVS/libs/MVS/../Common/Types.h:715:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/MVS/../Common/Types.h:715:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'int SEACAVE::Float::Floor2Int() const':
/openMVS/libs/MVS/../Common/Types.h:1156:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Floor2Int() const { const double d((double)v.f + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'int SEACAVE::Float::Ceil2Int() const':
/openMVS/libs/MVS/../Common/Types.h:1159:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Ceil2Int() const { const double d((double)v.f + 1.0 + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
In file included from /openMVS/libs/MVS/../Common/Common.h:176:0,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/SceneReconstruct.cpp:32:
/openMVS/libs/MVS/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator==(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/MVS/../Common/Types.h:2025:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h:2025:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator!=(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/MVS/../Common/Types.h:2026:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h:2026:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'uint32_t SEACAVE::TColor<TYPE>::toDWORD() const [with TYPE = unsigned char; uint32_t = unsigned int]':
/openMVS/libs/MVS/../Common/Types.h:2027:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline uint32_t TColor<uint8_t>::toDWORD() const { return *((const uint32_t*)c); }
^
[ 67%] Building CXX object libs/MVS/CMakeFiles/MVS.dir/DepthMap.cpp.o
/openMVS/libs/MVS/SceneReconstruct.cpp: In function 'bool DELAUNAY::intersect(const delaunay_t&, const segment_t&, const std::vector<std::pair<CGAL::internal::CC_iterator<CGAL::Compact_container<CGAL::Triangulation_cell_base_with_info_3<unsigned int, CGAL::Epick, CGAL::Triangulation_cell_base_3<CGAL::Epick, CGAL::Triangulation_ds_cell_base_3<CGAL::Triangulation_data_structure_3<CGAL::Triangulation_vertex_base_with_info_3<DELAUNAY::vert_info_t, CGAL::Epick>, CGAL::Triangulation_cell_base_with_info_3<unsigned int, CGAL::Epick> > > > >, CGAL::Default, CGAL::Default, CGAL::Default>, false>, int> >&, std::vector<std::pair<CGAL::internal::CC_iterator<CGAL::Compact_container<CGAL::Triangulation_cell_base_with_info_3<unsigned int, CGAL::Epick, CGAL::Triangulation_cell_base_3<CGAL::Epick, CGAL::Triangulation_ds_cell_base_3<CGAL::Triangulation_data_structure_3<CGAL::Triangulation_vertex_base_with_info_3<DELAUNAY::vert_info_t, CGAL::Epick>, CGAL::Triangulation_cell_base_with_info_3<unsigned int, CGAL::Epick> > > > >, CGAL::Default, CGAL::Default, CGAL::Default>, false>, int> >&, DELAUNAY::intersection_t&)':
/openMVS/libs/MVS/SceneReconstruct.cpp:591:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body]
ASSERT("2 edges intersections without common vertex" == NULL);
^
In file included from /openMVS/libs/MVS/../Common/Types.h:357:0,
from /openMVS/libs/MVS/../Common/Common.h:176,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/DepthMap.cpp:32:
/openMVS/libs/MVS/../Common/HalfFloat.h: In static member function 'static short int SEACAVE::hfloat::fromFloat(float)':
/openMVS/libs/MVS/../Common/HalfFloat.h:62:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
const int& fltInt32((int&)fv);
^
/openMVS/libs/MVS/../Common/HalfFloat.h: In static member function 'static float SEACAVE::hfloat::toFloat(short int)':
/openMVS/libs/MVS/../Common/HalfFloat.h:70:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return (float&)fltInt32;
^
In file included from /openMVS/libs/MVS/../Common/Types.h:405:0,
from /openMVS/libs/MVS/../Common/Common.h:176,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/DepthMap.cpp:32:
/openMVS/libs/MVS/../Common/SML.h: In destructor 'SEACAVE::SMLVALUE_TYPE::~SMLVALUE_TYPE()':
/openMVS/libs/MVS/../Common/SML.h:29:28: warning: deleting 'void*' is undefined [-Wdelete-incomplete]
~SMLVALUE_TYPE() { delete data; }
^
In file included from /openMVS/libs/MVS/../Common/Common.h:176:0,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/DepthMap.cpp:32:
/openMVS/libs/MVS/../Common/Types.h: In function 'float SEACAVE::cbrt5(float)':
/openMVS/libs/MVS/../Common/Types.h:715:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/MVS/../Common/Types.h:715:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'int SEACAVE::Float::Floor2Int() const':
/openMVS/libs/MVS/../Common/Types.h:1156:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Floor2Int() const { const double d((double)v.f + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'int SEACAVE::Float::Ceil2Int() const':
/openMVS/libs/MVS/../Common/Types.h:1159:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Ceil2Int() const { const double d((double)v.f + 1.0 + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
In file included from /openMVS/libs/MVS/../Common/Common.h:176:0,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/DepthMap.cpp:32:
/openMVS/libs/MVS/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator==(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/MVS/../Common/Types.h:2025:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h:2025:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator!=(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/MVS/../Common/Types.h:2026:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h:2026:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'uint32_t SEACAVE::TColor<TYPE>::toDWORD() const [with TYPE = unsigned char; uint32_t = unsigned int]':
/openMVS/libs/MVS/../Common/Types.h:2027:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline uint32_t TColor<uint8_t>::toDWORD() const { return *((const uint32_t*)c); }
^
In file included from /openMVS/libs/MVS/DepthMap.cpp:33:0:
/openMVS/libs/MVS/DepthMap.h: In constructor 'MVS::DepthEstimator::DepthEstimator(MVS::DepthData&, volatile safe_t&, const Image32F&, const MapRefArr&, MVS::DepthEstimator::ENDIRECTION)':
/openMVS/libs/MVS/DepthMap.h:232:20: warning: 'MVS::DepthEstimator::dMax' will be initialized after [-Wreorder]
const Depth dMin, dMax;
^
/openMVS/libs/MVS/DepthMap.h:212:26: warning: 'SEACAVE::cList<MVS::DepthEstimator::NeighborData, const MVS::DepthEstimator::NeighborData&, 0> MVS::DepthEstimator::neighborsData' [-Wreorder]
CLISTDEF0(NeighborData) neighborsData; // neighbor pixel depths to be used for smoothing
^
/openMVS/libs/MVS/DepthMap.cpp:262:1: warning: when initialized here [-Wreorder]
DepthEstimator::DepthEstimator(DepthData& _depthData0, volatile Thread::safe_t& _idx, const Image32F& _image0Sum, const MapRefArr& _coords, ENDIRECTION _dir)
^
/openMVS/libs/MVS/DepthMap.cpp: In function 'void MVS::EstimatePointNormals(const ImageArr&, MVS::PointCloud&, int)':
/openMVS/libs/MVS/DepthMap.cpp:675:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(Point3d&)(pointvectors[i].first) = pointcloud.points[i];
^
/openMVS/libs/MVS/DepthMap.cpp:695:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
normal = (const Point3d&)(pointvectors[i].second);
^
/openMVS/libs/MVS/DepthMap.cpp:695:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
normal = (const Point3d&)(pointvectors[i].second);
^
In file included from /openMVS/libs/MVS/Platform.h:38:0,
from /openMVS/libs/MVS/Image.h:38,
from /openMVS/libs/MVS/DepthMap.h:38,
from /openMVS/libs/MVS/DepthMap.cpp:33:
/openMVS/libs/MVS/Camera.h: In instantiation of 'SEACAVE::TPoint2<TYPE> MVS::Camera::ProjectPointP(const SEACAVE::TPoint3<TYPE>&) const [with TYPE = float]':
/openMVS/libs/MVS/DepthMap.cpp:654:61: required from here
/openMVS/libs/MVS/Camera.h:258:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return ((const TPoint2<TYPE>&)q)*INVERT(q.z);
^
/openMVS/libs/MVS/Camera.h:258:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
In file included from /openMVS/libs/MVS/../Common/Types.h:2710:0,
from /openMVS/libs/MVS/../Common/Common.h:176,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/DepthMap.cpp:32:
/openMVS/libs/MVS/../Common/Types.inl: In instantiation of 'bool SEACAVE::TImage<TYPE>::Save(const SEACAVE::String&) const [with TYPE = unsigned char]':
/openMVS/libs/MVS/DepthMap.cpp:782:26: required from here
/openMVS/libs/MVS/../Common/Types.inl:2656:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
static const bool is_little_endian = (*((float*)b) < 1.f);
^
/openMVS/libs/MVS/../Common/Types.inl: In instantiation of 'bool SEACAVE::TImage<TYPE>::Save(const SEACAVE::String&) const [with TYPE = SEACAVE::TPixel<unsigned char>]':
/openMVS/libs/MVS/DepthMap.cpp:793:26: required from here
/openMVS/libs/MVS/../Common/Types.inl:2656:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
[ 69%] Building CXX object libs/MVS/CMakeFiles/MVS.dir/RectsBinPack.cpp.o
In file included from /openMVS/libs/MVS/../Common/Types.h:357:0,
from /openMVS/libs/MVS/../Common/Common.h:176,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/RectsBinPack.cpp:32:
/openMVS/libs/MVS/../Common/HalfFloat.h: In static member function 'static short int SEACAVE::hfloat::fromFloat(float)':
/openMVS/libs/MVS/../Common/HalfFloat.h:62:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
const int& fltInt32((int&)fv);
^
/openMVS/libs/MVS/../Common/HalfFloat.h: In static member function 'static float SEACAVE::hfloat::toFloat(short int)':
/openMVS/libs/MVS/../Common/HalfFloat.h:70:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return (float&)fltInt32;
^
In file included from /openMVS/libs/MVS/../Common/Types.h:405:0,
from /openMVS/libs/MVS/../Common/Common.h:176,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/RectsBinPack.cpp:32:
/openMVS/libs/MVS/../Common/SML.h: In destructor 'SEACAVE::SMLVALUE_TYPE::~SMLVALUE_TYPE()':
/openMVS/libs/MVS/../Common/SML.h:29:28: warning: deleting 'void*' is undefined [-Wdelete-incomplete]
~SMLVALUE_TYPE() { delete data; }
^
In file included from /openMVS/libs/MVS/../Common/Common.h:176:0,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/RectsBinPack.cpp:32:
/openMVS/libs/MVS/../Common/Types.h: In function 'float SEACAVE::cbrt5(float)':
/openMVS/libs/MVS/../Common/Types.h:715:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/MVS/../Common/Types.h:715:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'int SEACAVE::Float::Floor2Int() const':
/openMVS/libs/MVS/../Common/Types.h:1156:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Floor2Int() const { const double d((double)v.f + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'int SEACAVE::Float::Ceil2Int() const':
/openMVS/libs/MVS/../Common/Types.h:1159:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Ceil2Int() const { const double d((double)v.f + 1.0 + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
In file included from /openMVS/libs/MVS/../Common/Common.h:176:0,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/RectsBinPack.cpp:32:
/openMVS/libs/MVS/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator==(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/MVS/../Common/Types.h:2025:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h:2025:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator!=(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/MVS/../Common/Types.h:2026:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h:2026:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'uint32_t SEACAVE::TColor<TYPE>::toDWORD() const [with TYPE = unsigned char; uint32_t = unsigned int]':
/openMVS/libs/MVS/../Common/Types.h:2027:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline uint32_t TColor<uint8_t>::toDWORD() const { return *((const uint32_t*)c); }
^
/openMVS/libs/MVS/RectsBinPack.cpp: In member function 'MVS::MaxRectsBinPack::Rect MVS::MaxRectsBinPack::Insert(int, int, MVS::MaxRectsBinPack::FreeRectChoiceHeuristic)':
/openMVS/libs/MVS/RectsBinPack.cpp:76:9: warning: enumeration value 'RectLast' not handled in switch [-Wswitch]
switch (method) {
^
/openMVS/libs/MVS/RectsBinPack.cpp: At global scope:
/openMVS/libs/MVS/RectsBinPack.cpp:1128:76: warning: unused parameter 'height' [-Wunused-parameter]
int SkylineBinPack::ComputeWastedArea(int skylineNodeIndex, int width, int height, int y) const
^
/openMVS/libs/MVS/RectsBinPack.cpp:1154:75: warning: unused parameter 'height' [-Wunused-parameter]
void SkylineBinPack::AddWasteMapArea(int skylineNodeIndex, int width, int height, int y)
^
[ 70%] Building CXX object libs/MVS/CMakeFiles/MVS.dir/Mesh.cpp.o
In file included from /openMVS/libs/MVS/Common.h:42:0,
from /openMVS/libs/MVS/DepthMap.cpp:32:
/openMVS/libs/MVS/DepthMap.cpp: At global scope:
/openMVS/libs/MVS/../Common/Common.h:146:16: warning: 'MVS::OPTDENSE::name_nMinResolution' defined but not used [-Wunused-variable]
LPCTSTR const name_##name(index_##name()); \
^
/openMVS/libs/MVS/../Common/Common.h:160:55: note: in expansion of macro 'DEFVAR_OPTION'
#define DEFVAR_uint32(SPACE, name, title, desc, ...) DEFVAR_OPTION(SPACE, CFGITEM::NA, uint32_t, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:56:57: note: in expansion of macro 'DEFVAR_uint32'
#define MDEFVAR_OPTDENSE_uint32(name, title, desc, ...) DEFVAR_uint32(OPTDENSE, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:64:1: note: in expansion of macro 'MDEFVAR_OPTDENSE_uint32'
MDEFVAR_OPTDENSE_uint32(nMinResolution, "Min Resolution", "Do not scale images lower than this resolution", "640")
^
/openMVS/libs/MVS/../Common/Common.h:146:16: warning: 'MVS::OPTDENSE::name_nResolutionLevel' defined but not used [-Wunused-variable]
LPCTSTR const name_##name(index_##name()); \
^
/openMVS/libs/MVS/../Common/Common.h:160:55: note: in expansion of macro 'DEFVAR_OPTION'
#define DEFVAR_uint32(SPACE, name, title, desc, ...) DEFVAR_OPTION(SPACE, CFGITEM::NA, uint32_t, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:48:57: note: in expansion of macro 'DEFVAR_uint32'
#define DEFVAR_OPTDENSE_uint32(name, title, desc, ...) DEFVAR_uint32(OPTDENSE, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:65:1: note: in expansion of macro 'DEFVAR_OPTDENSE_uint32'
DEFVAR_OPTDENSE_uint32(nResolutionLevel, "Resolution Level", "How many times to scale down the images before dense reconstruction", "1")
^
/openMVS/libs/MVS/../Common/Common.h:146:16: warning: 'MVS::OPTDENSE::name_nMinViews' defined but not used [-Wunused-variable]
LPCTSTR const name_##name(index_##name()); \
^
/openMVS/libs/MVS/../Common/Common.h:160:55: note: in expansion of macro 'DEFVAR_OPTION'
#define DEFVAR_uint32(SPACE, name, title, desc, ...) DEFVAR_OPTION(SPACE, CFGITEM::NA, uint32_t, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:48:57: note: in expansion of macro 'DEFVAR_uint32'
#define DEFVAR_OPTDENSE_uint32(name, title, desc, ...) DEFVAR_uint32(OPTDENSE, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:66:1: note: in expansion of macro 'DEFVAR_OPTDENSE_uint32'
DEFVAR_OPTDENSE_uint32(nMinViews, "Min Views", "minimum number of agreeing views to validate a depth", "2")
^
/openMVS/libs/MVS/../Common/Common.h:146:16: warning: 'MVS::OPTDENSE::name_nMaxViews' defined but not used [-Wunused-variable]
LPCTSTR const name_##name(index_##name()); \
^
/openMVS/libs/MVS/../Common/Common.h:160:55: note: in expansion of macro 'DEFVAR_OPTION'
#define DEFVAR_uint32(SPACE, name, title, desc, ...) DEFVAR_OPTION(SPACE, CFGITEM::NA, uint32_t, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:56:57: note: in expansion of macro 'DEFVAR_uint32'
#define MDEFVAR_OPTDENSE_uint32(name, title, desc, ...) DEFVAR_uint32(OPTDENSE, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:67:1: note: in expansion of macro 'MDEFVAR_OPTDENSE_uint32'
MDEFVAR_OPTDENSE_uint32(nMaxViews, "Max Views", "maximum number of neighbor images used to compute the depth-map for the reference image", "12")
^
/openMVS/libs/MVS/../Common/Common.h:146:16: warning: 'MVS::OPTDENSE::name_nMinViewsFuse' defined but not used [-Wunused-variable]
LPCTSTR const name_##name(index_##name()); \
^
/openMVS/libs/MVS/../Common/Common.h:160:55: note: in expansion of macro 'DEFVAR_OPTION'
#define DEFVAR_uint32(SPACE, name, title, desc, ...) DEFVAR_OPTION(SPACE, CFGITEM::NA, uint32_t, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:48:57: note: in expansion of macro 'DEFVAR_uint32'
#define DEFVAR_OPTDENSE_uint32(name, title, desc, ...) DEFVAR_uint32(OPTDENSE, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:68:1: note: in expansion of macro 'DEFVAR_OPTDENSE_uint32'
DEFVAR_OPTDENSE_uint32(nMinViewsFuse, "Min Views Fuse", "minimum number of images that agrees with an estimate during fusion in order to consider it inlier", "3
^
/openMVS/libs/MVS/../Common/Common.h:146:16: warning: 'MVS::OPTDENSE::name_nMinViewsFilter' defined but not used [-Wunused-variable]
LPCTSTR const name_##name(index_##name()); \
^
/openMVS/libs/MVS/../Common/Common.h:160:55: note: in expansion of macro 'DEFVAR_OPTION'
#define DEFVAR_uint32(SPACE, name, title, desc, ...) DEFVAR_OPTION(SPACE, CFGITEM::NA, uint32_t, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:48:57: note: in expansion of macro 'DEFVAR_uint32'
#define DEFVAR_OPTDENSE_uint32(name, title, desc, ...) DEFVAR_uint32(OPTDENSE, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:69:1: note: in expansion of macro 'DEFVAR_OPTDENSE_uint32'
DEFVAR_OPTDENSE_uint32(nMinViewsFilter, "Min Views Filter", "minimum number of images that agrees with an estimate in order to consider it inlier", "2")
^
/openMVS/libs/MVS/../Common/Common.h:146:16: warning: 'MVS::OPTDENSE::name_nMinViewsFilterAdjust' defined but not used [-Wunused-variable]
LPCTSTR const name_##name(index_##name()); \
^
/openMVS/libs/MVS/../Common/Common.h:160:55: note: in expansion of macro 'DEFVAR_OPTION'
#define DEFVAR_uint32(SPACE, name, title, desc, ...) DEFVAR_OPTION(SPACE, CFGITEM::NA, uint32_t, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:56:57: note: in expansion of macro 'DEFVAR_uint32'
#define MDEFVAR_OPTDENSE_uint32(name, title, desc, ...) DEFVAR_uint32(OPTDENSE, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:70:1: note: in expansion of macro 'MDEFVAR_OPTDENSE_uint32'
MDEFVAR_OPTDENSE_uint32(nMinViewsFilterAdjust, "Min Views Filter Adjust", "minimum number of images that agrees with an estimate in order to consider it inlier
^
/openMVS/libs/MVS/../Common/Common.h:146:16: warning: 'MVS::OPTDENSE::name_nMinViewsTrustPoint' defined but not used [-Wunused-variable]
LPCTSTR const name_##name(index_##name()); \
^
/openMVS/libs/MVS/../Common/Common.h:160:55: note: in expansion of macro 'DEFVAR_OPTION'
#define DEFVAR_uint32(SPACE, name, title, desc, ...) DEFVAR_OPTION(SPACE, CFGITEM::NA, uint32_t, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:56:57: note: in expansion of macro 'DEFVAR_uint32'
#define MDEFVAR_OPTDENSE_uint32(name, title, desc, ...) DEFVAR_uint32(OPTDENSE, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:71:1: note: in expansion of macro 'MDEFVAR_OPTDENSE_uint32'
MDEFVAR_OPTDENSE_uint32(nMinViewsTrustPoint, "Min Views Trust Point", "min-number of views so that the point is considered for approximating the depth-maps (<2
^
/openMVS/libs/MVS/../Common/Common.h:146:16: warning: 'MVS::OPTDENSE::name_nNumViews' defined but not used [-Wunused-variable]
LPCTSTR const name_##name(index_##name()); \
^
/openMVS/libs/MVS/../Common/Common.h:160:55: note: in expansion of macro 'DEFVAR_OPTION'
#define DEFVAR_uint32(SPACE, name, title, desc, ...) DEFVAR_OPTION(SPACE, CFGITEM::NA, uint32_t, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:56:57: note: in expansion of macro 'DEFVAR_uint32'
#define MDEFVAR_OPTDENSE_uint32(name, title, desc, ...) DEFVAR_uint32(OPTDENSE, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:72:1: note: in expansion of macro 'MDEFVAR_OPTDENSE_uint32'
MDEFVAR_OPTDENSE_uint32(nNumViews, "Num Views", "Number of views used for depth-map estimation (0 - all views available)", "1", "0")
^
/openMVS/libs/MVS/../Common/Common.h:146:16: warning: 'MVS::OPTDENSE::name_bFilterAdjust' defined but not used [-Wunused-variable]
LPCTSTR const name_##name(index_##name()); \
^
/openMVS/libs/MVS/../Common/Common.h:158:55: note: in expansion of macro 'DEFVAR_OPTION'
#define DEFVAR_bool(SPACE, name, title, desc, ...) DEFVAR_OPTION(SPACE, CFGITEM::NA, bool, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:54:57: note: in expansion of macro 'DEFVAR_bool'
#define MDEFVAR_OPTDENSE_bool(name, title, desc, ...) DEFVAR_bool(OPTDENSE, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:73:1: note: in expansion of macro 'MDEFVAR_OPTDENSE_bool'
MDEFVAR_OPTDENSE_bool(bFilterAdjust, "Filter Adjust", "adjust depth estimates during filtering", "1")
^
/openMVS/libs/MVS/../Common/Common.h:146:16: warning: 'MVS::OPTDENSE::name_bAddCorners' defined but not used [-Wunused-variable]
LPCTSTR const name_##name(index_##name()); \
^
/openMVS/libs/MVS/../Common/Common.h:158:55: note: in expansion of macro 'DEFVAR_OPTION'
#define DEFVAR_bool(SPACE, name, title, desc, ...) DEFVAR_OPTION(SPACE, CFGITEM::NA, bool, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:54:57: note: in expansion of macro 'DEFVAR_bool'
#define MDEFVAR_OPTDENSE_bool(name, title, desc, ...) DEFVAR_bool(OPTDENSE, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:74:1: note: in expansion of macro 'MDEFVAR_OPTDENSE_bool'
MDEFVAR_OPTDENSE_bool(bAddCorners, "Add Corners", "add support points at image corners with nearest neighbor disparities", "1")
^
/openMVS/libs/MVS/../Common/Common.h:146:16: warning: 'MVS::OPTDENSE::name_fViewMinScore' defined but not used [-Wunused-variable]
LPCTSTR const name_##name(index_##name()); \
^
/openMVS/libs/MVS/../Common/Common.h:162:55: note: in expansion of macro 'DEFVAR_OPTION'
#define DEFVAR_float(SPACE, name, title, desc, ...) DEFVAR_OPTION(SPACE, CFGITEM::NA, float, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:58:57: note: in expansion of macro 'DEFVAR_float'
#define MDEFVAR_OPTDENSE_float(name, title, desc, ...) DEFVAR_float(OPTDENSE, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:75:1: note: in expansion of macro 'MDEFVAR_OPTDENSE_float'
MDEFVAR_OPTDENSE_float(fViewMinScore, "View Min Score", "Min score to consider a neighbor images (0 - disabled)", "2.0")
^
/openMVS/libs/MVS/../Common/Common.h:146:16: warning: 'MVS::OPTDENSE::name_fViewMinScoreRatio' defined but not used [-Wunused-variable]
LPCTSTR const name_##name(index_##name()); \
^
/openMVS/libs/MVS/../Common/Common.h:162:55: note: in expansion of macro 'DEFVAR_OPTION'
#define DEFVAR_float(SPACE, name, title, desc, ...) DEFVAR_OPTION(SPACE, CFGITEM::NA, float, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:58:57: note: in expansion of macro 'DEFVAR_float'
#define MDEFVAR_OPTDENSE_float(name, title, desc, ...) DEFVAR_float(OPTDENSE, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:76:1: note: in expansion of macro 'MDEFVAR_OPTDENSE_float'
MDEFVAR_OPTDENSE_float(fViewMinScoreRatio, "View Min Score Ratio", "Min score ratio to consider a neighbor images", "0.3")
^
/openMVS/libs/MVS/../Common/Common.h:146:16: warning: 'MVS::OPTDENSE::name_fMinAngle' defined but not used [-Wunused-variable]
LPCTSTR const name_##name(index_##name()); \
^
/openMVS/libs/MVS/../Common/Common.h:162:55: note: in expansion of macro 'DEFVAR_OPTION'
#define DEFVAR_float(SPACE, name, title, desc, ...) DEFVAR_OPTION(SPACE, CFGITEM::NA, float, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:58:57: note: in expansion of macro 'DEFVAR_float'
#define MDEFVAR_OPTDENSE_float(name, title, desc, ...) DEFVAR_float(OPTDENSE, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:77:1: note: in expansion of macro 'MDEFVAR_OPTDENSE_float'
MDEFVAR_OPTDENSE_float(fMinAngle, "Min Angle", "Min angle for accepting the depth triangulation", "3.0")
^
/openMVS/libs/MVS/../Common/Common.h:146:16: warning: 'MVS::OPTDENSE::name_fOptimAngle' defined but not used [-Wunused-variable]
LPCTSTR const name_##name(index_##name()); \
^
/openMVS/libs/MVS/../Common/Common.h:162:55: note: in expansion of macro 'DEFVAR_OPTION'
#define DEFVAR_float(SPACE, name, title, desc, ...) DEFVAR_OPTION(SPACE, CFGITEM::NA, float, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:58:57: note: in expansion of macro 'DEFVAR_float'
#define MDEFVAR_OPTDENSE_float(name, title, desc, ...) DEFVAR_float(OPTDENSE, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:78:1: note: in expansion of macro 'MDEFVAR_OPTDENSE_float'
MDEFVAR_OPTDENSE_float(fOptimAngle, "Optim Angle", "Optimal angle for computing the depth triangulation", "12.0")
^
/openMVS/libs/MVS/../Common/Common.h:146:16: warning: 'MVS::OPTDENSE::name_fMaxAngle' defined but not used [-Wunused-variable]
LPCTSTR const name_##name(index_##name()); \
^
/openMVS/libs/MVS/../Common/Common.h:162:55: note: in expansion of macro 'DEFVAR_OPTION'
#define DEFVAR_float(SPACE, name, title, desc, ...) DEFVAR_OPTION(SPACE, CFGITEM::NA, float, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:58:57: note: in expansion of macro 'DEFVAR_float'
#define MDEFVAR_OPTDENSE_float(name, title, desc, ...) DEFVAR_float(OPTDENSE, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:79:1: note: in expansion of macro 'MDEFVAR_OPTDENSE_float'
MDEFVAR_OPTDENSE_float(fMaxAngle, "Max Angle", "Max angle for accepting the depth triangulation", "45.0")
^
/openMVS/libs/MVS/../Common/Common.h:146:16: warning: 'MVS::OPTDENSE::name_fDescriptorMinMagnitudeThreshold' defined but not used [-Wunused-variable]
LPCTSTR const name_##name(index_##name()); \
^
/openMVS/libs/MVS/../Common/Common.h:162:55: note: in expansion of macro 'DEFVAR_OPTION'
#define DEFVAR_float(SPACE, name, title, desc, ...) DEFVAR_OPTION(SPACE, CFGITEM::NA, float, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:58:57: note: in expansion of macro 'DEFVAR_float'
#define MDEFVAR_OPTDENSE_float(name, title, desc, ...) DEFVAR_float(OPTDENSE, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:80:1: note: in expansion of macro 'MDEFVAR_OPTDENSE_float'
MDEFVAR_OPTDENSE_float(fDescriptorMinMagnitudeThreshold, "Descriptor Min Magnitude Threshold", "minimum texture variance accepted when matching two patches (0 -
^
/openMVS/libs/MVS/../Common/Common.h:146:16: warning: 'MVS::OPTDENSE::name_fDepthDiffThreshold' defined but not used [-Wunused-variable]
LPCTSTR const name_##name(index_##name()); \
^
/openMVS/libs/MVS/../Common/Common.h:162:55: note: in expansion of macro 'DEFVAR_OPTION'
#define DEFVAR_float(SPACE, name, title, desc, ...) DEFVAR_OPTION(SPACE, CFGITEM::NA, float, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:58:57: note: in expansion of macro 'DEFVAR_float'
#define MDEFVAR_OPTDENSE_float(name, title, desc, ...) DEFVAR_float(OPTDENSE, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:81:1: note: in expansion of macro 'MDEFVAR_OPTDENSE_float'
MDEFVAR_OPTDENSE_float(fDepthDiffThreshold, "Depth Diff Threshold", "maximum variance allowed for the depths during refinement", "0.01")
^
/openMVS/libs/MVS/../Common/Common.h:146:16: warning: 'MVS::OPTDENSE::name_fPairwiseMul' defined but not used [-Wunused-variable]
LPCTSTR const name_##name(index_##name()); \
^
/openMVS/libs/MVS/../Common/Common.h:162:55: note: in expansion of macro 'DEFVAR_OPTION'
#define DEFVAR_float(SPACE, name, title, desc, ...) DEFVAR_OPTION(SPACE, CFGITEM::NA, float, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:58:57: note: in expansion of macro 'DEFVAR_float'
#define MDEFVAR_OPTDENSE_float(name, title, desc, ...) DEFVAR_float(OPTDENSE, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:82:1: note: in expansion of macro 'MDEFVAR_OPTDENSE_float'
MDEFVAR_OPTDENSE_float(fPairwiseMul, "Pairwise Mul", "pairwise cost scale to match the unary cost", "0.3")
^
/openMVS/libs/MVS/../Common/Common.h:146:16: warning: 'MVS::OPTDENSE::name_fOptimizerEps' defined but not used [-Wunused-variable]
LPCTSTR const name_##name(index_##name()); \
^
/openMVS/libs/MVS/../Common/Common.h:162:55: note: in expansion of macro 'DEFVAR_OPTION'
#define DEFVAR_float(SPACE, name, title, desc, ...) DEFVAR_OPTION(SPACE, CFGITEM::NA, float, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:58:57: note: in expansion of macro 'DEFVAR_float'
#define MDEFVAR_OPTDENSE_float(name, title, desc, ...) DEFVAR_float(OPTDENSE, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:83:1: note: in expansion of macro 'MDEFVAR_OPTDENSE_float'
MDEFVAR_OPTDENSE_float(fOptimizerEps, "Optimizer Eps", "MRF optimizer stop epsilon", "0.005")
^
/openMVS/libs/MVS/../Common/Common.h:146:16: warning: 'MVS::OPTDENSE::name_nOptimizerMaxIters' defined but not used [-Wunused-variable]
LPCTSTR const name_##name(index_##name()); \
^
/openMVS/libs/MVS/../Common/Common.h:159:55: note: in expansion of macro 'DEFVAR_OPTION'
#define DEFVAR_int32(SPACE, name, title, desc, ...) DEFVAR_OPTION(SPACE, CFGITEM::NA, int32_t, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:55:57: note: in expansion of macro 'DEFVAR_int32'
#define MDEFVAR_OPTDENSE_int32(name, title, desc, ...) DEFVAR_int32(OPTDENSE, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:84:1: note: in expansion of macro 'MDEFVAR_OPTDENSE_int32'
MDEFVAR_OPTDENSE_int32(nOptimizerMaxIters, "Optimizer Max Iters", "MRF optimizer max number of iterations", "80")
^
/openMVS/libs/MVS/../Common/Common.h:146:16: warning: 'MVS::OPTDENSE::name_nSpeckleSize' defined but not used [-Wunused-variable]
LPCTSTR const name_##name(index_##name()); \
^
/openMVS/libs/MVS/../Common/Common.h:160:55: note: in expansion of macro 'DEFVAR_OPTION'
#define DEFVAR_uint32(SPACE, name, title, desc, ...) DEFVAR_OPTION(SPACE, CFGITEM::NA, uint32_t, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:56:57: note: in expansion of macro 'DEFVAR_uint32'
#define MDEFVAR_OPTDENSE_uint32(name, title, desc, ...) DEFVAR_uint32(OPTDENSE, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:85:1: note: in expansion of macro 'MDEFVAR_OPTDENSE_uint32'
MDEFVAR_OPTDENSE_uint32(nSpeckleSize, "Speckle Size", "maximal size of a speckle (small speckles get removed)", "100")
^
/openMVS/libs/MVS/../Common/Common.h:146:16: warning: 'MVS::OPTDENSE::name_nIpolGapSize' defined but not used [-Wunused-variable]
LPCTSTR const name_##name(index_##name()); \
^
/openMVS/libs/MVS/../Common/Common.h:160:55: note: in expansion of macro 'DEFVAR_OPTION'
#define DEFVAR_uint32(SPACE, name, title, desc, ...) DEFVAR_OPTION(SPACE, CFGITEM::NA, uint32_t, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:56:57: note: in expansion of macro 'DEFVAR_uint32'
#define MDEFVAR_OPTDENSE_uint32(name, title, desc, ...) DEFVAR_uint32(OPTDENSE, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:86:1: note: in expansion of macro 'MDEFVAR_OPTDENSE_uint32'
MDEFVAR_OPTDENSE_uint32(nIpolGapSize, "Interpolate Gap Size", "interpolate small gaps (left<->right, top<->bottom)", "7")
^
/openMVS/libs/MVS/../Common/Common.h:146:16: warning: 'MVS::OPTDENSE::name_nOptimize' defined but not used [-Wunused-variable]
LPCTSTR const name_##name(index_##name()); \
^
/openMVS/libs/MVS/../Common/Common.h:160:55: note: in expansion of macro 'DEFVAR_OPTION'
#define DEFVAR_uint32(SPACE, name, title, desc, ...) DEFVAR_OPTION(SPACE, CFGITEM::NA, uint32_t, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:56:57: note: in expansion of macro 'DEFVAR_uint32'
#define MDEFVAR_OPTDENSE_uint32(name, title, desc, ...) DEFVAR_uint32(OPTDENSE, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:87:1: note: in expansion of macro 'MDEFVAR_OPTDENSE_uint32'
MDEFVAR_OPTDENSE_uint32(nOptimize, "Optimize", "should we filter the extracted depth-maps?", "7") // see OPTIMIZE_FLAGS
^
/openMVS/libs/MVS/../Common/Common.h:146:16: warning: 'MVS::OPTDENSE::name_nEstimateColors' defined but not used [-Wunused-variable]
LPCTSTR const name_##name(index_##name()); \
^
/openMVS/libs/MVS/../Common/Common.h:160:55: note: in expansion of macro 'DEFVAR_OPTION'
#define DEFVAR_uint32(SPACE, name, title, desc, ...) DEFVAR_OPTION(SPACE, CFGITEM::NA, uint32_t, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:56:57: note: in expansion of macro 'DEFVAR_uint32'
#define MDEFVAR_OPTDENSE_uint32(name, title, desc, ...) DEFVAR_uint32(OPTDENSE, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:88:1: note: in expansion of macro 'MDEFVAR_OPTDENSE_uint32'
MDEFVAR_OPTDENSE_uint32(nEstimateColors, "Estimate Colors", "should we estimate the colors for the dense point-cloud?", "1", "0")
^
/openMVS/libs/MVS/../Common/Common.h:146:16: warning: 'MVS::OPTDENSE::name_nEstimateNormals' defined but not used [-Wunused-variable]
LPCTSTR const name_##name(index_##name()); \
^
/openMVS/libs/MVS/../Common/Common.h:160:55: note: in expansion of macro 'DEFVAR_OPTION'
#define DEFVAR_uint32(SPACE, name, title, desc, ...) DEFVAR_OPTION(SPACE, CFGITEM::NA, uint32_t, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:56:57: note: in expansion of macro 'DEFVAR_uint32'
#define MDEFVAR_OPTDENSE_uint32(name, title, desc, ...) DEFVAR_uint32(OPTDENSE, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:89:1: note: in expansion of macro 'MDEFVAR_OPTDENSE_uint32'
MDEFVAR_OPTDENSE_uint32(nEstimateNormals, "Estimate Normals", "should we estimate the normals for the dense point-cloud?", "0", "1", "2")
^
/openMVS/libs/MVS/../Common/Common.h:146:16: warning: 'MVS::OPTDENSE::name_fNCCThresholdKeep' defined but not used [-Wunused-variable]
LPCTSTR const name_##name(index_##name()); \
^
/openMVS/libs/MVS/../Common/Common.h:162:55: note: in expansion of macro 'DEFVAR_OPTION'
#define DEFVAR_float(SPACE, name, title, desc, ...) DEFVAR_OPTION(SPACE, CFGITEM::NA, float, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:58:57: note: in expansion of macro 'DEFVAR_float'
#define MDEFVAR_OPTDENSE_float(name, title, desc, ...) DEFVAR_float(OPTDENSE, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:90:1: note: in expansion of macro 'MDEFVAR_OPTDENSE_float'
MDEFVAR_OPTDENSE_float(fNCCThresholdKeep, "NCC Threshold Keep", "Maximum 1-NCC score accepted for a match", "0.5", "0.3")
^
/openMVS/libs/MVS/../Common/Common.h:146:16: warning: 'MVS::OPTDENSE::name_fNCCThresholdRefine' defined but not used [-Wunused-variable]
LPCTSTR const name_##name(index_##name()); \
^
/openMVS/libs/MVS/../Common/Common.h:162:55: note: in expansion of macro 'DEFVAR_OPTION'
#define DEFVAR_float(SPACE, name, title, desc, ...) DEFVAR_OPTION(SPACE, CFGITEM::NA, float, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:58:57: note: in expansion of macro 'DEFVAR_float'
#define MDEFVAR_OPTDENSE_float(name, title, desc, ...) DEFVAR_float(OPTDENSE, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:91:1: note: in expansion of macro 'MDEFVAR_OPTDENSE_float'
MDEFVAR_OPTDENSE_float(fNCCThresholdRefine, "NCC Threshold Refine", "1-NCC score under which a match is not refined anymore", "0.03")
^
/openMVS/libs/MVS/../Common/Common.h:146:16: warning: 'MVS::OPTDENSE::name_nEstimationIters' defined but not used [-Wunused-variable]
LPCTSTR const name_##name(index_##name()); \
^
/openMVS/libs/MVS/../Common/Common.h:160:55: note: in expansion of macro 'DEFVAR_OPTION'
#define DEFVAR_uint32(SPACE, name, title, desc, ...) DEFVAR_OPTION(SPACE, CFGITEM::NA, uint32_t, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:56:57: note: in expansion of macro 'DEFVAR_uint32'
#define MDEFVAR_OPTDENSE_uint32(name, title, desc, ...) DEFVAR_uint32(OPTDENSE, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:92:1: note: in expansion of macro 'MDEFVAR_OPTDENSE_uint32'
MDEFVAR_OPTDENSE_uint32(nEstimationIters, "Estimation Iters", "Number of iterations for depth-map refinement", "3")
^
/openMVS/libs/MVS/../Common/Common.h:146:16: warning: 'MVS::OPTDENSE::name_nRandomIters' defined but not used [-Wunused-variable]
LPCTSTR const name_##name(index_##name()); \
^
/openMVS/libs/MVS/../Common/Common.h:160:55: note: in expansion of macro 'DEFVAR_OPTION'
#define DEFVAR_uint32(SPACE, name, title, desc, ...) DEFVAR_OPTION(SPACE, CFGITEM::NA, uint32_t, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:56:57: note: in expansion of macro 'DEFVAR_uint32'
#define MDEFVAR_OPTDENSE_uint32(name, title, desc, ...) DEFVAR_uint32(OPTDENSE, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:93:1: note: in expansion of macro 'MDEFVAR_OPTDENSE_uint32'
MDEFVAR_OPTDENSE_uint32(nRandomIters, "Random Iters", "Number of iterations for random assignment per pixel", "6")
^
/openMVS/libs/MVS/../Common/Common.h:146:16: warning: 'MVS::OPTDENSE::name_nRandomMaxScale' defined but not used [-Wunused-variable]
LPCTSTR const name_##name(index_##name()); \
^
/openMVS/libs/MVS/../Common/Common.h:160:55: note: in expansion of macro 'DEFVAR_OPTION'
#define DEFVAR_uint32(SPACE, name, title, desc, ...) DEFVAR_OPTION(SPACE, CFGITEM::NA, uint32_t, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:56:57: note: in expansion of macro 'DEFVAR_uint32'
#define MDEFVAR_OPTDENSE_uint32(name, title, desc, ...) DEFVAR_uint32(OPTDENSE, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:94:1: note: in expansion of macro 'MDEFVAR_OPTDENSE_uint32'
MDEFVAR_OPTDENSE_uint32(nRandomMaxScale, "Random Max Scale", "Maximum number of iterations to skip during random assignment", "2")
^
/openMVS/libs/MVS/../Common/Common.h:146:16: warning: 'MVS::OPTDENSE::name_fRandomDepthRatio' defined but not used [-Wunused-variable]
LPCTSTR const name_##name(index_##name()); \
^
/openMVS/libs/MVS/../Common/Common.h:162:55: note: in expansion of macro 'DEFVAR_OPTION'
#define DEFVAR_float(SPACE, name, title, desc, ...) DEFVAR_OPTION(SPACE, CFGITEM::NA, float, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:58:57: note: in expansion of macro 'DEFVAR_float'
#define MDEFVAR_OPTDENSE_float(name, title, desc, ...) DEFVAR_float(OPTDENSE, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:95:1: note: in expansion of macro 'MDEFVAR_OPTDENSE_float'
MDEFVAR_OPTDENSE_float(fRandomDepthRatio, "Random Depth Ratio", "Depth range ratio of the current estimate for random plane assignment", "0.01")
^
/openMVS/libs/MVS/../Common/Common.h:146:16: warning: 'MVS::OPTDENSE::name_fRandomAngle1Range' defined but not used [-Wunused-variable]
LPCTSTR const name_##name(index_##name()); \
^
/openMVS/libs/MVS/../Common/Common.h:162:55: note: in expansion of macro 'DEFVAR_OPTION'
#define DEFVAR_float(SPACE, name, title, desc, ...) DEFVAR_OPTION(SPACE, CFGITEM::NA, float, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:58:57: note: in expansion of macro 'DEFVAR_float'
#define MDEFVAR_OPTDENSE_float(name, title, desc, ...) DEFVAR_float(OPTDENSE, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:96:1: note: in expansion of macro 'MDEFVAR_OPTDENSE_float'
MDEFVAR_OPTDENSE_float(fRandomAngle1Range, "Random Angle1 Range", "Angle 1 range for random plane assignment (in degrees)", "90.0")
^
/openMVS/libs/MVS/../Common/Common.h:146:16: warning: 'MVS::OPTDENSE::name_fRandomAngle2Range' defined but not used [-Wunused-variable]
LPCTSTR const name_##name(index_##name()); \
^
/openMVS/libs/MVS/../Common/Common.h:162:55: note: in expansion of macro 'DEFVAR_OPTION'
#define DEFVAR_float(SPACE, name, title, desc, ...) DEFVAR_OPTION(SPACE, CFGITEM::NA, float, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:58:57: note: in expansion of macro 'DEFVAR_float'
#define MDEFVAR_OPTDENSE_float(name, title, desc, ...) DEFVAR_float(OPTDENSE, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:97:1: note: in expansion of macro 'MDEFVAR_OPTDENSE_float'
MDEFVAR_OPTDENSE_float(fRandomAngle2Range, "Random Angle2 Range", "Angle 2 range for random plane assignment (in degrees)", "15.0")
^
/openMVS/libs/MVS/../Common/Common.h:146:16: warning: 'MVS::OPTDENSE::name_fRandomSmoothDepth' defined but not used [-Wunused-variable]
LPCTSTR const name_##name(index_##name()); \
^
/openMVS/libs/MVS/../Common/Common.h:162:55: note: in expansion of macro 'DEFVAR_OPTION'
#define DEFVAR_float(SPACE, name, title, desc, ...) DEFVAR_OPTION(SPACE, CFGITEM::NA, float, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:58:57: note: in expansion of macro 'DEFVAR_float'
#define MDEFVAR_OPTDENSE_float(name, title, desc, ...) DEFVAR_float(OPTDENSE, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:98:1: note: in expansion of macro 'MDEFVAR_OPTDENSE_float'
MDEFVAR_OPTDENSE_float(fRandomSmoothDepth, "Random Smooth Depth", "Depth variance used during neighbor smoothness assignment", "0.005")
^
/openMVS/libs/MVS/../Common/Common.h:146:16: warning: 'MVS::OPTDENSE::name_fRandomSmoothNormal' defined but not used [-Wunused-variable]
LPCTSTR const name_##name(index_##name()); \
^
/openMVS/libs/MVS/../Common/Common.h:162:55: note: in expansion of macro 'DEFVAR_OPTION'
#define DEFVAR_float(SPACE, name, title, desc, ...) DEFVAR_OPTION(SPACE, CFGITEM::NA, float, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:58:57: note: in expansion of macro 'DEFVAR_float'
#define MDEFVAR_OPTDENSE_float(name, title, desc, ...) DEFVAR_float(OPTDENSE, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:99:1: note: in expansion of macro 'MDEFVAR_OPTDENSE_float'
MDEFVAR_OPTDENSE_float(fRandomSmoothNormal, "Random Smooth Normal", "Normal variance used during neighbor smoothness assignment (in degrees)", "8.5")
^
/openMVS/libs/MVS/../Common/Common.h:146:16: warning: 'MVS::OPTDENSE::name_fRandomSmoothBonus' defined but not used [-Wunused-variable]
LPCTSTR const name_##name(index_##name()); \
^
/openMVS/libs/MVS/../Common/Common.h:162:55: note: in expansion of macro 'DEFVAR_OPTION'
#define DEFVAR_float(SPACE, name, title, desc, ...) DEFVAR_OPTION(SPACE, CFGITEM::NA, float, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:58:57: note: in expansion of macro 'DEFVAR_float'
#define MDEFVAR_OPTDENSE_float(name, title, desc, ...) DEFVAR_float(OPTDENSE, name, title, desc, __VA_ARGS__)
^
/openMVS/libs/MVS/DepthMap.cpp:100:1: note: in expansion of macro 'MDEFVAR_OPTDENSE_float'
MDEFVAR_OPTDENSE_float(fRandomSmoothBonus, "Random Smooth Bonus", "Score factor used to encourage smoothness (1 - disabled)", "0.92")
^
[ 72%] Building CXX object libs/MVS/CMakeFiles/MVS.dir/PointCloud.cpp.o
In file included from /usr/include/c++/5/ext/hash_map:60:0,
from /vcglib/vcg/space/index/spatial_hashing.h:45,
from /vcglib/vcg/complex/algorithms/clean.h:33,
from /vcglib/vcg/complex/algorithms/create/platonic.h:32,
from /openMVS/libs/MVS/Mesh.cpp:45:
/usr/include/c++/5/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
#warning \
^
In file included from /openMVS/libs/MVS/../Common/Types.h:357:0,
from /openMVS/libs/MVS/../Common/Common.h:176,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/PointCloud.cpp:32:
/openMVS/libs/MVS/../Common/HalfFloat.h: In static member function 'static short int SEACAVE::hfloat::fromFloat(float)':
/openMVS/libs/MVS/../Common/HalfFloat.h:62:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
const int& fltInt32((int&)fv);
^
/openMVS/libs/MVS/../Common/HalfFloat.h: In static member function 'static float SEACAVE::hfloat::toFloat(short int)':
/openMVS/libs/MVS/../Common/HalfFloat.h:70:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return (float&)fltInt32;
^
In file included from /openMVS/libs/MVS/../Common/Types.h:405:0,
from /openMVS/libs/MVS/../Common/Common.h:176,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/PointCloud.cpp:32:
/openMVS/libs/MVS/../Common/SML.h: In destructor 'SEACAVE::SMLVALUE_TYPE::~SMLVALUE_TYPE()':
/openMVS/libs/MVS/../Common/SML.h:29:28: warning: deleting 'void*' is undefined [-Wdelete-incomplete]
~SMLVALUE_TYPE() { delete data; }
^
In file included from /openMVS/libs/MVS/../Common/Common.h:176:0,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/PointCloud.cpp:32:
/openMVS/libs/MVS/../Common/Types.h: In function 'float SEACAVE::cbrt5(float)':
/openMVS/libs/MVS/../Common/Types.h:715:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/MVS/../Common/Types.h:715:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'int SEACAVE::Float::Floor2Int() const':
/openMVS/libs/MVS/../Common/Types.h:1156:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Floor2Int() const { const double d((double)v.f + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'int SEACAVE::Float::Ceil2Int() const':
/openMVS/libs/MVS/../Common/Types.h:1159:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Ceil2Int() const { const double d((double)v.f + 1.0 + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
In file included from /openMVS/libs/MVS/../Common/Common.h:176:0,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/PointCloud.cpp:32:
/openMVS/libs/MVS/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator==(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/MVS/../Common/Types.h:2025:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h:2025:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator!=(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/MVS/../Common/Types.h:2026:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h:2026:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'uint32_t SEACAVE::TColor<TYPE>::toDWORD() const [with TYPE = unsigned char; uint32_t = unsigned int]':
/openMVS/libs/MVS/../Common/Types.h:2027:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline uint32_t TColor<uint8_t>::toDWORD() const { return *((const uint32_t*)c); }
^
In file included from /openMVS/libs/MVS/../Common/Types.h:357:0,
from /openMVS/libs/MVS/../Common/Common.h:176,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/Mesh.cpp:32:
/openMVS/libs/MVS/../Common/HalfFloat.h: In static member function 'static short int SEACAVE::hfloat::fromFloat(float)':
/openMVS/libs/MVS/../Common/HalfFloat.h:62:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
const int& fltInt32((int&)fv);
^
/openMVS/libs/MVS/../Common/HalfFloat.h: In static member function 'static float SEACAVE::hfloat::toFloat(short int)':
/openMVS/libs/MVS/../Common/HalfFloat.h:70:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return (float&)fltInt32;
^
In file included from /openMVS/libs/MVS/../Common/Types.h:405:0,
from /openMVS/libs/MVS/../Common/Common.h:176,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/Mesh.cpp:32:
/openMVS/libs/MVS/../Common/SML.h: In destructor 'SEACAVE::SMLVALUE_TYPE::~SMLVALUE_TYPE()':
/openMVS/libs/MVS/../Common/SML.h:29:28: warning: deleting 'void*' is undefined [-Wdelete-incomplete]
~SMLVALUE_TYPE() { delete data; }
^
In file included from /openMVS/libs/MVS/../Common/Common.h:176:0,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/Mesh.cpp:32:
/openMVS/libs/MVS/../Common/Types.h: In function 'float SEACAVE::cbrt5(float)':
/openMVS/libs/MVS/../Common/Types.h:715:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/MVS/../Common/Types.h:715:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'int SEACAVE::Float::Floor2Int() const':
/openMVS/libs/MVS/../Common/Types.h:1156:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Floor2Int() const { const double d((double)v.f + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'int SEACAVE::Float::Ceil2Int() const':
/openMVS/libs/MVS/../Common/Types.h:1159:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Ceil2Int() const { const double d((double)v.f + 1.0 + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
In file included from /openMVS/libs/MVS/../Common/Common.h:176:0,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/Mesh.cpp:32:
/openMVS/libs/MVS/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator==(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/MVS/../Common/Types.h:2025:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h:2025:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator!=(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/MVS/../Common/Types.h:2026:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h:2026:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'uint32_t SEACAVE::TColor<TYPE>::toDWORD() const [with TYPE = unsigned char; uint32_t = unsigned int]':
/openMVS/libs/MVS/../Common/Types.h:2027:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline uint32_t TColor<uint8_t>::toDWORD() const { return *((const uint32_t*)c); }
^
[ 74%] Building CXX object libs/MVS/CMakeFiles/MVS.dir/SceneDensify.cpp.o
/openMVS/libs/MVS/Mesh.cpp: In member function 'void MVS::Mesh::Clean(float, float, bool, unsigned int, unsigned int, bool)':
/openMVS/libs/MVS/Mesh.cpp:1092:5: error: 'JumpingPos' is not a member of 'vcg::face'
vcg::face::JumpingPos<CLEAN::Face> p(start, vi->cVFi(), &*vi);
^
/openMVS/libs/MVS/Mesh.cpp:1092:38: error: expected primary-expression before '>' token
vcg::face::JumpingPos<CLEAN::Face> p(start, vi->cVFi(), &*vi);
^
/openMVS/libs/MVS/Mesh.cpp:1092:65: error: 'p' was not declared in this scope
vcg::face::JumpingPos<CLEAN::Face> p(start, vi->cVFi(), &*vi);
^
/openMVS/libs/MVS/Mesh.cpp: In member function 'bool MVS::Mesh::ProjectOrtho(const MVS::Camera&, MVS::DepthMap&) const::RasterMesh::ProjectVertex(const Vertex&, int)':
/openMVS/libs/MVS/Mesh.cpp:3463:58: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
pti[v] = camera.TransformPointC2I((const Point2&)ptc[v]);
^
/openMVS/libs/MVS/Mesh.cpp: In member function 'bool MVS::Mesh::ProjectOrtho(const MVS::Camera&, MVS::DepthMap&, SEACAVE::Image8U3&) const::RasterMesh::ProjectVertex(const Vertex&, int)':
/openMVS/libs/MVS/Mesh.cpp:3499:58: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
pti[v] = camera.TransformPointC2I((const Point2&)ptc[v]);
^
In file included from /openMVS/libs/MVS/../Common/Types.h:2710:0,
from /openMVS/libs/MVS/../Common/Common.h:176,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/Mesh.cpp:32:
/openMVS/libs/MVS/../Common/Types.inl: In instantiation of 'bool SEACAVE::TImage<TYPE>::Save(const SEACAVE::String&) const [with TYPE = SEACAVE::TPixel<unsigned char>]':
/openMVS/libs/MVS/Mesh.cpp:1495:39: required from here
/openMVS/libs/MVS/../Common/Types.inl:2656:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
static const bool is_little_endian = (*((float*)b) < 1.f);
^
In file included from /openMVS/libs/MVS/Mesh.cpp:49:0:
/vcglib/vcg/complex/algorithms/hole.h: In instantiation of 'bool vcg::tri::SelfIntersectionEar<MESH>::Close(vcg::tri::SelfIntersectionEar<MESH>::PosType&, vcg::tri::SelfIntersectionEar<MESH>::PosType&, vcg::tri::SelfIntersectionEar<MESH>::FacePointer) [with MESH = CLEAN::Mesh; vcg::tri::SelfIntersectionEar<MESH>::PosType = vcg::face::Pos<CLEAN::Face>; typename MeshType::FaceType = CLEAN::Face; vcg::tri::SelfIntersectionEar<MESH>::FacePointer = CLEAN::Face*]':
/vcglib/vcg/complex/algorithms/hole.h:464:11: required from 'static void vcg::tri::Hole<MESH>::FillHoleEar(MESH&, vcg::tri::Hole<MESH>::Info&, std::vector<typename MeshType::FacePointer*>&) [with EAR = vcg::tri::SelfIntersectionEar<CLEAN::Mesh>; MESH = CLEAN::Mesh; typename MeshType::FacePointer = CLEAN::Face*]'
/vcglib/vcg/complex/algorithms/hole.h:558:28: required from 'static int vcg::tri::Hole<MESH>::EarCuttingIntersectionFill(MESH&, int, bool, bool (*)(int, const char*)) [with EAR = vcg::tri::SelfIntersectionEar<CLEAN::Mesh>; MESH = CLEAN::Mesh; vcg::CallBackPos = bool(int, const char*)]'
/openMVS/libs/MVS/Mesh.cpp:1128:152: required from here
/vcglib/vcg/complex/algorithms/hole.h:305:16: warning: unused variable 'ret' [-Wunused-variable]
bool ret=face::FindSharedEdge(f,*it,e0,e1);
^
In file included from /openMVS/libs/MVS/../Common/Types.h:357:0,
from /openMVS/libs/MVS/../Common/Common.h:176,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/SceneDensify.cpp:32:
/openMVS/libs/MVS/../Common/HalfFloat.h: In static member function 'static short int SEACAVE::hfloat::fromFloat(float)':
/openMVS/libs/MVS/../Common/HalfFloat.h:62:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
const int& fltInt32((int&)fv);
^
/openMVS/libs/MVS/../Common/HalfFloat.h: In static member function 'static float SEACAVE::hfloat::toFloat(short int)':
/openMVS/libs/MVS/../Common/HalfFloat.h:70:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return (float&)fltInt32;
^
In file included from /openMVS/libs/MVS/../Common/Types.h:405:0,
from /openMVS/libs/MVS/../Common/Common.h:176,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/SceneDensify.cpp:32:
/openMVS/libs/MVS/../Common/SML.h: In destructor 'SEACAVE::SMLVALUE_TYPE::~SMLVALUE_TYPE()':
/openMVS/libs/MVS/../Common/SML.h:29:28: warning: deleting 'void*' is undefined [-Wdelete-incomplete]
~SMLVALUE_TYPE() { delete data; }
^
In file included from /openMVS/libs/MVS/../Common/Common.h:176:0,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/SceneDensify.cpp:32:
/openMVS/libs/MVS/../Common/Types.h: In function 'float SEACAVE::cbrt5(float)':
/openMVS/libs/MVS/../Common/Types.h:715:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/MVS/../Common/Types.h:715:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'int SEACAVE::Float::Floor2Int() const':
/openMVS/libs/MVS/../Common/Types.h:1156:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Floor2Int() const { const double d((double)v.f + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'int SEACAVE::Float::Ceil2Int() const':
/openMVS/libs/MVS/../Common/Types.h:1159:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Ceil2Int() const { const double d((double)v.f + 1.0 + FLOOR_FIX); return (*(int*)&d) >> 16; }
^
In file included from /openMVS/libs/MVS/../Common/Common.h:176:0,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/SceneDensify.cpp:32:
/openMVS/libs/MVS/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator==(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/MVS/../Common/Types.h:2025:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h:2025:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator==(const TColor& col) const { return (*((const uint32_t*)c) == *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'bool SEACAVE::TColor<TYPE>::operator!=(const SEACAVE::TColor<TYPE>&) const [with TYPE = unsigned char]':
/openMVS/libs/MVS/../Common/Types.h:2026:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h:2026:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor<uint8_t>::operator!=(const TColor& col) const { return (*((const uint32_t*)c) != *((const uint32_t*)col.c)); }
^
/openMVS/libs/MVS/../Common/Types.h: In member function 'uint32_t SEACAVE::TColor<TYPE>::toDWORD() const [with TYPE = unsigned char; uint32_t = unsigned int]':
/openMVS/libs/MVS/../Common/Types.h:2027:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline uint32_t TColor<uint8_t>::toDWORD() const { return *((const uint32_t*)c); }
^
In file included from /openMVS/libs/MVS/../Math/TRWS/instances.h:12:0,
from /openMVS/libs/MVS/../Math/TRWS/MRFEnergy.h:11,
from /openMVS/libs/MVS/SceneDensify.cpp:35:
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h: At global scope:
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:246:58: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline int TypeBinary::Vector::GetSizeInBytes(GlobalSize Kglobal, LocalSize K)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:246:77: warning: unused parameter 'K' [-Wunused-parameter]
inline int TypeBinary::Vector::GetSizeInBytes(GlobalSize Kglobal, LocalSize K)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:250:55: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline void TypeBinary::Vector::Initialize(GlobalSize Kglobal, LocalSize K, NodeData data)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:250:74: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypeBinary::Vector::Initialize(GlobalSize Kglobal, LocalSize K, NodeData data)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:256:48: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline void TypeBinary::Vector::Add(GlobalSize Kglobal, LocalSize K, NodeData data)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:256:67: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypeBinary::Vector::Add(GlobalSize Kglobal, LocalSize K, NodeData data)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:262:52: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline void TypeBinary::Vector::SetZero(GlobalSize Kglobal, LocalSize K)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:262:71: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypeBinary::Vector::SetZero(GlobalSize Kglobal, LocalSize K)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:268:49: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline void TypeBinary::Vector::Copy(GlobalSize Kglobal, LocalSize K, Vector* V)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:268:68: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypeBinary::Vector::Copy(GlobalSize Kglobal, LocalSize K, Vector* V)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:274:48: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline void TypeBinary::Vector::Add(GlobalSize Kglobal, LocalSize K, Vector* V)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:274:67: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypeBinary::Vector::Add(GlobalSize Kglobal, LocalSize K, Vector* V)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:280:65: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline TypeBinary::REAL TypeBinary::Vector::GetValue(GlobalSize Kglobal, LocalSize K, Label k)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:280:84: warning: unused parameter 'K' [-Wunused-parameter]
inline TypeBinary::REAL TypeBinary::Vector::GetValue(GlobalSize Kglobal, LocalSize K, Label k)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:286:67: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline TypeBinary::REAL TypeBinary::Vector::ComputeMin(GlobalSize Kglobal, LocalSize K, Label& kMin)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:286:86: warning: unused parameter 'K' [-Wunused-parameter]
inline TypeBinary::REAL TypeBinary::Vector::ComputeMin(GlobalSize Kglobal, LocalSize K, Label& kMin)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:292:78: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline TypeBinary::REAL TypeBinary::Vector::ComputeAndSubtractMin(GlobalSize Kglobal, LocalSize K)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:292:97: warning: unused parameter 'K' [-Wunused-parameter]
inline TypeBinary::REAL TypeBinary::Vector::ComputeAndSubtractMin(GlobalSize Kglobal, LocalSize K)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:312:56: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline int TypeBinary::Vector::GetArraySize(GlobalSize Kglobal, LocalSize K)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:312:75: warning: unused parameter 'K' [-Wunused-parameter]
inline int TypeBinary::Vector::GetArraySize(GlobalSize Kglobal, LocalSize K)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:317:70: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline TypeBinary::REAL TypeBinary::Vector::GetArrayValue(GlobalSize Kglobal, LocalSize K, int k)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:317:89: warning: unused parameter 'K' [-Wunused-parameter]
inline TypeBinary::REAL TypeBinary::Vector::GetArrayValue(GlobalSize Kglobal, LocalSize K, int k)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:323:58: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline void TypeBinary::Vector::SetArrayValue(GlobalSize Kglobal, LocalSize K, int k, REAL x)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:323:77: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypeBinary::Vector::SetArrayValue(GlobalSize Kglobal, LocalSize K, int k, REAL x)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:331:56: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline int TypeBinary::Edge::GetSizeInBytes(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:331:75: warning: unused parameter 'Ki' [-Wunused-parameter]
inline int TypeBinary::Edge::GetSizeInBytes(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:331:89: warning: unused parameter 'Kj' [-Wunused-parameter]
inline int TypeBinary::Edge::GetSizeInBytes(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:331:102: warning: unused parameter 'data' [-Wunused-parameter]
inline int TypeBinary::Edge::GetSizeInBytes(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:336:52: warning: unused parameter 'vectorMaxSizeInBytes' [-Wunused-parameter]
inline int TypeBinary::Edge::GetBufSizeInBytes(int vectorMaxSizeInBytes)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:341:53: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline void TypeBinary::Edge::Initialize(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data, Vector* Di, Vector* Dj)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:341:72: warning: unused parameter 'Ki' [-Wunused-parameter]
inline void TypeBinary::Edge::Initialize(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data, Vector* Di, Vector* Dj)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:341:86: warning: unused parameter 'Kj' [-Wunused-parameter]
inline void TypeBinary::Edge::Initialize(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data, Vector* Di, Vector* Dj)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:363:47: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline void TypeBinary::Edge::Swap(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:363:66: warning: unused parameter 'Ki' [-Wunused-parameter]
inline void TypeBinary::Edge::Swap(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:363:80: warning: unused parameter 'Kj' [-Wunused-parameter]
inline void TypeBinary::Edge::Swap(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:367:68: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline TypeBinary::REAL TypeBinary::Edge::UpdateMessage(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Vector* source, REAL gamma, int dir, void* buf)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:367:87: warning: unused parameter 'Ksource' [-Wunused-parameter]
inline TypeBinary::REAL TypeBinary::Edge::UpdateMessage(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Vector* source, REAL gamma, int dir, void* buf)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:367:106: warning: unused parameter 'Kdest' [-Wunused-parameter]
inline TypeBinary::REAL TypeBinary::Edge::UpdateMessage(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Vector* source, REAL gamma, int dir, void* buf)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:367:145: warning: unused parameter 'dir' [-Wunused-parameter]
inline TypeBinary::REAL TypeBinary::Edge::UpdateMessage(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Vector* source, REAL gamma, int dir, void* buf)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:367:156: warning: unused parameter 'buf' [-Wunused-parameter]
inline TypeBinary::REAL TypeBinary::Edge::UpdateMessage(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Vector* source, REAL gamma, int dir, void* buf)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:385:52: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline void TypeBinary::Edge::AddColumn(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Label ksource, Vector* dest, int dir)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:385:71: warning: unused parameter 'Ksource' [-Wunused-parameter]
inline void TypeBinary::Edge::AddColumn(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Label ksource, Vector* dest, int dir)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:385:90: warning: unused parameter 'Kdest' [-Wunused-parameter]
inline void TypeBinary::Edge::AddColumn(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Label ksource, Vector* dest, int dir)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinary.h:385:130: warning: unused parameter 'dir' [-Wunused-parameter]
inline void TypeBinary::Edge::AddColumn(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Label ksource, Vector* dest, int dir)
^
In file included from /openMVS/libs/MVS/../Math/TRWS/instances.h:13:0,
from /openMVS/libs/MVS/../Math/TRWS/MRFEnergy.h:11,
from /openMVS/libs/MVS/SceneDensify.cpp:35:
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:183:62: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline int TypeBinaryFast::Vector::GetSizeInBytes(GlobalSize Kglobal, LocalSize K)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:183:81: warning: unused parameter 'K' [-Wunused-parameter]
inline int TypeBinaryFast::Vector::GetSizeInBytes(GlobalSize Kglobal, LocalSize K)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:187:59: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline void TypeBinaryFast::Vector::Initialize(GlobalSize Kglobal, LocalSize K, NodeData data)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:187:78: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypeBinaryFast::Vector::Initialize(GlobalSize Kglobal, LocalSize K, NodeData data)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:192:52: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline void TypeBinaryFast::Vector::Add(GlobalSize Kglobal, LocalSize K, NodeData data)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:192:71: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypeBinaryFast::Vector::Add(GlobalSize Kglobal, LocalSize K, NodeData data)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:197:56: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline void TypeBinaryFast::Vector::SetZero(GlobalSize Kglobal, LocalSize K)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:197:75: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypeBinaryFast::Vector::SetZero(GlobalSize Kglobal, LocalSize K)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:202:53: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline void TypeBinaryFast::Vector::Copy(GlobalSize Kglobal, LocalSize K, Vector* V)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:202:72: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypeBinaryFast::Vector::Copy(GlobalSize Kglobal, LocalSize K, Vector* V)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:207:52: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline void TypeBinaryFast::Vector::Add(GlobalSize Kglobal, LocalSize K, Vector* V)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:207:71: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypeBinaryFast::Vector::Add(GlobalSize Kglobal, LocalSize K, Vector* V)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:212:73: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline TypeBinaryFast::REAL TypeBinaryFast::Vector::GetValue(GlobalSize Kglobal, LocalSize K, Label k)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:212:92: warning: unused parameter 'K' [-Wunused-parameter]
inline TypeBinaryFast::REAL TypeBinaryFast::Vector::GetValue(GlobalSize Kglobal, LocalSize K, Label k)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:218:75: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline TypeBinaryFast::REAL TypeBinaryFast::Vector::ComputeMin(GlobalSize Kglobal, LocalSize K, Label& kMin)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:218:94: warning: unused parameter 'K' [-Wunused-parameter]
inline TypeBinaryFast::REAL TypeBinaryFast::Vector::ComputeMin(GlobalSize Kglobal, LocalSize K, Label& kMin)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:224:86: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline TypeBinaryFast::REAL TypeBinaryFast::Vector::ComputeAndSubtractMin(GlobalSize Kglobal, LocalSize K)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:224:105: warning: unused parameter 'K' [-Wunused-parameter]
inline TypeBinaryFast::REAL TypeBinaryFast::Vector::ComputeAndSubtractMin(GlobalSize Kglobal, LocalSize K)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:229:60: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline int TypeBinaryFast::Vector::GetArraySize(GlobalSize Kglobal, LocalSize K)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:229:79: warning: unused parameter 'K' [-Wunused-parameter]
inline int TypeBinaryFast::Vector::GetArraySize(GlobalSize Kglobal, LocalSize K)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:234:78: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline TypeBinaryFast::REAL TypeBinaryFast::Vector::GetArrayValue(GlobalSize Kglobal, LocalSize K, int k)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:234:97: warning: unused parameter 'K' [-Wunused-parameter]
inline TypeBinaryFast::REAL TypeBinaryFast::Vector::GetArrayValue(GlobalSize Kglobal, LocalSize K, int k)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:234:104: warning: unused parameter 'k' [-Wunused-parameter]
inline TypeBinaryFast::REAL TypeBinaryFast::Vector::GetArrayValue(GlobalSize Kglobal, LocalSize K, int k)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:240:62: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline void TypeBinaryFast::Vector::SetArrayValue(GlobalSize Kglobal, LocalSize K, int k, REAL x)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:240:81: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypeBinaryFast::Vector::SetArrayValue(GlobalSize Kglobal, LocalSize K, int k, REAL x)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:240:88: warning: unused parameter 'k' [-Wunused-parameter]
inline void TypeBinaryFast::Vector::SetArrayValue(GlobalSize Kglobal, LocalSize K, int k, REAL x)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:248:60: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline int TypeBinaryFast::Edge::GetSizeInBytes(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:248:79: warning: unused parameter 'Ki' [-Wunused-parameter]
inline int TypeBinaryFast::Edge::GetSizeInBytes(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:248:93: warning: unused parameter 'Kj' [-Wunused-parameter]
inline int TypeBinaryFast::Edge::GetSizeInBytes(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:248:106: warning: unused parameter 'data' [-Wunused-parameter]
inline int TypeBinaryFast::Edge::GetSizeInBytes(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:253:56: warning: unused parameter 'vectorMaxSizeInBytes' [-Wunused-parameter]
inline int TypeBinaryFast::Edge::GetBufSizeInBytes(int vectorMaxSizeInBytes)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:258:57: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline void TypeBinaryFast::Edge::Initialize(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data, Vector* Di, Vector* Dj)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:258:76: warning: unused parameter 'Ki' [-Wunused-parameter]
inline void TypeBinaryFast::Edge::Initialize(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data, Vector* Di, Vector* Dj)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:258:90: warning: unused parameter 'Kj' [-Wunused-parameter]
inline void TypeBinaryFast::Edge::Initialize(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data, Vector* Di, Vector* Dj)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:278:51: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline void TypeBinaryFast::Edge::Swap(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:278:70: warning: unused parameter 'Ki' [-Wunused-parameter]
inline void TypeBinaryFast::Edge::Swap(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:278:84: warning: unused parameter 'Kj' [-Wunused-parameter]
inline void TypeBinaryFast::Edge::Swap(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:282:76: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline TypeBinaryFast::REAL TypeBinaryFast::Edge::UpdateMessage(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Vector* source, REAL gamma, int dir, voi
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:282:95: warning: unused parameter 'Ksource' [-Wunused-parameter]
inline TypeBinaryFast::REAL TypeBinaryFast::Edge::UpdateMessage(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Vector* source, REAL gamma, int dir, voi
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:282:114: warning: unused parameter 'Kdest' [-Wunused-parameter]
inline TypeBinaryFast::REAL TypeBinaryFast::Edge::UpdateMessage(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Vector* source, REAL gamma, int dir, voi
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:282:153: warning: unused parameter 'dir' [-Wunused-parameter]
ine TypeBinaryFast::REAL TypeBinaryFast::Edge::UpdateMessage(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Vector* source, REAL gamma, int dir, void*
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:282:164: warning: unused parameter 'buf' [-Wunused-parameter]
TypeBinaryFast::REAL TypeBinaryFast::Edge::UpdateMessage(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Vector* source, REAL gamma, int dir, void* buf)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:302:56: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline void TypeBinaryFast::Edge::AddColumn(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Label ksource, Vector* dest, int dir)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:302:75: warning: unused parameter 'Ksource' [-Wunused-parameter]
inline void TypeBinaryFast::Edge::AddColumn(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Label ksource, Vector* dest, int dir)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:302:94: warning: unused parameter 'Kdest' [-Wunused-parameter]
inline void TypeBinaryFast::Edge::AddColumn(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Label ksource, Vector* dest, int dir)
^
/openMVS/libs/MVS/../Math/TRWS/typeBinaryFast.h:302:134: warning: unused parameter 'dir' [-Wunused-parameter]
inline void TypeBinaryFast::Edge::AddColumn(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Label ksource, Vector* dest, int dir)
^
In file included from /openMVS/libs/MVS/../Math/TRWS/instances.h:14:0,
from /openMVS/libs/MVS/../Math/TRWS/MRFEnergy.h:11,
from /openMVS/libs/MVS/SceneDensify.cpp:35:
/openMVS/libs/MVS/../Math/TRWS/typePotts.h:269:76: warning: unused parameter 'K' [-Wunused-parameter]
inline int TypePotts::Vector::GetSizeInBytes(GlobalSize Kglobal, LocalSize K)
^
/openMVS/libs/MVS/../Math/TRWS/typePotts.h:277:73: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypePotts::Vector::Initialize(GlobalSize Kglobal, LocalSize K, NodeData data)
^
/openMVS/libs/MVS/../Math/TRWS/typePotts.h:282:66: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypePotts::Vector::Add(GlobalSize Kglobal, LocalSize K, NodeData data)
^
/openMVS/libs/MVS/../Math/TRWS/typePotts.h:290:70: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypePotts::Vector::SetZero(GlobalSize Kglobal, LocalSize K)
^
/openMVS/libs/MVS/../Math/TRWS/typePotts.h:295:67: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypePotts::Vector::Copy(GlobalSize Kglobal, LocalSize K, Vector* V)
^
/openMVS/libs/MVS/../Math/TRWS/typePotts.h:300:66: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypePotts::Vector::Add(GlobalSize Kglobal, LocalSize K, Vector* V)
^
/openMVS/libs/MVS/../Math/TRWS/typePotts.h:308:63: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline TypePotts::REAL TypePotts::Vector::GetValue(GlobalSize Kglobal, LocalSize K, Label k)
^
/openMVS/libs/MVS/../Math/TRWS/typePotts.h:308:82: warning: unused parameter 'K' [-Wunused-parameter]
inline TypePotts::REAL TypePotts::Vector::GetValue(GlobalSize Kglobal, LocalSize K, Label k)
^
/openMVS/libs/MVS/../Math/TRWS/typePotts.h:314:84: warning: unused parameter 'K' [-Wunused-parameter]
inline TypePotts::REAL TypePotts::Vector::ComputeMin(GlobalSize Kglobal, LocalSize K, Label& kMin)
^
/openMVS/libs/MVS/../Math/TRWS/typePotts.h:330:95: warning: unused parameter 'K' [-Wunused-parameter]
inline TypePotts::REAL TypePotts::Vector::ComputeAndSubtractMin(GlobalSize Kglobal, LocalSize K)
^
/openMVS/libs/MVS/../Math/TRWS/typePotts.h:348:74: warning: unused parameter 'K' [-Wunused-parameter]
inline int TypePotts::Vector::GetArraySize(GlobalSize Kglobal, LocalSize K)
^
/openMVS/libs/MVS/../Math/TRWS/typePotts.h:353:68: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline TypePotts::REAL TypePotts::Vector::GetArrayValue(GlobalSize Kglobal, LocalSize K, int k)
^
/openMVS/libs/MVS/../Math/TRWS/typePotts.h:353:87: warning: unused parameter 'K' [-Wunused-parameter]
inline TypePotts::REAL TypePotts::Vector::GetArrayValue(GlobalSize Kglobal, LocalSize K, int k)
^
/openMVS/libs/MVS/../Math/TRWS/typePotts.h:359:57: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline void TypePotts::Vector::SetArrayValue(GlobalSize Kglobal, LocalSize K, int k, REAL x)
^
/openMVS/libs/MVS/../Math/TRWS/typePotts.h:359:76: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypePotts::Vector::SetArrayValue(GlobalSize Kglobal, LocalSize K, int k, REAL x)
^
/openMVS/libs/MVS/../Math/TRWS/typePotts.h:367:74: warning: unused parameter 'Ki' [-Wunused-parameter]
inline int TypePotts::Edge::GetSizeInBytes(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data)
^
/openMVS/libs/MVS/../Math/TRWS/typePotts.h:367:88: warning: unused parameter 'Kj' [-Wunused-parameter]
inline int TypePotts::Edge::GetSizeInBytes(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data)
^
/openMVS/libs/MVS/../Math/TRWS/typePotts.h:376:51: warning: unused parameter 'vectorMaxSizeInBytes' [-Wunused-parameter]
inline int TypePotts::Edge::GetBufSizeInBytes(int vectorMaxSizeInBytes)
^
/openMVS/libs/MVS/../Math/TRWS/typePotts.h:381:71: warning: unused parameter 'Ki' [-Wunused-parameter]
inline void TypePotts::Edge::Initialize(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data, Vector* Di, Vector* Dj)
^
/openMVS/libs/MVS/../Math/TRWS/typePotts.h:381:85: warning: unused parameter 'Kj' [-Wunused-parameter]
inline void TypePotts::Edge::Initialize(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data, Vector* Di, Vector* Dj)
^
/openMVS/libs/MVS/../Math/TRWS/typePotts.h:381:112: warning: unused parameter 'Di' [-Wunused-parameter]
inline void TypePotts::Edge::Initialize(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data, Vector* Di, Vector* Dj)
^
/openMVS/libs/MVS/../Math/TRWS/typePotts.h:381:124: warning: unused parameter 'Dj' [-Wunused-parameter]
inline void TypePotts::Edge::Initialize(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data, Vector* Di, Vector* Dj)
^
/openMVS/libs/MVS/../Math/TRWS/typePotts.h:392:46: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline void TypePotts::Edge::Swap(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj)
^
/openMVS/libs/MVS/../Math/TRWS/typePotts.h:392:65: warning: unused parameter 'Ki' [-Wunused-parameter]
inline void TypePotts::Edge::Swap(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj)
^
/openMVS/libs/MVS/../Math/TRWS/typePotts.h:392:79: warning: unused parameter 'Kj' [-Wunused-parameter]
inline void TypePotts::Edge::Swap(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj)
^
/openMVS/libs/MVS/../Math/TRWS/typePotts.h:396:85: warning: unused parameter 'Ksource' [-Wunused-parameter]
inline TypePotts::REAL TypePotts::Edge::UpdateMessage(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Vector* source, REAL gamma, int dir, void* buf)
^
/openMVS/libs/MVS/../Math/TRWS/typePotts.h:396:104: warning: unused parameter 'Kdest' [-Wunused-parameter]
inline TypePotts::REAL TypePotts::Edge::UpdateMessage(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Vector* source, REAL gamma, int dir, void* buf)
^
/openMVS/libs/MVS/../Math/TRWS/typePotts.h:396:143: warning: unused parameter 'dir' [-Wunused-parameter]
inline TypePotts::REAL TypePotts::Edge::UpdateMessage(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Vector* source, REAL gamma, int dir, void* buf)
^
/openMVS/libs/MVS/../Math/TRWS/typePotts.h:396:154: warning: unused parameter 'buf' [-Wunused-parameter]
inline TypePotts::REAL TypePotts::Edge::UpdateMessage(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Vector* source, REAL gamma, int dir, void* buf)
^
/openMVS/libs/MVS/../Math/TRWS/typePotts.h:425:70: warning: unused parameter 'Ksource' [-Wunused-parameter]
inline void TypePotts::Edge::AddColumn(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Label ksource, Vector* dest, int dir)
^
/openMVS/libs/MVS/../Math/TRWS/typePotts.h:425:89: warning: unused parameter 'Kdest' [-Wunused-parameter]
inline void TypePotts::Edge::AddColumn(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Label ksource, Vector* dest, int dir)
^
/openMVS/libs/MVS/../Math/TRWS/typePotts.h:425:129: warning: unused parameter 'dir' [-Wunused-parameter]
inline void TypePotts::Edge::AddColumn(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Label ksource, Vector* dest, int dir)
^
In file included from /openMVS/libs/MVS/../Math/TRWS/instances.h:15:0,
from /openMVS/libs/MVS/../Math/TRWS/MRFEnergy.h:11,
from /openMVS/libs/MVS/SceneDensify.cpp:35:
/openMVS/libs/MVS/../Math/TRWS/typeGeneral.h:317:59: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline int TypeGeneral::Vector::GetSizeInBytes(GlobalSize Kglobal, LocalSize K)
^
/openMVS/libs/MVS/../Math/TRWS/typeGeneral.h:325:56: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline void TypeGeneral::Vector::Initialize(GlobalSize Kglobal, LocalSize K, NodeData data)
^
/openMVS/libs/MVS/../Math/TRWS/typeGeneral.h:330:49: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline void TypeGeneral::Vector::Add(GlobalSize Kglobal, LocalSize K, NodeData data)
^
/openMVS/libs/MVS/../Math/TRWS/typeGeneral.h:338:53: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline void TypeGeneral::Vector::SetZero(GlobalSize Kglobal, LocalSize K)
^
/openMVS/libs/MVS/../Math/TRWS/typeGeneral.h:343:50: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline void TypeGeneral::Vector::Copy(GlobalSize Kglobal, LocalSize K, Vector* V)
^
/openMVS/libs/MVS/../Math/TRWS/typeGeneral.h:348:49: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline void TypeGeneral::Vector::Add(GlobalSize Kglobal, LocalSize K, Vector* V)
^
/openMVS/libs/MVS/../Math/TRWS/typeGeneral.h:356:67: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline TypeGeneral::REAL TypeGeneral::Vector::GetValue(GlobalSize Kglobal, LocalSize K, Label k)
^
/openMVS/libs/MVS/../Math/TRWS/typeGeneral.h:356:86: warning: unused parameter 'K' [-Wunused-parameter]
inline TypeGeneral::REAL TypeGeneral::Vector::GetValue(GlobalSize Kglobal, LocalSize K, Label k)
^
/openMVS/libs/MVS/../Math/TRWS/typeGeneral.h:362:69: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline TypeGeneral::REAL TypeGeneral::Vector::ComputeMin(GlobalSize Kglobal, LocalSize K, Label& kMin)
^
/openMVS/libs/MVS/../Math/TRWS/typeGeneral.h:378:80: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline TypeGeneral::REAL TypeGeneral::Vector::ComputeAndSubtractMin(GlobalSize Kglobal, LocalSize K)
^
/openMVS/libs/MVS/../Math/TRWS/typeGeneral.h:396:57: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline int TypeGeneral::Vector::GetArraySize(GlobalSize Kglobal, LocalSize K)
^
/openMVS/libs/MVS/../Math/TRWS/typeGeneral.h:401:72: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline TypeGeneral::REAL TypeGeneral::Vector::GetArrayValue(GlobalSize Kglobal, LocalSize K, int k)
^
/openMVS/libs/MVS/../Math/TRWS/typeGeneral.h:401:91: warning: unused parameter 'K' [-Wunused-parameter]
inline TypeGeneral::REAL TypeGeneral::Vector::GetArrayValue(GlobalSize Kglobal, LocalSize K, int k)
^
/openMVS/libs/MVS/../Math/TRWS/typeGeneral.h:407:59: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline void TypeGeneral::Vector::SetArrayValue(GlobalSize Kglobal, LocalSize K, int k, REAL x)
^
/openMVS/libs/MVS/../Math/TRWS/typeGeneral.h:407:78: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypeGeneral::Vector::SetArrayValue(GlobalSize Kglobal, LocalSize K, int k, REAL x)
^
/openMVS/libs/MVS/../Math/TRWS/typeGeneral.h:415:57: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline int TypeGeneral::Edge::GetSizeInBytes(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data)
^
/openMVS/libs/MVS/../Math/TRWS/typeGeneral.h:439:54: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline void TypeGeneral::Edge::Initialize(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data, Vector* Di, Vector* Dj)
^
/openMVS/libs/MVS/../Math/TRWS/typeGeneral.h:439:114: warning: unused parameter 'Di' [-Wunused-parameter]
inline void TypeGeneral::Edge::Initialize(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data, Vector* Di, Vector* Dj)
^
/openMVS/libs/MVS/../Math/TRWS/typeGeneral.h:439:126: warning: unused parameter 'Dj' [-Wunused-parameter]
inline void TypeGeneral::Edge::Initialize(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data, Vector* Di, Vector* Dj)
^
/openMVS/libs/MVS/../Math/TRWS/typeGeneral.h:466:48: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline void TypeGeneral::Edge::Swap(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj)
^
/openMVS/libs/MVS/../Math/TRWS/typeGeneral.h:466:67: warning: unused parameter 'Ki' [-Wunused-parameter]
inline void TypeGeneral::Edge::Swap(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj)
^
/openMVS/libs/MVS/../Math/TRWS/typeGeneral.h:466:81: warning: unused parameter 'Kj' [-Wunused-parameter]
inline void TypeGeneral::Edge::Swap(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj)
^
/openMVS/libs/MVS/../Math/TRWS/typeGeneral.h: In member function 'TypeGeneral::REAL TypeGeneral::Edge::UpdateMessage(TypeGeneral::GlobalSize, TypeGeneral::LocalSize, TypeGeneral::LocalSize, TypeGeneral::Vector*, TypeGeneral::REAL, int, void*)':
/openMVS/libs/MVS/../Math/TRWS/typeGeneral.h:483:10: warning: variable 'kMin' set but not used [-Wunused-but-set-variable]
int k, kMin;
^
/openMVS/libs/MVS/../Math/TRWS/typeGeneral.h: At global scope:
/openMVS/libs/MVS/../Math/TRWS/typeGeneral.h:474:70: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline TypeGeneral::REAL TypeGeneral::Edge::UpdateMessage(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Vector* source, REAL gamma, int dir, void* _bu
^
/openMVS/libs/MVS/../Math/TRWS/typeGeneral.h:573:53: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline void TypeGeneral::Edge::AddColumn(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Label ksource, Vector* dest, int dir)
^
In file included from /openMVS/libs/MVS/../Math/TRWS/instances.h:16:0,
from /openMVS/libs/MVS/../Math/TRWS/MRFEnergy.h:11,
from /openMVS/libs/MVS/SceneDensify.cpp:35:
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear.h:273:86: warning: unused parameter 'K' [-Wunused-parameter]
inline int TypeTruncatedLinear::Vector::GetSizeInBytes(GlobalSize Kglobal, LocalSize K)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear.h:281:83: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypeTruncatedLinear::Vector::Initialize(GlobalSize Kglobal, LocalSize K, NodeData data)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear.h:286:76: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypeTruncatedLinear::Vector::Add(GlobalSize Kglobal, LocalSize K, NodeData data)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear.h:294:80: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypeTruncatedLinear::Vector::SetZero(GlobalSize Kglobal, LocalSize K)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear.h:299:77: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypeTruncatedLinear::Vector::Copy(GlobalSize Kglobal, LocalSize K, Vector* V)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear.h:304:76: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypeTruncatedLinear::Vector::Add(GlobalSize Kglobal, LocalSize K, Vector* V)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear.h:312:83: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline TypeTruncatedLinear::REAL TypeTruncatedLinear::Vector::GetValue(GlobalSize Kglobal, LocalSize K, Label k)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear.h:312:102: warning: unused parameter 'K' [-Wunused-parameter]
inline TypeTruncatedLinear::REAL TypeTruncatedLinear::Vector::GetValue(GlobalSize Kglobal, LocalSize K, Label k)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear.h:318:104: warning: unused parameter 'K' [-Wunused-parameter]
inline TypeTruncatedLinear::REAL TypeTruncatedLinear::Vector::ComputeMin(GlobalSize Kglobal, LocalSize K, Label& kMin)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear.h:334:115: warning: unused parameter 'K' [-Wunused-parameter]
inline TypeTruncatedLinear::REAL TypeTruncatedLinear::Vector::ComputeAndSubtractMin(GlobalSize Kglobal, LocalSize K)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear.h:352:84: warning: unused parameter 'K' [-Wunused-parameter]
inline int TypeTruncatedLinear::Vector::GetArraySize(GlobalSize Kglobal, LocalSize K)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear.h:357:88: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline TypeTruncatedLinear::REAL TypeTruncatedLinear::Vector::GetArrayValue(GlobalSize Kglobal, LocalSize K, int k)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear.h:357:107: warning: unused parameter 'K' [-Wunused-parameter]
inline TypeTruncatedLinear::REAL TypeTruncatedLinear::Vector::GetArrayValue(GlobalSize Kglobal, LocalSize K, int k)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear.h:363:67: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline void TypeTruncatedLinear::Vector::SetArrayValue(GlobalSize Kglobal, LocalSize K, int k, REAL x)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear.h:363:86: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypeTruncatedLinear::Vector::SetArrayValue(GlobalSize Kglobal, LocalSize K, int k, REAL x)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear.h:371:84: warning: unused parameter 'Ki' [-Wunused-parameter]
inline int TypeTruncatedLinear::Edge::GetSizeInBytes(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear.h:371:98: warning: unused parameter 'Kj' [-Wunused-parameter]
inline int TypeTruncatedLinear::Edge::GetSizeInBytes(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear.h:380:61: warning: unused parameter 'vectorMaxSizeInBytes' [-Wunused-parameter]
inline int TypeTruncatedLinear::Edge::GetBufSizeInBytes(int vectorMaxSizeInBytes)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear.h:385:81: warning: unused parameter 'Ki' [-Wunused-parameter]
inline void TypeTruncatedLinear::Edge::Initialize(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data, Vector* Di, Vector* Dj)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear.h:385:95: warning: unused parameter 'Kj' [-Wunused-parameter]
inline void TypeTruncatedLinear::Edge::Initialize(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data, Vector* Di, Vector* Dj)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear.h:385:122: warning: unused parameter 'Di' [-Wunused-parameter]
inline void TypeTruncatedLinear::Edge::Initialize(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data, Vector* Di, Vector* Dj)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear.h:385:134: warning: unused parameter 'Dj' [-Wunused-parameter]
inline void TypeTruncatedLinear::Edge::Initialize(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data, Vector* Di, Vector* Dj)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear.h:397:56: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline void TypeTruncatedLinear::Edge::Swap(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear.h:397:75: warning: unused parameter 'Ki' [-Wunused-parameter]
inline void TypeTruncatedLinear::Edge::Swap(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear.h:397:89: warning: unused parameter 'Kj' [-Wunused-parameter]
inline void TypeTruncatedLinear::Edge::Swap(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear.h:401:105: warning: unused parameter 'Ksource' [-Wunused-parameter]
inline TypeTruncatedLinear::REAL TypeTruncatedLinear::Edge::UpdateMessage(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Vector* source, REAL gamma, in
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear.h:401:124: warning: unused parameter 'Kdest' [-Wunused-parameter]
inline TypeTruncatedLinear::REAL TypeTruncatedLinear::Edge::UpdateMessage(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Vector* source, REAL gamma, in
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear.h:401:163: warning: unused parameter 'dir' [-Wunused-parameter]
uncatedLinear::REAL TypeTruncatedLinear::Edge::UpdateMessage(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Vector* source, REAL gamma, int dir, void*
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear.h:401:174: warning: unused parameter 'buf' [-Wunused-parameter]
tedLinear::REAL TypeTruncatedLinear::Edge::UpdateMessage(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Vector* source, REAL gamma, int dir, void* buf)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear.h:445:80: warning: unused parameter 'Ksource' [-Wunused-parameter]
inline void TypeTruncatedLinear::Edge::AddColumn(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Label ksource, Vector* dest, int dir)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear.h:445:99: warning: unused parameter 'Kdest' [-Wunused-parameter]
inline void TypeTruncatedLinear::Edge::AddColumn(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Label ksource, Vector* dest, int dir)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear.h:445:139: warning: unused parameter 'dir' [-Wunused-parameter]
inline void TypeTruncatedLinear::Edge::AddColumn(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Label ksource, Vector* dest, int dir)
^
In file included from /openMVS/libs/MVS/../Math/TRWS/instances.h:17:0,
from /openMVS/libs/MVS/../Math/TRWS/MRFEnergy.h:11,
from /openMVS/libs/MVS/SceneDensify.cpp:35:
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic.h:277:89: warning: unused parameter 'K' [-Wunused-parameter]
inline int TypeTruncatedQuadratic::Vector::GetSizeInBytes(GlobalSize Kglobal, LocalSize K)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic.h:285:86: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypeTruncatedQuadratic::Vector::Initialize(GlobalSize Kglobal, LocalSize K, NodeData data)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic.h:290:79: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypeTruncatedQuadratic::Vector::Add(GlobalSize Kglobal, LocalSize K, NodeData data)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic.h:298:83: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypeTruncatedQuadratic::Vector::SetZero(GlobalSize Kglobal, LocalSize K)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic.h:303:80: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypeTruncatedQuadratic::Vector::Copy(GlobalSize Kglobal, LocalSize K, Vector* V)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic.h:308:79: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypeTruncatedQuadratic::Vector::Add(GlobalSize Kglobal, LocalSize K, Vector* V)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic.h:316:89: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline TypeTruncatedQuadratic::REAL TypeTruncatedQuadratic::Vector::GetValue(GlobalSize Kglobal, LocalSize K, Label k)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic.h:316:108: warning: unused parameter 'K' [-Wunused-parameter]
inline TypeTruncatedQuadratic::REAL TypeTruncatedQuadratic::Vector::GetValue(GlobalSize Kglobal, LocalSize K, Label k)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic.h:322:110: warning: unused parameter 'K' [-Wunused-parameter]
inline TypeTruncatedQuadratic::REAL TypeTruncatedQuadratic::Vector::ComputeMin(GlobalSize Kglobal, LocalSize K, Label& kMin)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic.h:338:121: warning: unused parameter 'K' [-Wunused-parameter]
inline TypeTruncatedQuadratic::REAL TypeTruncatedQuadratic::Vector::ComputeAndSubtractMin(GlobalSize Kglobal, LocalSize K)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic.h:356:87: warning: unused parameter 'K' [-Wunused-parameter]
inline int TypeTruncatedQuadratic::Vector::GetArraySize(GlobalSize Kglobal, LocalSize K)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic.h:361:94: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline TypeTruncatedQuadratic::REAL TypeTruncatedQuadratic::Vector::GetArrayValue(GlobalSize Kglobal, LocalSize K, int k)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic.h:361:113: warning: unused parameter 'K' [-Wunused-parameter]
inline TypeTruncatedQuadratic::REAL TypeTruncatedQuadratic::Vector::GetArrayValue(GlobalSize Kglobal, LocalSize K, int k)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic.h:367:70: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline void TypeTruncatedQuadratic::Vector::SetArrayValue(GlobalSize Kglobal, LocalSize K, int k, REAL x)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic.h:367:89: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypeTruncatedQuadratic::Vector::SetArrayValue(GlobalSize Kglobal, LocalSize K, int k, REAL x)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic.h:375:87: warning: unused parameter 'Ki' [-Wunused-parameter]
inline int TypeTruncatedQuadratic::Edge::GetSizeInBytes(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic.h:375:101: warning: unused parameter 'Kj' [-Wunused-parameter]
inline int TypeTruncatedQuadratic::Edge::GetSizeInBytes(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic.h:390:84: warning: unused parameter 'Ki' [-Wunused-parameter]
inline void TypeTruncatedQuadratic::Edge::Initialize(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data, Vector* Di, Vector* Dj)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic.h:390:98: warning: unused parameter 'Kj' [-Wunused-parameter]
inline void TypeTruncatedQuadratic::Edge::Initialize(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data, Vector* Di, Vector* Dj)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic.h:390:125: warning: unused parameter 'Di' [-Wunused-parameter]
inline void TypeTruncatedQuadratic::Edge::Initialize(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data, Vector* Di, Vector* Dj)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic.h:390:137: warning: unused parameter 'Dj' [-Wunused-parameter]
inline void TypeTruncatedQuadratic::Edge::Initialize(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data, Vector* Di, Vector* Dj)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic.h:402:59: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline void TypeTruncatedQuadratic::Edge::Swap(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic.h:402:78: warning: unused parameter 'Ki' [-Wunused-parameter]
inline void TypeTruncatedQuadratic::Edge::Swap(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic.h:402:92: warning: unused parameter 'Kj' [-Wunused-parameter]
inline void TypeTruncatedQuadratic::Edge::Swap(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic.h:406:111: warning: unused parameter 'Ksource' [-Wunused-parameter]
inline TypeTruncatedQuadratic::REAL TypeTruncatedQuadratic::Edge::UpdateMessage(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Vector* source, REAL gam
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic.h:406:130: warning: unused parameter 'Kdest' [-Wunused-parameter]
inline TypeTruncatedQuadratic::REAL TypeTruncatedQuadratic::Edge::UpdateMessage(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Vector* source, REAL gam
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic.h:406:169: warning: unused parameter 'dir' [-Wunused-parameter]
dQuadratic::REAL TypeTruncatedQuadratic::Edge::UpdateMessage(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Vector* source, REAL gamma, int dir, void*
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic.h:450:83: warning: unused parameter 'Ksource' [-Wunused-parameter]
inline void TypeTruncatedQuadratic::Edge::AddColumn(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Label ksource, Vector* dest, int dir)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic.h:450:102: warning: unused parameter 'Kdest' [-Wunused-parameter]
inline void TypeTruncatedQuadratic::Edge::AddColumn(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Label ksource, Vector* dest, int dir)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic.h:450:142: warning: unused parameter 'dir' [-Wunused-parameter]
inline void TypeTruncatedQuadratic::Edge::AddColumn(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Label ksource, Vector* dest, int dir)
^
In file included from /openMVS/libs/MVS/../Math/TRWS/instances.h:18:0,
from /openMVS/libs/MVS/../Math/TRWS/MRFEnergy.h:11,
from /openMVS/libs/MVS/SceneDensify.cpp:35:
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear2D.h:288:88: warning: unused parameter 'K' [-Wunused-parameter]
inline int TypeTruncatedLinear2D::Vector::GetSizeInBytes(GlobalSize Kglobal, LocalSize K)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear2D.h:296:85: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypeTruncatedLinear2D::Vector::Initialize(GlobalSize Kglobal, LocalSize K, NodeData data)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear2D.h:301:78: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypeTruncatedLinear2D::Vector::Add(GlobalSize Kglobal, LocalSize K, NodeData data)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear2D.h:309:82: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypeTruncatedLinear2D::Vector::SetZero(GlobalSize Kglobal, LocalSize K)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear2D.h:314:79: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypeTruncatedLinear2D::Vector::Copy(GlobalSize Kglobal, LocalSize K, Vector* V)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear2D.h:319:78: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypeTruncatedLinear2D::Vector::Add(GlobalSize Kglobal, LocalSize K, Vector* V)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear2D.h:327:106: warning: unused parameter 'K' [-Wunused-parameter]
inline TypeTruncatedLinear2D::REAL TypeTruncatedLinear2D::Vector::GetValue(GlobalSize Kglobal, LocalSize K, Label k)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear2D.h:333:108: warning: unused parameter 'K' [-Wunused-parameter]
inline TypeTruncatedLinear2D::REAL TypeTruncatedLinear2D::Vector::ComputeMin(GlobalSize Kglobal, LocalSize K, Label& _kMin)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear2D.h:352:119: warning: unused parameter 'K' [-Wunused-parameter]
inline TypeTruncatedLinear2D::REAL TypeTruncatedLinear2D::Vector::ComputeAndSubtractMin(GlobalSize Kglobal, LocalSize K)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear2D.h:370:86: warning: unused parameter 'K' [-Wunused-parameter]
inline int TypeTruncatedLinear2D::Vector::GetArraySize(GlobalSize Kglobal, LocalSize K)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear2D.h:375:92: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline TypeTruncatedLinear2D::REAL TypeTruncatedLinear2D::Vector::GetArrayValue(GlobalSize Kglobal, LocalSize K, int k)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear2D.h:375:111: warning: unused parameter 'K' [-Wunused-parameter]
inline TypeTruncatedLinear2D::REAL TypeTruncatedLinear2D::Vector::GetArrayValue(GlobalSize Kglobal, LocalSize K, int k)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear2D.h:381:69: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline void TypeTruncatedLinear2D::Vector::SetArrayValue(GlobalSize Kglobal, LocalSize K, int k, REAL x)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear2D.h:381:88: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypeTruncatedLinear2D::Vector::SetArrayValue(GlobalSize Kglobal, LocalSize K, int k, REAL x)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear2D.h:389:86: warning: unused parameter 'Ki' [-Wunused-parameter]
inline int TypeTruncatedLinear2D::Edge::GetSizeInBytes(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear2D.h:389:100: warning: unused parameter 'Kj' [-Wunused-parameter]
inline int TypeTruncatedLinear2D::Edge::GetSizeInBytes(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear2D.h:398:63: warning: unused parameter 'vectorMaxSizeInBytes' [-Wunused-parameter]
inline int TypeTruncatedLinear2D::Edge::GetBufSizeInBytes(int vectorMaxSizeInBytes)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear2D.h:403:83: warning: unused parameter 'Ki' [-Wunused-parameter]
inline void TypeTruncatedLinear2D::Edge::Initialize(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data, Vector* Di, Vector* Dj)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear2D.h:403:97: warning: unused parameter 'Kj' [-Wunused-parameter]
inline void TypeTruncatedLinear2D::Edge::Initialize(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data, Vector* Di, Vector* Dj)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear2D.h:403:124: warning: unused parameter 'Di' [-Wunused-parameter]
inline void TypeTruncatedLinear2D::Edge::Initialize(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data, Vector* Di, Vector* Dj)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear2D.h:403:136: warning: unused parameter 'Dj' [-Wunused-parameter]
inline void TypeTruncatedLinear2D::Edge::Initialize(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data, Vector* Di, Vector* Dj)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear2D.h:416:58: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline void TypeTruncatedLinear2D::Edge::Swap(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear2D.h:416:77: warning: unused parameter 'Ki' [-Wunused-parameter]
inline void TypeTruncatedLinear2D::Edge::Swap(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear2D.h:416:91: warning: unused parameter 'Kj' [-Wunused-parameter]
inline void TypeTruncatedLinear2D::Edge::Swap(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear2D.h:420:109: warning: unused parameter 'Ksource' [-Wunused-parameter]
inline TypeTruncatedLinear2D::REAL TypeTruncatedLinear2D::Edge::UpdateMessage(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Vector* source, REAL gamma
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear2D.h:420:128: warning: unused parameter 'Kdest' [-Wunused-parameter]
inline TypeTruncatedLinear2D::REAL TypeTruncatedLinear2D::Edge::UpdateMessage(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Vector* source, REAL gamma
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear2D.h:420:167: warning: unused parameter 'dir' [-Wunused-parameter]
tedLinear2D::REAL TypeTruncatedLinear2D::Edge::UpdateMessage(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Vector* source, REAL gamma, int dir, void*
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear2D.h:420:178: warning: unused parameter 'buf' [-Wunused-parameter]
inear2D::REAL TypeTruncatedLinear2D::Edge::UpdateMessage(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Vector* source, REAL gamma, int dir, void* buf)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear2D.h:472:82: warning: unused parameter 'Ksource' [-Wunused-parameter]
inline void TypeTruncatedLinear2D::Edge::AddColumn(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Label ksource, Vector* dest, int dir)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear2D.h:472:101: warning: unused parameter 'Kdest' [-Wunused-parameter]
inline void TypeTruncatedLinear2D::Edge::AddColumn(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Label ksource, Vector* dest, int dir)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedLinear2D.h:472:141: warning: unused parameter 'dir' [-Wunused-parameter]
inline void TypeTruncatedLinear2D::Edge::AddColumn(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Label ksource, Vector* dest, int dir)
^
In file included from /openMVS/libs/MVS/../Math/TRWS/instances.h:19:0,
from /openMVS/libs/MVS/../Math/TRWS/MRFEnergy.h:11,
from /openMVS/libs/MVS/SceneDensify.cpp:35:
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic2D.h:292:91: warning: unused parameter 'K' [-Wunused-parameter]
inline int TypeTruncatedQuadratic2D::Vector::GetSizeInBytes(GlobalSize Kglobal, LocalSize K)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic2D.h:300:88: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypeTruncatedQuadratic2D::Vector::Initialize(GlobalSize Kglobal, LocalSize K, NodeData data)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic2D.h:305:81: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypeTruncatedQuadratic2D::Vector::Add(GlobalSize Kglobal, LocalSize K, NodeData data)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic2D.h:313:85: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypeTruncatedQuadratic2D::Vector::SetZero(GlobalSize Kglobal, LocalSize K)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic2D.h:318:82: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypeTruncatedQuadratic2D::Vector::Copy(GlobalSize Kglobal, LocalSize K, Vector* V)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic2D.h:323:81: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypeTruncatedQuadratic2D::Vector::Add(GlobalSize Kglobal, LocalSize K, Vector* V)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic2D.h:331:112: warning: unused parameter 'K' [-Wunused-parameter]
inline TypeTruncatedQuadratic2D::REAL TypeTruncatedQuadratic2D::Vector::GetValue(GlobalSize Kglobal, LocalSize K, Label k)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic2D.h:337:114: warning: unused parameter 'K' [-Wunused-parameter]
inline TypeTruncatedQuadratic2D::REAL TypeTruncatedQuadratic2D::Vector::ComputeMin(GlobalSize Kglobal, LocalSize K, Label& _kMin)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic2D.h:356:125: warning: unused parameter 'K' [-Wunused-parameter]
inline TypeTruncatedQuadratic2D::REAL TypeTruncatedQuadratic2D::Vector::ComputeAndSubtractMin(GlobalSize Kglobal, LocalSize K)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic2D.h:374:89: warning: unused parameter 'K' [-Wunused-parameter]
inline int TypeTruncatedQuadratic2D::Vector::GetArraySize(GlobalSize Kglobal, LocalSize K)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic2D.h:379:98: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline TypeTruncatedQuadratic2D::REAL TypeTruncatedQuadratic2D::Vector::GetArrayValue(GlobalSize Kglobal, LocalSize K, int k)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic2D.h:379:117: warning: unused parameter 'K' [-Wunused-parameter]
inline TypeTruncatedQuadratic2D::REAL TypeTruncatedQuadratic2D::Vector::GetArrayValue(GlobalSize Kglobal, LocalSize K, int k)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic2D.h:385:72: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline void TypeTruncatedQuadratic2D::Vector::SetArrayValue(GlobalSize Kglobal, LocalSize K, int k, REAL x)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic2D.h:385:91: warning: unused parameter 'K' [-Wunused-parameter]
inline void TypeTruncatedQuadratic2D::Vector::SetArrayValue(GlobalSize Kglobal, LocalSize K, int k, REAL x)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic2D.h:393:89: warning: unused parameter 'Ki' [-Wunused-parameter]
inline int TypeTruncatedQuadratic2D::Edge::GetSizeInBytes(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic2D.h:393:103: warning: unused parameter 'Kj' [-Wunused-parameter]
inline int TypeTruncatedQuadratic2D::Edge::GetSizeInBytes(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic2D.h:408:86: warning: unused parameter 'Ki' [-Wunused-parameter]
inline void TypeTruncatedQuadratic2D::Edge::Initialize(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data, Vector* Di, Vector* Dj)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic2D.h:408:100: warning: unused parameter 'Kj' [-Wunused-parameter]
inline void TypeTruncatedQuadratic2D::Edge::Initialize(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data, Vector* Di, Vector* Dj)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic2D.h:408:127: warning: unused parameter 'Di' [-Wunused-parameter]
inline void TypeTruncatedQuadratic2D::Edge::Initialize(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data, Vector* Di, Vector* Dj)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic2D.h:408:139: warning: unused parameter 'Dj' [-Wunused-parameter]
inline void TypeTruncatedQuadratic2D::Edge::Initialize(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj, EdgeData data, Vector* Di, Vector* Dj)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic2D.h:421:61: warning: unused parameter 'Kglobal' [-Wunused-parameter]
inline void TypeTruncatedQuadratic2D::Edge::Swap(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic2D.h:421:80: warning: unused parameter 'Ki' [-Wunused-parameter]
inline void TypeTruncatedQuadratic2D::Edge::Swap(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic2D.h:421:94: warning: unused parameter 'Kj' [-Wunused-parameter]
inline void TypeTruncatedQuadratic2D::Edge::Swap(GlobalSize Kglobal, LocalSize Ki, LocalSize Kj)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic2D.h:425:115: warning: unused parameter 'Ksource' [-Wunused-parameter]
inline TypeTruncatedQuadratic2D::REAL TypeTruncatedQuadratic2D::Edge::UpdateMessage(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Vector* source, REAL
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic2D.h:425:134: warning: unused parameter 'Kdest' [-Wunused-parameter]
inline TypeTruncatedQuadratic2D::REAL TypeTruncatedQuadratic2D::Edge::UpdateMessage(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Vector* source, REAL
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic2D.h:425:173: warning: unused parameter 'dir' [-Wunused-parameter]
dratic2D::REAL TypeTruncatedQuadratic2D::Edge::UpdateMessage(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Vector* source, REAL gamma, int dir, void*
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic2D.h:473:85: warning: unused parameter 'Ksource' [-Wunused-parameter]
inline void TypeTruncatedQuadratic2D::Edge::AddColumn(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Label ksource, Vector* dest, int dir)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic2D.h:473:104: warning: unused parameter 'Kdest' [-Wunused-parameter]
inline void TypeTruncatedQuadratic2D::Edge::AddColumn(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Label ksource, Vector* dest, int dir)
^
/openMVS/libs/MVS/../Math/TRWS/typeTruncatedQuadratic2D.h:473:144: warning: unused parameter 'dir' [-Wunused-parameter]
inline void TypeTruncatedQuadratic2D::Edge::AddColumn(GlobalSize Kglobal, LocalSize Ksource, LocalSize Kdest, Label ksource, Vector* dest, int dir)
^
/openMVS/libs/MVS/Mesh.cpp: At global scope:
/openMVS/libs/MVS/Mesh.cpp:1821:13: warning: 'void CLN::ComputeStatsArea(const Polyhedron&, CLN::Stats&)' defined but not used [-Wunused-function]
static void ComputeStatsArea(const Polyhedron& p, Stats& stats)
^
libs/MVS/CMakeFiles/MVS.dir/build.make:254: recipe for target 'libs/MVS/CMakeFiles/MVS.dir/Mesh.cpp.o' failed
make[2]: *** [libs/MVS/CMakeFiles/MVS.dir/Mesh.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/openMVS/libs/MVS/SceneDensify.cpp: In member function 'bool DepthMapsData::InitDepthMap(MVS::DepthData&)':
/openMVS/libs/MVS/SceneDensify.cpp:544:46: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
Image8U::RasterizeTriangle((const Point2f&)i2, (const Point2f&)i1, (const Point2f&)i0, data);
^
/openMVS/libs/MVS/SceneDensify.cpp:544:66: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
Image8U::RasterizeTriangle((const Point2f&)i2, (const Point2f&)i1, (const Point2f&)i0, data);
^
/openMVS/libs/MVS/SceneDensify.cpp:544:86: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
Image8U::RasterizeTriangle((const Point2f&)i2, (const Point2f&)i1, (const Point2f&)i0, data);
^
/openMVS/libs/MVS/SceneDensify.cpp: In static member function 'static void* DepthMapsData::EndDepthMapTmp(void*)':
/openMVS/libs/MVS/SceneDensify.cpp:600:18: warning: unused variable 'invScaleRange' [-Wunused-variable]
const unsigned invScaleRange(DepthEstimator::DecodeScoreScale(conf));
^
In file included from /openMVS/libs/MVS/../Common/Types.h:2710:0,
from /openMVS/libs/MVS/../Common/Common.h:176,
from /openMVS/libs/MVS/Common.h:42,
from /openMVS/libs/MVS/SceneDensify.cpp:32:
/openMVS/libs/MVS/../Common/Types.inl: In instantiation of 'bool SEACAVE::TImage<TYPE>::Save(const SEACAVE::String&) const [with TYPE = float]':
/openMVS/libs/MVS/SceneDensify.cpp:1792:66: required from here
/openMVS/libs/MVS/../Common/Types.inl:2656:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
static const bool is_little_endian = (*((float*)b) < 1.f);
^
In file included from /openMVS/libs/MVS/../Math/TRWS/MRFEnergy.inl:1:0,
from /openMVS/libs/MVS/../Math/TRWS/MRFEnergy.h:244,
from /openMVS/libs/MVS/SceneDensify.cpp:35:
/openMVS/libs/MVS/../Math/TRWS/minimize.inl: In member function 'int MRFEnergy<T>::Minimize_TRW_S(MRFEnergy<T>::Options&, MRFEnergy<T>::REAL&, MRFEnergy<T>::REAL&, MRFEnergy<T>::REAL*) [with T = TypeGeneral; MRFEnergy<T>::REAL = double]':
/openMVS/libs/MVS/../Math/TRWS/minimize.inl:97:5: warning: 'vMin' may be used uninitialized in this function [-Wmaybe-uninitialized]
lowerBound += vMin;
^
CMakeFiles/Makefile2:311: recipe for target 'libs/MVS/CMakeFiles/MVS.dir/all' failed
make[1]: *** [libs/MVS/CMakeFiles/MVS.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment