Fix mingw errors/warnings.
This commit is contained in:
parent
82da6ea0a0
commit
5bb6a54f61
@ -15,7 +15,8 @@ SET(BC6H_SRCS
|
||||
|
||||
ADD_LIBRARY(bc6h STATIC ${BC6H_SRCS})
|
||||
|
||||
IF(CMAKE_COMPILER_IS_GNUCXX)
|
||||
SET_TARGET_PROPERTIES(bc6h PROPERTIES COMPILE_FLAGS -fPIC)
|
||||
ENDIF(CMAKE_COMPILER_IS_GNUCXX)
|
||||
|
||||
IF(NOT WIN32)
|
||||
IF(CMAKE_COMPILER_IS_GNUCXX)
|
||||
SET_TARGET_PROPERTIES(bc6h PROPERTIES COMPILE_FLAGS -fPIC)
|
||||
ENDIF(CMAKE_COMPILER_IS_GNUCXX)
|
||||
ENDIF(NOT WIN32)
|
||||
|
@ -579,7 +579,6 @@ static void optimize_endpts(const Tile &tile, int shapeindex, const double orig_
|
||||
Vector3 pixels[Tile::TILE_TOTAL];
|
||||
float importance[Tile::TILE_TOTAL];
|
||||
double err = 0;
|
||||
int indices[Tile::TILE_TOTAL];
|
||||
|
||||
for (int region=0; region<NREGIONS_ONE; ++region)
|
||||
{
|
||||
|
@ -666,7 +666,6 @@ static void optimize_endpts(const Tile &tile, int shapeindex, const double orig_
|
||||
Vector3 pixels[Tile::TILE_TOTAL];
|
||||
float importance[Tile::TILE_TOTAL];
|
||||
double err = 0;
|
||||
int indices[Tile::TILE_TOTAL];
|
||||
|
||||
for (int region=0; region<NREGIONS_TWO; ++region)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user