1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/graphics/colmap
Jan Beich 0d2a2751d4 graphics/colmap: unbreak OPENMP=off after r446135
src/ext/PBA/SparseBundleCPU.cpp:1208:7: error: non-constant-expression cannot be narrowed from type 'size_t' (aka 'unsigned long') to 'int' in initializer list [-Wc++11-narrowing]
      RUN_THREAD(ComputeProjection, threads[i], last - first, camera, point,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ext/PBA/SparseBundleCPU.cpp:933:3: note: expanded from macro 'RUN_THREAD'
  DECLEAR_THREAD_DATA(X, __VA_ARGS__); \
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ext/PBA/SparseBundleCPU.cpp:908:30: note: expanded from macro 'DECLEAR_THREAD_DATA'
  X##_STRUCT<Float> tdata = {i, __VA_ARGS__}; \
                             ^
src/ext/PBA/SparseBundleCPU.cpp:1537:68: error: non-constant-expression cannot be narrowed from type 'size_t' (aka 'unsigned long') to 'int' in initializer list [-Wc++11-narrowing]
                 intrinsic_fixed, radial_distortion, shuffle, jct, first);
                                                                   ^~~~~
src/ext/PBA/SparseBundleCPU.cpp:933:26: note: expanded from macro 'RUN_THREAD'
  DECLEAR_THREAD_DATA(X, __VA_ARGS__); \
                         ^~~~~~~~~~~
src/ext/PBA/SparseBundleCPU.cpp:908:33: note: expanded from macro 'DECLEAR_THREAD_DATA'
  X##_STRUCT<Float> tdata = {i, __VA_ARGS__}; \
                                ^~~~~~~~~~~
src/ext/PBA/SparseBundleCPU.cpp:1537:68: note: insert an explicit cast to silence this issue
                 intrinsic_fixed, radial_distortion, shuffle, jct, first);
                                                                   ^~~~~
                                                                   static_cast<int>(
2018-02-11 08:16:12 +00:00
..
files graphics/colmap: unbreak OPENMP=off after r446135 2018-02-11 08:16:12 +00:00
distinfo graphics/colmap: update to 3.4 2018-01-31 21:36:53 +00:00
Makefile graphics/colmap: don't use pkg-plist for a single file after r460536 2018-02-11 08:15:51 +00:00
pkg-descr