This?
/code/modules/odm_georef/src/modifiedPclFunctions.cpp: In function ‘int saveOBJFile(const string&, const pcl::TextureMesh&, unsigned int)’:
/code/modules/odm_georef/src/modifiedPclFunctions.cpp:61:50: warning: conversion to ‘int’ from ‘std::vector<unsigned char>::size_type {aka long unsigned int}’ may alter its value [-Wconversion]
int point_size = tex_mesh.cloud.data.size () / nr_points;
^
/code/modules/odm_georef/src/modifiedPclFunctions.cpp:64:47: warning: conversion to ‘int’ from ‘std::vector<std::vector<pcl::Vertices> >::size_type {aka long unsigned int}’ may alter its value [-Wconversion]
int nr_meshes = tex_mesh.tex_polygons.size ();
^
/code/modules/odm_georef/src/modifiedPclFunctions.cpp:68:14: warning: conversion to ‘int’ from ‘std::vector<pcl::Vertices>::size_type {aka long unsigned int}’ may alter its value [-Wconversion]
nr_faces += tex_mesh.tex_polygons[m].size ();
^
/code/modules/odm_georef/src/modifiedPclFunctions.cpp:183:13: warning: conversion to ‘int’ from ‘std::vector<pcl::Vertices>::size_type {aka long unsigned int}’ may alter its value [-Wconversion]
f_idx += tex_mesh.tex_polygons[m-1].size ();
^
In file included from /code/SuperBuild/install/include/pcl-1.8/pcl/io/ply/ply_parser.h:66:0,
from /code/SuperBuild/install/include/pcl-1.8/pcl/io/ply_io.h:45,
from /code/modules/odm_georef/src/Georef.hpp:11,
from /code/modules/odm_georef/src/Georef.cpp:14:
/code/SuperBuild/install/include/pcl-1.8/pcl/io/ply/ply.h:86:51: warning: extra ‘;’ [-Wpedantic]
PLY_TYPE_TRAITS(int8, int16, "int8", "char");
^
/code/SuperBuild/install/include/pcl-1.8/pcl/io/ply/ply.h:87:54: warning: extra ‘;’ [-Wpedantic]
PLY_TYPE_TRAITS(int16, int16, "int16", "short");
^
/code/SuperBuild/install/include/pcl-1.8/pcl/io/ply/ply.h:88:52: warning: extra ‘;’ [-Wpedantic]
PLY_TYPE_TRAITS(int32, int32, "int32", "int");
^
/code/SuperBuild/install/include/pcl-1.8/pcl/io/ply/ply.h:89:55: warning: extra ‘;’ [-Wpedantic]
PLY_TYPE_TRAITS(uint8, uint16, "uint8", "uchar");
^
/code/SuperBuild/install/include/pcl-1.8/pcl/io/ply/ply.h:90:58: warning: extra ‘;’ [-Wpedantic]
PLY_TYPE_TRAITS(uint16, uint16, "uint16", "ushort");
^
/code/SuperBuild/install/include/pcl-1.8/pcl/io/ply/ply.h:91:56: warning: extra ‘;’ [-Wpedantic]
PLY_TYPE_TRAITS(uint32, uint32, "uint32", "uint");
^
/code/SuperBuild/install/include/pcl-1.8/pcl/io/ply/ply.h:92:60: warning: extra ‘;’ [-Wpedantic]
PLY_TYPE_TRAITS(float32, float32, "float32", "float");
^
/code/SuperBuild/install/include/pcl-1.8/pcl/io/ply/ply.h:93:61: warning: extra ‘;’ [-Wpedantic]
PLY_TYPE_TRAITS(float64, float64, "float64", "double");
^
In file included from /code/SuperBuild/install/include/pcl-1.8/pcl/octree/octree_base.h:46:0,
from /code/SuperBuild/install/include/pcl-1.8/pcl/octree/octree_pointcloud.h:42,
from /code/SuperBuild/install/include/pcl-1.8/pcl/octree/octree_search.h:44,
from /code/SuperBuild/install/include/pcl-1.8/pcl/search/octree.h:43,
from /code/SuperBuild/install/include/pcl-1.8/pcl/search/pcl_search.h:45,
from /code/SuperBuild/install/include/pcl-1.8/pcl/surface/reconstruction.h:45,
from /code/SuperBuild/install/include/pcl-1.8/pcl/surface/texture_mapping.h:43,
from /code/modules/odm_georef/src/modifiedPclFunctions.hpp:9,
from /code/modules/odm_georef/src/Georef.hpp:13,
from /code/modules/odm_georef/src/Georef.cpp:14:
/code/SuperBuild/install/include/pcl-1.8/pcl/octree/octree_key.h:145:9: warning: ISO C++ prohibits anonymous structs [-Wpedantic]
};
^
In file included from /code/SuperBuild/install/include/pcl-1.8/pcl/octree/octree_base.h:46:0,
from /code/SuperBuild/install/include/pcl-1.8/pcl/octree/octree_pointcloud.h:42,
from /code/SuperBuild/install/include/pcl-1.8/pcl/octree/octree_search.h:44,
from /code/SuperBuild/install/include/pcl-1.8/pcl/search/octree.h:43,
from /code/SuperBuild/install/include/pcl-1.8/pcl/search/pcl_search.h:45,
from /code/SuperBuild/install/include/pcl-1.8/pcl/surface/reconstruction.h:45,
from /code/SuperBuild/install/include/pcl-1.8/pcl/surface/texture_mapping.h:43,
from /code/modules/odm_georef/src/modifiedPclFunctions.hpp:9,
from /code/modules/odm_georef/src/Georef.hpp:13,
from /code/modules/odm_georef/src/main.cpp:1:
/code/SuperBuild/install/include/pcl-1.8/pcl/octree/octree_key.h:145:9: warning: ISO C++ prohibits anonymous structs [-Wpedantic]
};
^
/code/modules/odm_georef/src/Georef.cpp: In member function ‘void GeorefCamera::extractCamera(std::ifstream&)’:
/code/modules/odm_georef/src/Georef.cpp:140:15: warning: conversion to ‘Eigen::Transform<float, 3, 2>::Scalar {aka float}’ from ‘double’ may alter its value [-Wfloat-conversion]
pose(0,2) = -1.0*pose(0,2);
^
/code/modules/odm_georef/src/Georef.cpp:141:15: warning: conversion to ‘Eigen::Transform<float, 3, 2>::Scalar {aka float}’ from ‘double’ may alter its value [-Wfloat-conversion]
pose(1,2) = -1.0*pose(1,2);
^
/code/modules/odm_georef/src/Georef.cpp:142:15: warning: conversion to ‘Eigen::Transform<float, 3, 2>::Scalar {aka float}’ from ‘double’ may alter its value [-Wfloat-conversion]
pose(2,2) = -1.0*pose(2,2);
^
/code/modules/odm_georef/src/Georef.cpp:144:15: warning: conversion to ‘Eigen::Transform<float, 3, 2>::Scalar {aka float}’ from ‘double’ may alter its value [-Wfloat-conversion]
pose(0,1) = -1.0*pose(0,1);
^
/code/modules/odm_georef/src/Georef.cpp:145:15: warning: conversion to ‘Eigen::Transform<float, 3, 2>::Scalar {aka float}’ from ‘double’ may alter its value [-Wfloat-conversion]
pose(1,1) = -1.0*pose(1,1);
^
/code/modules/odm_georef/src/Georef.cpp:146:15: warning: conversion to ‘Eigen::Transform<float, 3, 2>::Scalar {aka float}’ from ‘double’ may alter its value [-Wfloat-conversion]
pose(2,1) = -1.0*pose(2,1);
^
/code/modules/odm_georef/src/Georef.cpp: In member function ‘pcl::PointXYZ Georef::barycentricCoordinates(pcl::PointXY, pcl::PointXYZ, pcl::PointXYZ, pcl::PointXYZ, pcl::PointXY, pcl::PointXY, pcl::PointXY)’:
/code/modules/odm_georef/src/Georef.cpp:817:11: warning: conversion to ‘float’ from ‘double’ may alter its value [-Wfloat-conversion]
res.x = (1.0 - l1 - l2)*vert0.x + l1*vert1.x + l2*vert2.x;
^
/code/modules/odm_georef/src/Georef.cpp:818:11: warning: conversion to ‘float’ from ‘double’ may alter its value [-Wfloat-conversion]
res.y = (1.0 - l1 - l2)*vert0.y + l1*vert1.y + l2*vert2.y;
^
/code/modules/odm_georef/src/Georef.cpp:819:11: warning: conversion to ‘float’ from ‘double’ may alter its value [-Wfloat-conversion]
res.z = (1.0 - l1 - l2)*vert0.z + l1*vert1.z + l2*vert2.z;
^
/code/modules/odm_georef/src/Georef.cpp: In member function ‘bool Georef::loadObjFile(std::__cxx11::string, pcl::TextureMesh&)’:
/code/modules/odm_georef/src/Georef.cpp:1506:28: warning: conversion to ‘int’ from ‘std::size_t {aka long unsigned int}’ may alter its value [-Wconversion]
normal_x_field = i;
^
/code/modules/odm_georef/src/Georef.cpp:1635:23: warning: conversion to ‘int’ from ‘std::size_t {aka long unsigned int}’ may alter its value [-Wconversion]
v = (v < 0) ? v_idx + v : v - 1;
^
/code/modules/odm_georef/src/Georef.cpp:1640:41: warning: conversion to ‘std::map<int, int>::key_type {aka int}’ from ‘std::size_t {aka long unsigned int}’ may alter its value [-Wconversion]
f2vt[3*(f_idx) + i-1] = vt-1;
^
/code/modules/odm_georef/src/Georef.cpp:1664:80: warning: conversion to ‘std::map<int, int>::key_type {aka int}’ from ‘std::size_t {aka long unsigned int}’ may alter its value [-Wconversion]
Eigen::Vector2f vt = mesh.tex_coordinates[0][f2vt[3*faceIndex+i]];
^
/code/modules/odm_georef/src/Georef.cpp: In member function ‘bool Georef::readHeader(const string&, pcl::PCLPointCloud2&, Eigen::Vector4f&, Eigen::Quaternionf&, int&, int&, unsigned int&, int)’:
/code/modules/odm_georef/src/Georef.cpp:1822:22: warning: conversion to ‘uint32_t {aka unsigned int}’ from ‘std::size_t {aka long unsigned int}’ may alter its value [-Wconversion]
cloud.width = nr_point;
^