vasyl.tretiakov@localhost ~/Downloads/lensfun-0.3.95 $ mkdir build vasyl.tretiakov@localhost ~/Downloads/lensfun-0.3.95 $ cd build vasyl.tretiakov@localhost ~/Downloads/lensfun-0.3.95/build $ cmake ../ -- The C compiler identification is GNU 7.3.0 -- The CXX compiler identification is GNU 7.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for include file endian.h -- Looking for include file endian.h - found -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") -- Checking for one of the modules 'glib-2.0' -- ------------------------------------------------------------------------------------- -- Building Lensfun 0.3.95.0 -- ------------------------------------------------------------------------------------- -- Build as dynamic/shared library -- Build type: Debug -- Build doc: OFF -- Build test suite: OFF -- Build lenstool: OFF -- Build with support for SSE: ON -- Build with support for SSE2: ON -- Install helper scripts: ON -- Install prefix: /usr/local -- Using: -- GLIB2 include dir: /usr/include/glib-2.0;/usr/lib64/glib-2.0/include -- GLIB2 library: glib-2.0 -- Configuring done -- Generating done -- Build files have been written to: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build vasyl.tretiakov@localhost ~/Downloads/lensfun-0.3.95/build $ make Scanning dependencies of target lensfun [ 6%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/camera.cpp.o [ 12%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/database.cpp.o [ 18%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/lens.cpp.o [ 25%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/mount.cpp.o [ 31%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/cpuid.cpp.o [ 37%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/mod-color-sse.cpp.o [ 43%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/mod-color-sse2.cpp.o [ 50%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/mod-color.cpp.o [ 56%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/mod-coord-sse.cpp.o [ 62%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/mod-coord.cpp.o [ 68%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/mod-pc.cpp.o [ 75%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/mod-subpix.cpp.o [ 81%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/modifier.cpp.o In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/libs/lensfun/modifier.cpp:7:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h: In constructor ‘lfModifier::lfModifier(float, int, int, lfPixelFormat, bool)’: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:3058:19: warning: ‘lfModifier::PixelFormat’ will be initialized after [-Wreorder] lfPixelFormat PixelFormat; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:3048:12: warning: ‘double lfModifier::Crop’ [-Wreorder] double Crop; ^~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/libs/lensfun/modifier.cpp:132:1: warning: when initialized here [-Wreorder] lfModifier::lfModifier (float imgcrop, int imgwidth, int imgheight, ^~~~~~~~~~ [ 87%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/auxfun.cpp.o [ 93%] Linking CXX shared library liblensfun.so [ 93%] Built target lensfun Scanning dependencies of target python-package [100%] Generating build/timestamp running build running build_py creating build creating build/lib creating build/lib/lensfun copying /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/apps/lensfun/__init__.py -> build/lib/lensfun [100%] Built target python-package vasyl.tretiakov@localhost ~/Downloads/lensfun-0.3.95/build $ cmake ../ -DBUILD_TESTS=ON -DBUILD_LENSTOOL=ON CMake Warning (dev) at /usr/share/cmake/Modules/FindOpenMP.cmake:200 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "c" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): /usr/share/cmake/Modules/FindOpenMP.cmake:324 (_OPENMP_GET_FLAGS) tests/CMakeLists.txt:1 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found OpenMP_C: -fopenmp (found version "4.5") -- Found OpenMP_CXX: -fopenmp (found version "4.5") -- Found OpenMP_C: -fopenmp (found version "4.5") -- Found OpenMP_CXX: -fopenmp (found version "4.5") -- Found PythonInterp: /usr/bin/python (found version "3.5.5") -- Found ZLIB: /usr/lib/libz.so (found version "1.2.11") -- Found PNG: /usr/lib/libpng.so (found version "1.6.34+apng") -- ------------------------------------------------------------------------------------- -- Building Lensfun 0.3.95.0 -- ------------------------------------------------------------------------------------- -- Build as dynamic/shared library -- Build type: Debug -- Build doc: OFF -- Build test suite: ON -- Build lenstool: ON -- Build with support for SSE: ON -- Build with support for SSE2: ON -- Install helper scripts: ON -- Install prefix: /usr/local -- Using: -- GLIB2 include dir: /usr/include/glib-2.0;/usr/lib64/glib-2.0/include -- GLIB2 library: glib-2.0 -- Configuring done -- Generating done -- Build files have been written to: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build vasyl.tretiakov@localhost ~/Downloads/lensfun-0.3.95/build $ make Scanning dependencies of target lensfun [ 1%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/camera.cpp.o [ 2%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/database.cpp.o [ 4%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/lens.cpp.o [ 5%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/mount.cpp.o [ 7%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/cpuid.cpp.o [ 8%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/mod-color-sse.cpp.o [ 10%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/mod-color-sse2.cpp.o [ 11%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/mod-color.cpp.o [ 13%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/mod-coord-sse.cpp.o [ 14%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/mod-coord.cpp.o [ 15%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/mod-pc.cpp.o [ 17%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/mod-subpix.cpp.o [ 18%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/modifier.cpp.o In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/libs/lensfun/modifier.cpp:7:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h: In constructor ‘lfModifier::lfModifier(float, int, int, lfPixelFormat, bool)’: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:3058:19: warning: ‘lfModifier::PixelFormat’ will be initialized after [-Wreorder] lfPixelFormat PixelFormat; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:3048:12: warning: ‘double lfModifier::Crop’ [-Wreorder] double Crop; ^~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/libs/lensfun/modifier.cpp:132:1: warning: when initialized here [-Wreorder] lfModifier::lfModifier (float imgcrop, int imgwidth, int imgheight, ^~~~~~~~~~ [ 20%] Building CXX object libs/lensfun/CMakeFiles/lensfun.dir/auxfun.cpp.o [ 21%] Linking CXX shared library liblensfun.so [ 21%] Built target lensfun Scanning dependencies of target test_lffuzzystrcmp [ 23%] Building CXX object tests/CMakeFiles/test_lffuzzystrcmp.dir/test_lffuzzystrcmp.cpp.o [ 24%] Linking CXX executable test_lffuzzystrcmp [ 24%] Built target test_lffuzzystrcmp Scanning dependencies of target test_modifier_regression_old [ 26%] Building CXX object tests/CMakeFiles/test_modifier_regression_old.dir/test_modifier_regression_old.cpp.o /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp: In function ‘void mod_setup(lfFixture*, gconstpointer)’: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:22:39: warning: ‘bool lfDatabase::LoadDirectory(const char*)’ is deprecated [-Wdeprecated-declarations] lfFix->db->LoadDirectory("data/db"); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1788:22: note: declared here DEPRECATED bool LoadDirectory (const char *dirname); ^~~~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp: In function ‘void mod_teardown(lfFixture*, gconstpointer)’: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:30:24: warning: ‘void lfDatabase::Destroy()’ is deprecated [-Wdeprecated-declarations] lfFix->db->Destroy(); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1757:21: note: declared here DEPRECATED void Destroy (); ^~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp: In function ‘void test_verify_dist_poly3(lfFixture*, gconstpointer)’: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:39:35: warning: ‘static lfModifier* lfModifier::Create(const lfLens*, float, int, int)’ is deprecated [-Wdeprecated-declarations] lfModifier* mod = lfModifier::Create (lenses[0], 1.534f, lfFix->img_width, lfFix->img_height); ^~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2402:35: note: declared here DEPRECATED static lfModifier *Create (const lfLens *lens, float crop, int width, int height); ^~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:39:97: warning: ‘static lfModifier* lfModifier::Create(const lfLens*, float, int, int)’ is deprecated [-Wdeprecated-declarations] lfModifier* mod = lfModifier::Create (lenses[0], 1.534f, lfFix->img_width, lfFix->img_height); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2402:35: note: declared here DEPRECATED static lfModifier *Create (const lfLens *lens, float crop, int width, int height); ^~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:42:55: warning: ‘int lfModifier::Initialize(const lfLens*, lfPixelFormat, float, float, float, float, lfLensType, int, bool)’ is deprecated [-Wdeprecated-declarations] LF_MODIFY_DISTORTION, false); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2449:20: note: declared here DEPRECATED int Initialize ( ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:51:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < sizeof(x) / sizeof(float); i++) ~~^~~~~~~~~~~~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:59:18: warning: ‘void lfModifier::Destroy()’ is deprecated [-Wdeprecated-declarations] mod->Destroy(); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2459:21: note: declared here DEPRECATED void Destroy (); ^~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp: In function ‘void test_verify_dist_poly5(lfFixture*, gconstpointer)’: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:71:35: warning: ‘static lfModifier* lfModifier::Create(const lfLens*, float, int, int)’ is deprecated [-Wdeprecated-declarations] lfModifier* mod = lfModifier::Create (lenses[0], 4.6f, lfFix->img_width, lfFix->img_height); ^~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2402:35: note: declared here DEPRECATED static lfModifier *Create (const lfLens *lens, float crop, int width, int height); ^~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:71:95: warning: ‘static lfModifier* lfModifier::Create(const lfLens*, float, int, int)’ is deprecated [-Wdeprecated-declarations] lfModifier* mod = lfModifier::Create (lenses[0], 4.6f, lfFix->img_width, lfFix->img_height); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2402:35: note: declared here DEPRECATED static lfModifier *Create (const lfLens *lens, float crop, int width, int height); ^~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:74:55: warning: ‘int lfModifier::Initialize(const lfLens*, lfPixelFormat, float, float, float, float, lfLensType, int, bool)’ is deprecated [-Wdeprecated-declarations] LF_MODIFY_DISTORTION, false); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2449:20: note: declared here DEPRECATED int Initialize ( ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:83:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < sizeof(x) / sizeof(float); i++) ~~^~~~~~~~~~~~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:91:18: warning: ‘void lfModifier::Destroy()’ is deprecated [-Wdeprecated-declarations] mod->Destroy(); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2459:21: note: declared here DEPRECATED void Destroy (); ^~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp: In function ‘void test_verify_dist_ptlens(lfFixture*, gconstpointer)’: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:101:35: warning: ‘static lfModifier* lfModifier::Create(const lfLens*, float, int, int)’ is deprecated [-Wdeprecated-declarations] lfModifier* mod = lfModifier::Create (lenses[0], 1.534f, lfFix->img_width, lfFix->img_height); ^~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2402:35: note: declared here DEPRECATED static lfModifier *Create (const lfLens *lens, float crop, int width, int height); ^~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:101:97: warning: ‘static lfModifier* lfModifier::Create(const lfLens*, float, int, int)’ is deprecated [-Wdeprecated-declarations] lfModifier* mod = lfModifier::Create (lenses[0], 1.534f, lfFix->img_width, lfFix->img_height); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2402:35: note: declared here DEPRECATED static lfModifier *Create (const lfLens *lens, float crop, int width, int height); ^~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:104:55: warning: ‘int lfModifier::Initialize(const lfLens*, lfPixelFormat, float, float, float, float, lfLensType, int, bool)’ is deprecated [-Wdeprecated-declarations] LF_MODIFY_DISTORTION, false); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2449:20: note: declared here DEPRECATED int Initialize ( ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:113:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < sizeof(x) / sizeof(float); i++) ~~^~~~~~~~~~~~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:121:18: warning: ‘void lfModifier::Destroy()’ is deprecated [-Wdeprecated-declarations] mod->Destroy(); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2459:21: note: declared here DEPRECATED void Destroy (); ^~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp: In function ‘void test_verify_vignetting_pa(lfFixture*, gconstpointer)’: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:131:35: warning: ‘static lfModifier* lfModifier::Create(const lfLens*, float, int, int)’ is deprecated [-Wdeprecated-declarations] lfModifier* mod = lfModifier::Create (lenses[0], 2.0f, lfFix->img_width, lfFix->img_height); ^~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2402:35: note: declared here DEPRECATED static lfModifier *Create (const lfLens *lens, float crop, int width, int height); ^~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:131:95: warning: ‘static lfModifier* lfModifier::Create(const lfLens*, float, int, int)’ is deprecated [-Wdeprecated-declarations] lfModifier* mod = lfModifier::Create (lenses[0], 2.0f, lfFix->img_width, lfFix->img_height); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2402:35: note: declared here DEPRECATED static lfModifier *Create (const lfLens *lens, float crop, int width, int height); ^~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:134:55: warning: ‘int lfModifier::Initialize(const lfLens*, lfPixelFormat, float, float, float, float, lfLensType, int, bool)’ is deprecated [-Wdeprecated-declarations] LF_MODIFY_VIGNETTING, false); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2449:20: note: declared here DEPRECATED int Initialize ( ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:142:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < sizeof(x) / sizeof(float); i++) ~~^~~~~~~~~~~~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:151:18: warning: ‘void lfModifier::Destroy()’ is deprecated [-Wdeprecated-declarations] mod->Destroy(); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2459:21: note: declared here DEPRECATED void Destroy (); ^~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp: In function ‘void test_verify_subpix_linear(lfFixture*, gconstpointer)’: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:161:35: warning: ‘static lfModifier* lfModifier::Create(const lfLens*, float, int, int)’ is deprecated [-Wdeprecated-declarations] lfModifier* mod = lfModifier::Create (lenses[0], 2.0f, lfFix->img_width, lfFix->img_height); ^~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2402:35: note: declared here DEPRECATED static lfModifier *Create (const lfLens *lens, float crop, int width, int height); ^~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:161:95: warning: ‘static lfModifier* lfModifier::Create(const lfLens*, float, int, int)’ is deprecated [-Wdeprecated-declarations] lfModifier* mod = lfModifier::Create (lenses[0], 2.0f, lfFix->img_width, lfFix->img_height); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2402:35: note: declared here DEPRECATED static lfModifier *Create (const lfLens *lens, float crop, int width, int height); ^~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:164:48: warning: ‘int lfModifier::Initialize(const lfLens*, lfPixelFormat, float, float, float, float, lfLensType, int, bool)’ is deprecated [-Wdeprecated-declarations] LF_MODIFY_TCA, false); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2449:20: note: declared here DEPRECATED int Initialize ( ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:177:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < sizeof(x) / sizeof(float); i++) ~~^~~~~~~~~~~~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:185:18: warning: ‘void lfModifier::Destroy()’ is deprecated [-Wdeprecated-declarations] mod->Destroy(); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2459:21: note: declared here DEPRECATED void Destroy (); ^~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp: In function ‘void test_verify_subpix_poly3(lfFixture*, gconstpointer)’: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:195:35: warning: ‘static lfModifier* lfModifier::Create(const lfLens*, float, int, int)’ is deprecated [-Wdeprecated-declarations] lfModifier* mod = lfModifier::Create (lenses[0], 2.0f, lfFix->img_width, lfFix->img_height); ^~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2402:35: note: declared here DEPRECATED static lfModifier *Create (const lfLens *lens, float crop, int width, int height); ^~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:195:95: warning: ‘static lfModifier* lfModifier::Create(const lfLens*, float, int, int)’ is deprecated [-Wdeprecated-declarations] lfModifier* mod = lfModifier::Create (lenses[0], 2.0f, lfFix->img_width, lfFix->img_height); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2402:35: note: declared here DEPRECATED static lfModifier *Create (const lfLens *lens, float crop, int width, int height); ^~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:198:48: warning: ‘int lfModifier::Initialize(const lfLens*, lfPixelFormat, float, float, float, float, lfLensType, int, bool)’ is deprecated [-Wdeprecated-declarations] LF_MODIFY_TCA, false); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2449:20: note: declared here DEPRECATED int Initialize ( ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:210:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < sizeof(x) / sizeof(float); i++) ~~^~~~~~~~~~~~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:219:18: warning: ‘void lfModifier::Destroy()’ is deprecated [-Wdeprecated-declarations] mod->Destroy(); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2459:21: note: declared here DEPRECATED void Destroy (); ^~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp: In function ‘void test_verify_geom_fisheye_rectlinear(lfFixture*, gconstpointer)’: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:230:35: warning: ‘static lfModifier* lfModifier::Create(const lfLens*, float, int, int)’ is deprecated [-Wdeprecated-declarations] lfModifier* mod = lfModifier::Create (lenses[0], 2.0f, lfFix->img_width, lfFix->img_height); ^~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2402:35: note: declared here DEPRECATED static lfModifier *Create (const lfLens *lens, float crop, int width, int height); ^~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:230:95: warning: ‘static lfModifier* lfModifier::Create(const lfLens*, float, int, int)’ is deprecated [-Wdeprecated-declarations] lfModifier* mod = lfModifier::Create (lenses[0], 2.0f, lfFix->img_width, lfFix->img_height); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2402:35: note: declared here DEPRECATED static lfModifier *Create (const lfLens *lens, float crop, int width, int height); ^~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:233:53: warning: ‘int lfModifier::Initialize(const lfLens*, lfPixelFormat, float, float, float, float, lfLensType, int, bool)’ is deprecated [-Wdeprecated-declarations] LF_MODIFY_GEOMETRY, false); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2449:20: note: declared here DEPRECATED int Initialize ( ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:242:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < sizeof(x) / sizeof(float); i++) ~~^~~~~~~~~~~~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:250:18: warning: ‘void lfModifier::Destroy()’ is deprecated [-Wdeprecated-declarations] mod->Destroy(); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression_old.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2459:21: note: declared here DEPRECATED void Destroy (); ^~~~~~~ [ 27%] Linking CXX executable test_modifier_regression_old [ 27%] Built target test_modifier_regression_old Scanning dependencies of target test_modifier_coord_centering_old [ 28%] Building CXX object tests/CMakeFiles/test_modifier_coord_centering_old.dir/test_modifier_coord_centering_old.cpp.o /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_centering_old.cpp: In function ‘void mod_setup(lfFixture*, gconstpointer)’: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_centering_old.cpp:30:18: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lfFix->lens->CropFactor = 1.0f; ^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_centering_old.cpp:10:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_centering_old.cpp:30:18: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lfFix->lens->CropFactor = 1.0f; ^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_centering_old.cpp:10:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_centering_old.cpp:30:18: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lfFix->lens->CropFactor = 1.0f; ^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_centering_old.cpp:10:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_centering_old.cpp:31:18: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lfFix->lens->AspectRatio = 3.0f / 2.0f; ^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_centering_old.cpp:10:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_centering_old.cpp:31:18: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lfFix->lens->AspectRatio = 3.0f / 2.0f; ^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_centering_old.cpp:10:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_centering_old.cpp:31:18: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lfFix->lens->AspectRatio = 3.0f / 2.0f; ^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_centering_old.cpp:10:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_centering_old.cpp:32:18: warning: ‘lfLens::CenterX’ is deprecated [-Wdeprecated-declarations] lfFix->lens->CenterX = 0.1f; ^~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_centering_old.cpp:10:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1073:22: note: declared here DEPRECATED float CenterX; ^~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_centering_old.cpp:32:18: warning: ‘lfLens::CenterX’ is deprecated [-Wdeprecated-declarations] lfFix->lens->CenterX = 0.1f; ^~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_centering_old.cpp:10:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1073:22: note: declared here DEPRECATED float CenterX; ^~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_centering_old.cpp:32:18: warning: ‘lfLens::CenterX’ is deprecated [-Wdeprecated-declarations] lfFix->lens->CenterX = 0.1f; ^~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_centering_old.cpp:10:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1073:22: note: declared here DEPRECATED float CenterX; ^~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_centering_old.cpp:33:18: warning: ‘lfLens::CenterY’ is deprecated [-Wdeprecated-declarations] lfFix->lens->CenterY = 0.1f; ^~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_centering_old.cpp:10:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1075:22: note: declared here DEPRECATED float CenterY; ^~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_centering_old.cpp:33:18: warning: ‘lfLens::CenterY’ is deprecated [-Wdeprecated-declarations] lfFix->lens->CenterY = 0.1f; ^~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_centering_old.cpp:10:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1075:22: note: declared here DEPRECATED float CenterY; ^~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_centering_old.cpp:33:18: warning: ‘lfLens::CenterY’ is deprecated [-Wdeprecated-declarations] lfFix->lens->CenterY = 0.1f; ^~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_centering_old.cpp:10:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1075:22: note: declared here DEPRECATED float CenterY; ^~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_centering_old.cpp:39:89: warning: ‘lfModifier::lfModifier(const lfLens*, float, int, int)’ is deprecated [-Wdeprecated-declarations] lfFix->mod = new lfModifier (lfFix->lens, 10.0f, lfFix->img_width, lfFix->img_height); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_centering_old.cpp:10:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2374:16: note: declared here DEPRECATED lfModifier (const lfLens *lens, float crop, int width, int height); ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_centering_old.cpp:42:55: warning: ‘int lfModifier::Initialize(const lfLens*, lfPixelFormat, float, float, float, float, lfLensType, int, bool)’ is deprecated [-Wdeprecated-declarations] LF_MODIFY_DISTORTION, true); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_centering_old.cpp:10:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2449:20: note: declared here DEPRECATED int Initialize ( ^~~~~~~~~~ [ 30%] Linking CXX executable test_modifier_coord_centering_old [ 30%] Built target test_modifier_coord_centering_old Scanning dependencies of target test_modifier_coord_tiny_image_old [ 31%] Building CXX object tests/CMakeFiles/test_modifier_coord_tiny_image_old.dir/test_modifier_coord_tiny_image_old.cpp.o /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_tiny_image_old.cpp: In function ‘void mod_setup(lfFixture*, gconstpointer)’: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_tiny_image_old.cpp:32:88: warning: ‘lfModifier::lfModifier(const lfLens*, float, int, int)’ is deprecated [-Wdeprecated-declarations] lfFix->mod = new lfModifier (lfFix->lens, 1.0f, lfFix->img_width, lfFix->img_height); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_tiny_image_old.cpp:9:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2374:16: note: declared here DEPRECATED lfModifier (const lfLens *lens, float crop, int width, int height); ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_tiny_image_old.cpp:35:50: warning: ‘int lfModifier::Initialize(const lfLens*, lfPixelFormat, float, float, float, float, lfLensType, int, bool)’ is deprecated [-Wdeprecated-declarations] LF_MODIFY_SCALE, true); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_tiny_image_old.cpp:9:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2449:20: note: declared here DEPRECATED int Initialize ( ^~~~~~~~~~ [ 33%] Linking CXX executable test_modifier_coord_tiny_image_old [ 33%] Built target test_modifier_coord_tiny_image_old Scanning dependencies of target test_modifier_coord_geometry_old [ 34%] Building CXX object tests/CMakeFiles/test_modifier_coord_geometry_old.dir/test_modifier_coord_geometry_old.cpp.o /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_geometry_old.cpp: In function ‘void mod_setup(lfFixture*, gconstpointer)’: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_geometry_old.cpp:54:85: warning: ‘lfModifier::lfModifier(const lfLens*, float, int, int)’ is deprecated [-Wdeprecated-declarations] lfFix->mod = new lfModifier(lfFix->lens, 1.0f, lfFix->img_width, lfFix->img_height); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_geometry_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2374:16: note: declared here DEPRECATED lfModifier (const lfLens *lens, float crop, int width, int height); ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_geometry_old.cpp:59:35: warning: ‘int lfModifier::Initialize(const lfLens*, lfPixelFormat, float, float, float, float, lfLensType, int, bool)’ is deprecated [-Wdeprecated-declarations] LF_MODIFY_GEOMETRY, p->reverse); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_geometry_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2449:20: note: declared here DEPRECATED int Initialize ( ^~~~~~~~~~ [ 36%] Linking CXX executable test_modifier_coord_geometry_old [ 36%] Built target test_modifier_coord_geometry_old Scanning dependencies of target test_modifier_coord_perspective_correction_old [ 37%] Building CXX object tests/CMakeFiles/test_modifier_coord_perspective_correction_old.dir/test_modifier_coord_perspective_correction_old.cpp.o /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_perspective_correction_old.cpp: In function ‘void mod_setup(lfFixture*, gconstpointer)’: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_perspective_correction_old.cpp:29:30: warning: ‘static lfModifier* lfModifier::Create(const lfLens*, float, int, int)’ is deprecated [-Wdeprecated-declarations] lfFix->mod = lfModifier::Create (lfFix->lens, 1.534f, lfFix->img_width, lfFix->img_height); ^~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_perspective_correction_old.cpp:5:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2402:35: note: declared here DEPRECATED static lfModifier *Create (const lfLens *lens, float crop, int width, int height); ^~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_perspective_correction_old.cpp:29:94: warning: ‘static lfModifier* lfModifier::Create(const lfLens*, float, int, int)’ is deprecated [-Wdeprecated-declarations] lfFix->mod = lfModifier::Create (lfFix->lens, 1.534f, lfFix->img_width, lfFix->img_height); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_perspective_correction_old.cpp:5:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2402:35: note: declared here DEPRECATED static lfModifier *Create (const lfLens *lens, float crop, int width, int height); ^~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_perspective_correction_old.cpp:32:36: warning: ‘int lfModifier::Initialize(const lfLens*, lfPixelFormat, float, float, float, float, lfLensType, int, bool)’ is deprecated [-Wdeprecated-declarations] 0, false); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_perspective_correction_old.cpp:5:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2449:20: note: declared here DEPRECATED int Initialize ( ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_perspective_correction_old.cpp: In function ‘void mod_setup_portrait(lfFixture*, gconstpointer)’: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_perspective_correction_old.cpp:52:30: warning: ‘static lfModifier* lfModifier::Create(const lfLens*, float, int, int)’ is deprecated [-Wdeprecated-declarations] lfFix->mod = lfModifier::Create (lfFix->lens, 1.534f, lfFix->img_width, lfFix->img_height); ^~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_perspective_correction_old.cpp:5:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2402:35: note: declared here DEPRECATED static lfModifier *Create (const lfLens *lens, float crop, int width, int height); ^~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_perspective_correction_old.cpp:52:94: warning: ‘static lfModifier* lfModifier::Create(const lfLens*, float, int, int)’ is deprecated [-Wdeprecated-declarations] lfFix->mod = lfModifier::Create (lfFix->lens, 1.534f, lfFix->img_width, lfFix->img_height); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_perspective_correction_old.cpp:5:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2402:35: note: declared here DEPRECATED static lfModifier *Create (const lfLens *lens, float crop, int width, int height); ^~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_perspective_correction_old.cpp:55:36: warning: ‘int lfModifier::Initialize(const lfLens*, lfPixelFormat, float, float, float, float, lfLensType, int, bool)’ is deprecated [-Wdeprecated-declarations] 0, false); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_perspective_correction_old.cpp:5:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2449:20: note: declared here DEPRECATED int Initialize ( ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_perspective_correction_old.cpp: In function ‘void mod_teardown(lfFixture*, gconstpointer)’: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_perspective_correction_old.cpp:67:25: warning: ‘void lfModifier::Destroy()’ is deprecated [-Wdeprecated-declarations] lfFix->mod->Destroy(); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_perspective_correction_old.cpp:5:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2459:21: note: declared here DEPRECATED void Destroy (); ^~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_perspective_correction_old.cpp: In function ‘void test_mod_coord_pc_0_points(lfFixture*, gconstpointer)’: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_perspective_correction_old.cpp:168:17: warning: unused variable ‘epsilon’ [-Wunused-variable] const float epsilon = std::numeric_limits::epsilon(); ^~~~~~~ [ 39%] Linking CXX executable test_modifier_coord_perspective_correction_old [ 39%] Built target test_modifier_coord_perspective_correction_old Scanning dependencies of target test_modifier_coord_scale_old [ 40%] Building CXX object tests/CMakeFiles/test_modifier_coord_scale_old.dir/test_modifier_coord_scale_old.cpp.o /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_scale_old.cpp: In function ‘void mod_setup(lfFixture*, gconstpointer)’: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_scale_old.cpp:51:85: warning: ‘lfModifier::lfModifier(const lfLens*, float, int, int)’ is deprecated [-Wdeprecated-declarations] lfFix->mod = new lfModifier(lfFix->lens, 1.0f, lfFix->img_width, lfFix->img_height); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_scale_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2374:16: note: declared here DEPRECATED lfModifier (const lfLens *lens, float crop, int width, int height); ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_scale_old.cpp:56:32: warning: ‘int lfModifier::Initialize(const lfLens*, lfPixelFormat, float, float, float, float, lfLensType, int, bool)’ is deprecated [-Wdeprecated-declarations] LF_MODIFY_SCALE, p->reverse); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_scale_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2449:20: note: declared here DEPRECATED int Initialize ( ^~~~~~~~~~ [ 42%] Linking CXX executable test_modifier_coord_scale_old [ 42%] Built target test_modifier_coord_scale_old Scanning dependencies of target test_modifier_subpix_old [ 43%] Building CXX object tests/CMakeFiles/test_modifier_subpix_old.dir/test_modifier_subpix_old.cpp.o /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_subpix_old.cpp: In function ‘void mod_setup(lfFixture*, gconstpointer)’: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_subpix_old.cpp:47:16: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lfFix->lens->CropFactor = 1.0; ^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_subpix_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_subpix_old.cpp:47:16: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lfFix->lens->CropFactor = 1.0; ^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_subpix_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_subpix_old.cpp:47:16: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lfFix->lens->CropFactor = 1.0; ^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_subpix_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_subpix_old.cpp:48:16: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lfFix->lens->AspectRatio = 1.5; ^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_subpix_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_subpix_old.cpp:48:16: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lfFix->lens->AspectRatio = 1.5; ^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_subpix_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_subpix_old.cpp:48:16: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lfFix->lens->AspectRatio = 1.5; ^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_subpix_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_subpix_old.cpp:55:85: warning: ‘lfModifier::lfModifier(const lfLens*, float, int, int)’ is deprecated [-Wdeprecated-declarations] lfFix->mod = new lfModifier(lfFix->lens, 1.0f, lfFix->img_width, lfFix->img_height); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_subpix_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2374:16: note: declared here DEPRECATED lfModifier (const lfLens *lens, float crop, int width, int height); ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_subpix_old.cpp:60:30: warning: ‘int lfModifier::Initialize(const lfLens*, lfPixelFormat, float, float, float, float, lfLensType, int, bool)’ is deprecated [-Wdeprecated-declarations] LF_MODIFY_TCA, p->reverse); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_subpix_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2449:20: note: declared here DEPRECATED int Initialize ( ^~~~~~~~~~ [ 44%] Linking CXX executable test_modifier_subpix_old [ 44%] Built target test_modifier_subpix_old Scanning dependencies of target test_modifier_color [ 46%] Building CXX object tests/CMakeFiles/test_modifier_color.dir/test_modifier_color.cpp.o [ 47%] Linking CXX executable test_modifier_color [ 47%] Built target test_modifier_color Scanning dependencies of target test_modifier [ 49%] Building CXX object tests/CMakeFiles/test_modifier.dir/test_modifier.cpp.o [ 50%] Linking CXX executable test_modifier [ 50%] Built target test_modifier Scanning dependencies of target test_modifier_subpix [ 52%] Building CXX object tests/CMakeFiles/test_modifier_subpix.dir/test_modifier_subpix.cpp.o [ 53%] Linking CXX executable test_modifier_subpix [ 53%] Built target test_modifier_subpix Scanning dependencies of target test_modifier_old [ 55%] Building CXX object tests/CMakeFiles/test_modifier_old.dir/test_modifier_old.cpp.o /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_old.cpp: In function ‘void mod_setup(lfFixture*, gconstpointer)’: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_old.cpp:20:18: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lfFix->lens->CropFactor = 1.0; ^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_old.cpp:7:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_old.cpp:20:18: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lfFix->lens->CropFactor = 1.0; ^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_old.cpp:7:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_old.cpp:20:18: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lfFix->lens->CropFactor = 1.0; ^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_old.cpp:7:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_old.cpp:21:18: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lfFix->lens->AspectRatio = 1.0; ^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_old.cpp:7:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_old.cpp:21:18: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lfFix->lens->AspectRatio = 1.0; ^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_old.cpp:7:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_old.cpp:21:18: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lfFix->lens->AspectRatio = 1.0; ^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_old.cpp:7:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_old.cpp: In function ‘void test_mod_projection_center(lfFixture*, gconstpointer)’: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_old.cpp:57:96: warning: ‘lfModifier::lfModifier(const lfLens*, float, int, int)’ is deprecated [-Wdeprecated-declarations] lfFix->mod = new lfModifier (lfFix->lens, 1.0f, lfFix->img_width, lfFix->img_height); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_old.cpp:7:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2374:16: note: declared here DEPRECATED lfModifier (const lfLens *lens, float crop, int width, int height); ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_old.cpp:61:42: warning: ‘int lfModifier::Initialize(const lfLens*, lfPixelFormat, float, float, float, float, lfLensType, int, bool)’ is deprecated [-Wdeprecated-declarations] LF_MODIFY_GEOMETRY, false); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_old.cpp:7:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2449:20: note: declared here DEPRECATED int Initialize ( ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_old.cpp: In function ‘void test_mod_projection_borders(lfFixture*, gconstpointer)’: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_old.cpp:98:96: warning: ‘lfModifier::lfModifier(const lfLens*, float, int, int)’ is deprecated [-Wdeprecated-declarations] lfFix->mod = new lfModifier (lfFix->lens, 1.0f, lfFix->img_width, lfFix->img_height); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_old.cpp:7:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2374:16: note: declared here DEPRECATED lfModifier (const lfLens *lens, float crop, int width, int height); ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_old.cpp:102:42: warning: ‘int lfModifier::Initialize(const lfLens*, lfPixelFormat, float, float, float, float, lfLensType, int, bool)’ is deprecated [-Wdeprecated-declarations] LF_MODIFY_GEOMETRY, false); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_old.cpp:7:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2449:20: note: declared here DEPRECATED int Initialize ( ^~~~~~~~~~ [ 56%] Linking CXX executable test_modifier_old [ 56%] Built target test_modifier_old Scanning dependencies of target test_modifier_performance [ 57%] Building CXX object tests/CMakeFiles/test_modifier_performance.dir/test_modifier_performance.cpp.o /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_performance.cpp: In function ‘void mod_setup(lfFixture*, gconstpointer)’: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_performance.cpp:24:39: warning: ‘bool lfDatabase::LoadDirectory(const char*)’ is deprecated [-Wdeprecated-declarations] lfFix->db->LoadDirectory("data/db"); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_performance.cpp:8:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1788:22: note: declared here DEPRECATED bool LoadDirectory (const char *dirname); ^~~~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_performance.cpp: In function ‘void mod_teardown(lfFixture*, gconstpointer)’: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_performance.cpp:32:24: warning: ‘void lfDatabase::Destroy()’ is deprecated [-Wdeprecated-declarations] lfFix->db->Destroy(); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_performance.cpp:8:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1757:21: note: declared here DEPRECATED void Destroy (); ^~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_performance.cpp: In function ‘void interp_row_nearest(unsigned char**, unsigned int, unsigned int, unsigned int, float*)’: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_performance.cpp:38:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int c = 0; c=width) ~^~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_performance.cpp:49:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (y>=height) ~^~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_performance.cpp: In function ‘void test_perf_dist_ptlens(lfFixture*, gconstpointer)’: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_performance.cpp:66:93: warning: ‘lfModifier::lfModifier(const lfLens*, float, int, int)’ is deprecated [-Wdeprecated-declarations] lfModifier* mod = new lfModifier (lenses[0], 1.534f, lfFix->img_width, lfFix->img_height); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_performance.cpp:8:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2374:16: note: declared here DEPRECATED lfModifier (const lfLens *lens, float crop, int width, int height); ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_performance.cpp:69:56: warning: ‘int lfModifier::Initialize(const lfLens*, lfPixelFormat, float, float, float, float, lfLensType, int, bool)’ is deprecated [-Wdeprecated-declarations] LF_MODIFY_DISTORTION, false); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_performance.cpp:8:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2449:20: note: declared here DEPRECATED int Initialize ( ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_performance.cpp:73:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int r = 0; r < lfFix->img_height; r++) ~~^~~~~~~~~~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_performance.cpp:78:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int r = 0; r < lfFix->img_height; r++) ~~^~~~~~~~~~~~~~~~~~~ [ 59%] Linking CXX executable test_modifier_performance [ 59%] Built target test_modifier_performance Scanning dependencies of target test_modifier_coord_tiny_image [ 60%] Building CXX object tests/CMakeFiles/test_modifier_coord_tiny_image.dir/test_modifier_coord_tiny_image.cpp.o [ 62%] Linking CXX executable test_modifier_coord_tiny_image [ 62%] Built target test_modifier_coord_tiny_image Scanning dependencies of target test_modifier_regression [ 63%] Building CXX object tests/CMakeFiles/test_modifier_regression.dir/test_modifier_regression.cpp.o /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp: In function ‘void test_verify_dist_poly3(lfFixture*, gconstpointer)’: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:66:11: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lens->CropFactor = lenses[0]->CropFactor; ^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:66:11: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lens->CropFactor = lenses[0]->CropFactor; ^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:66:11: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lens->CropFactor = lenses[0]->CropFactor; ^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:66:35: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lens->CropFactor = lenses[0]->CropFactor; ^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:66:35: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lens->CropFactor = lenses[0]->CropFactor; ^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:66:35: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lens->CropFactor = lenses[0]->CropFactor; ^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:67:11: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lens->AspectRatio = lenses[0]->AspectRatio; ^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:67:11: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lens->AspectRatio = lenses[0]->AspectRatio; ^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:67:11: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lens->AspectRatio = lenses[0]->AspectRatio; ^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:67:36: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lens->AspectRatio = lenses[0]->AspectRatio; ^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:67:36: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lens->AspectRatio = lenses[0]->AspectRatio; ^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:67:36: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lens->AspectRatio = lenses[0]->AspectRatio; ^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp: In function ‘void test_verify_vignetting_pa(lfFixture*, gconstpointer)’: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:178:74: warning: ‘bool lfLens::InterpolateVignetting(float, float, float, lfLensCalibVignetting&) const’ is deprecated [-Wdeprecated-declarations] lenses[0]->InterpolateVignetting(17.89f, 5.0f, 1000.0f, lensCalibVign); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1427:21: note: declared here DEPRECATED bool InterpolateVignetting ( ^~~~~~~~~~~~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:181:11: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lens->CropFactor = lenses[0]->CropFactor; ^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:181:11: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lens->CropFactor = lenses[0]->CropFactor; ^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:181:11: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lens->CropFactor = lenses[0]->CropFactor; ^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:181:35: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lens->CropFactor = lenses[0]->CropFactor; ^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:181:35: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lens->CropFactor = lenses[0]->CropFactor; ^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:181:35: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lens->CropFactor = lenses[0]->CropFactor; ^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:182:11: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lens->AspectRatio = lenses[0]->AspectRatio; ^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:182:11: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lens->AspectRatio = lenses[0]->AspectRatio; ^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:182:11: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lens->AspectRatio = lenses[0]->AspectRatio; ^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:182:36: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lens->AspectRatio = lenses[0]->AspectRatio; ^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:182:36: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lens->AspectRatio = lenses[0]->AspectRatio; ^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:182:36: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lens->AspectRatio = lenses[0]->AspectRatio; ^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp: In function ‘void test_verify_subpix_poly3(lfFixture*, gconstpointer)’: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:271:51: warning: ‘bool lfLens::InterpolateTCA(float, lfLensCalibTCA&) const’ is deprecated [-Wdeprecated-declarations] lenses[0]->InterpolateTCA(26.89f, lensCalibTCA); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1395:21: note: declared here DEPRECATED bool InterpolateTCA (float focal, lfLensCalibTCA &res) const; ^~~~~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:274:11: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lens->CropFactor = lenses[0]->CropFactor; ^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:274:11: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lens->CropFactor = lenses[0]->CropFactor; ^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:274:11: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lens->CropFactor = lenses[0]->CropFactor; ^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:274:35: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lens->CropFactor = lenses[0]->CropFactor; ^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:274:35: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lens->CropFactor = lenses[0]->CropFactor; ^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:274:35: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lens->CropFactor = lenses[0]->CropFactor; ^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:275:11: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lens->AspectRatio = lenses[0]->AspectRatio; ^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:275:11: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lens->AspectRatio = lenses[0]->AspectRatio; ^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:275:11: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lens->AspectRatio = lenses[0]->AspectRatio; ^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:275:36: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lens->AspectRatio = lenses[0]->AspectRatio; ^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:275:36: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lens->AspectRatio = lenses[0]->AspectRatio; ^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:275:36: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lens->AspectRatio = lenses[0]->AspectRatio; ^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_regression.cpp:6:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ [ 65%] Linking CXX executable test_modifier_regression [ 65%] Built target test_modifier_regression Scanning dependencies of target test_lens [ 66%] Building CXX object tests/CMakeFiles/test_lens.dir/test_lens.cpp.o [ 68%] Linking CXX executable test_lens [ 68%] Built target test_lens Scanning dependencies of target test_modifier_coord_scale [ 69%] Building CXX object tests/CMakeFiles/test_modifier_coord_scale.dir/test_modifier_coord_scale.cpp.o [ 71%] Linking CXX executable test_modifier_coord_scale [ 71%] Built target test_modifier_coord_scale Scanning dependencies of target test_database_old [ 72%] Building CXX object tests/CMakeFiles/test_database_old.dir/test_database_old.cpp.o /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_database_old.cpp: In function ‘void db_setup(lfFixture*, gconstpointer)’: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_database_old.cpp:13:39: warning: ‘bool lfDatabase::LoadDirectory(const char*)’ is deprecated [-Wdeprecated-declarations] lfFix->db->LoadDirectory("data/db"); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_database_old.cpp:3:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1788:22: note: declared here DEPRECATED bool LoadDirectory (const char *dirname); ^~~~~~~~~~~~~ [ 73%] Linking CXX executable test_database_old [ 73%] Built target test_database_old Scanning dependencies of target test_modifier_coord_perspective_correction [ 75%] Building CXX object tests/CMakeFiles/test_modifier_coord_perspective_correction.dir/test_modifier_coord_perspective_correction.cpp.o /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_perspective_correction.cpp: In function ‘void test_mod_coord_pc_0_points(lfFixture*, gconstpointer)’: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_perspective_correction.cpp:157:17: warning: unused variable ‘epsilon’ [-Wunused-variable] const float epsilon = std::numeric_limits::epsilon(); ^~~~~~~ [ 76%] Linking CXX executable test_modifier_coord_perspective_correction [ 76%] Built target test_modifier_coord_perspective_correction Scanning dependencies of target test_modifier_coord_geometry [ 78%] Building CXX object tests/CMakeFiles/test_modifier_coord_geometry.dir/test_modifier_coord_geometry.cpp.o [ 79%] Linking CXX executable test_modifier_coord_geometry [ 79%] Built target test_modifier_coord_geometry Scanning dependencies of target test_modifier_coord_centering [ 81%] Building CXX object tests/CMakeFiles/test_modifier_coord_centering.dir/test_modifier_coord_centering.cpp.o [ 82%] Linking CXX executable test_modifier_coord_centering [ 82%] Built target test_modifier_coord_centering Scanning dependencies of target test_modifier_coord_distortion_old [ 84%] Building CXX object tests/CMakeFiles/test_modifier_coord_distortion_old.dir/test_modifier_coord_distortion_old.cpp.o /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_distortion_old.cpp: In function ‘void mod_setup(lfFixture*, gconstpointer)’: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_distortion_old.cpp:47:16: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lfFix->lens->CropFactor = 1.0; ^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_distortion_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_distortion_old.cpp:47:16: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lfFix->lens->CropFactor = 1.0; ^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_distortion_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_distortion_old.cpp:47:16: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lfFix->lens->CropFactor = 1.0; ^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_distortion_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_distortion_old.cpp:48:16: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lfFix->lens->AspectRatio = 1.5; ^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_distortion_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_distortion_old.cpp:48:16: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lfFix->lens->AspectRatio = 1.5; ^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_distortion_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_distortion_old.cpp:48:16: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lfFix->lens->AspectRatio = 1.5; ^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_distortion_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_distortion_old.cpp:55:85: warning: ‘lfModifier::lfModifier(const lfLens*, float, int, int)’ is deprecated [-Wdeprecated-declarations] lfFix->mod = new lfModifier(lfFix->lens, 1.0f, lfFix->img_width, lfFix->img_height); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_distortion_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2374:16: note: declared here DEPRECATED lfModifier (const lfLens *lens, float crop, int width, int height); ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_distortion_old.cpp:60:37: warning: ‘int lfModifier::Initialize(const lfLens*, lfPixelFormat, float, float, float, float, lfLensType, int, bool)’ is deprecated [-Wdeprecated-declarations] LF_MODIFY_DISTORTION, p->reverse); ^ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_coord_distortion_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2449:20: note: declared here DEPRECATED int Initialize ( ^~~~~~~~~~ [ 85%] Linking CXX executable test_modifier_coord_distortion_old [ 85%] Built target test_modifier_coord_distortion_old Scanning dependencies of target test_modifier_coord_distortion [ 86%] Building CXX object tests/CMakeFiles/test_modifier_coord_distortion.dir/test_modifier_coord_distortion.cpp.o [ 88%] Linking CXX executable test_modifier_coord_distortion [ 88%] Built target test_modifier_coord_distortion Scanning dependencies of target test_database [ 89%] Building CXX object tests/CMakeFiles/test_database.dir/test_database.cpp.o [ 91%] Linking CXX executable test_database [ 91%] Built target test_database Scanning dependencies of target test_modifier_color_old [ 92%] Building CXX object tests/CMakeFiles/test_modifier_color_old.dir/test_modifier_color_old.cpp.o /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp: In function ‘void mod_setup(lfFixture*, gconstpointer)’: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:101:16: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lfFix->lens->CropFactor = 1.0; ^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:101:16: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lfFix->lens->CropFactor = 1.0; ^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:101:16: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lfFix->lens->CropFactor = 1.0; ^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:102:16: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lfFix->lens->AspectRatio = 1.5; ^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:102:16: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lfFix->lens->AspectRatio = 1.5; ^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:102:16: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lfFix->lens->AspectRatio = 1.5; ^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp: In instantiation of ‘void mod_setup(lfFixture*, gconstpointer) [with T = unsigned char; gconstpointer = const void*]’: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:198:3: required from ‘void add_set_item(lfTestParams*, const char*) [with T = unsigned char]’ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:212:41: required from here /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:101:16: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lfFix->lens->CropFactor = 1.0; ~~~~~~~~~~~~~^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:101:16: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lfFix->lens->CropFactor = 1.0; ~~~~~~~~~~~~~^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:101:16: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lfFix->lens->CropFactor = 1.0; ~~~~~~~~~~~~~^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:102:16: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lfFix->lens->AspectRatio = 1.5; ~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:102:16: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lfFix->lens->AspectRatio = 1.5; ~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:102:16: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lfFix->lens->AspectRatio = 1.5; ~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:111:16: warning: ‘lfModifier::lfModifier(const lfLens*, float, int, int)’ is deprecated [-Wdeprecated-declarations] lfFix->mod = new lfModifier(lfFix->lens, 1.0f, lfFix->img_width, lfFix->img_height); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2374:16: note: declared here DEPRECATED lfModifier (const lfLens *lens, float crop, int width, int height); ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:113:15: warning: ‘int lfModifier::Initialize(const lfLens*, lfPixelFormat, float, float, float, float, lfLensType, int, bool)’ is deprecated [-Wdeprecated-declarations] lfFix->mod->Initialize( ~~~~~~~~~~~~^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2449:20: note: declared here DEPRECATED int Initialize ( ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:113:3: warning: ‘int lfModifier::Initialize(const lfLens*, lfPixelFormat, float, float, float, float, lfLensType, int, bool)’ is deprecated [-Wdeprecated-declarations] lfFix->mod->Initialize( ^~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2449:20: note: declared here DEPRECATED int Initialize ( ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp: In instantiation of ‘void mod_setup(lfFixture*, gconstpointer) [with T = short unsigned int; gconstpointer = const void*]’: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:198:3: required from ‘void add_set_item(lfTestParams*, const char*) [with T = short unsigned int]’ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:213:43: required from here /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:101:16: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lfFix->lens->CropFactor = 1.0; ~~~~~~~~~~~~~^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:101:16: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lfFix->lens->CropFactor = 1.0; ~~~~~~~~~~~~~^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:101:16: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lfFix->lens->CropFactor = 1.0; ~~~~~~~~~~~~~^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:102:16: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lfFix->lens->AspectRatio = 1.5; ~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:102:16: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lfFix->lens->AspectRatio = 1.5; ~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:102:16: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lfFix->lens->AspectRatio = 1.5; ~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:111:16: warning: ‘lfModifier::lfModifier(const lfLens*, float, int, int)’ is deprecated [-Wdeprecated-declarations] lfFix->mod = new lfModifier(lfFix->lens, 1.0f, lfFix->img_width, lfFix->img_height); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2374:16: note: declared here DEPRECATED lfModifier (const lfLens *lens, float crop, int width, int height); ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:113:15: warning: ‘int lfModifier::Initialize(const lfLens*, lfPixelFormat, float, float, float, float, lfLensType, int, bool)’ is deprecated [-Wdeprecated-declarations] lfFix->mod->Initialize( ~~~~~~~~~~~~^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2449:20: note: declared here DEPRECATED int Initialize ( ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:113:3: warning: ‘int lfModifier::Initialize(const lfLens*, lfPixelFormat, float, float, float, float, lfLensType, int, bool)’ is deprecated [-Wdeprecated-declarations] lfFix->mod->Initialize( ^~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2449:20: note: declared here DEPRECATED int Initialize ( ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp: In instantiation of ‘void mod_setup(lfFixture*, gconstpointer) [with T = unsigned int; gconstpointer = const void*]’: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:198:3: required from ‘void add_set_item(lfTestParams*, const char*) [with T = unsigned int]’ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:214:41: required from here /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:101:16: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lfFix->lens->CropFactor = 1.0; ~~~~~~~~~~~~~^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:101:16: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lfFix->lens->CropFactor = 1.0; ~~~~~~~~~~~~~^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:101:16: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lfFix->lens->CropFactor = 1.0; ~~~~~~~~~~~~~^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:102:16: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lfFix->lens->AspectRatio = 1.5; ~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:102:16: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lfFix->lens->AspectRatio = 1.5; ~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:102:16: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lfFix->lens->AspectRatio = 1.5; ~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:111:16: warning: ‘lfModifier::lfModifier(const lfLens*, float, int, int)’ is deprecated [-Wdeprecated-declarations] lfFix->mod = new lfModifier(lfFix->lens, 1.0f, lfFix->img_width, lfFix->img_height); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2374:16: note: declared here DEPRECATED lfModifier (const lfLens *lens, float crop, int width, int height); ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:113:15: warning: ‘int lfModifier::Initialize(const lfLens*, lfPixelFormat, float, float, float, float, lfLensType, int, bool)’ is deprecated [-Wdeprecated-declarations] lfFix->mod->Initialize( ~~~~~~~~~~~~^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2449:20: note: declared here DEPRECATED int Initialize ( ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:113:3: warning: ‘int lfModifier::Initialize(const lfLens*, lfPixelFormat, float, float, float, float, lfLensType, int, bool)’ is deprecated [-Wdeprecated-declarations] lfFix->mod->Initialize( ^~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2449:20: note: declared here DEPRECATED int Initialize ( ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp: In instantiation of ‘void mod_setup(lfFixture*, gconstpointer) [with T = float; gconstpointer = const void*]’: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:198:3: required from ‘void add_set_item(lfTestParams*, const char*) [with T = float]’ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:215:34: required from here /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:101:16: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lfFix->lens->CropFactor = 1.0; ~~~~~~~~~~~~~^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:101:16: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lfFix->lens->CropFactor = 1.0; ~~~~~~~~~~~~~^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:101:16: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lfFix->lens->CropFactor = 1.0; ~~~~~~~~~~~~~^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:102:16: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lfFix->lens->AspectRatio = 1.5; ~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:102:16: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lfFix->lens->AspectRatio = 1.5; ~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:102:16: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lfFix->lens->AspectRatio = 1.5; ~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:111:16: warning: ‘lfModifier::lfModifier(const lfLens*, float, int, int)’ is deprecated [-Wdeprecated-declarations] lfFix->mod = new lfModifier(lfFix->lens, 1.0f, lfFix->img_width, lfFix->img_height); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2374:16: note: declared here DEPRECATED lfModifier (const lfLens *lens, float crop, int width, int height); ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:113:15: warning: ‘int lfModifier::Initialize(const lfLens*, lfPixelFormat, float, float, float, float, lfLensType, int, bool)’ is deprecated [-Wdeprecated-declarations] lfFix->mod->Initialize( ~~~~~~~~~~~~^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2449:20: note: declared here DEPRECATED int Initialize ( ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:113:3: warning: ‘int lfModifier::Initialize(const lfLens*, lfPixelFormat, float, float, float, float, lfLensType, int, bool)’ is deprecated [-Wdeprecated-declarations] lfFix->mod->Initialize( ^~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2449:20: note: declared here DEPRECATED int Initialize ( ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp: In instantiation of ‘void mod_setup(lfFixture*, gconstpointer) [with T = double; gconstpointer = const void*]’: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:198:3: required from ‘void add_set_item(lfTestParams*, const char*) [with T = double]’ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:216:35: required from here /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:101:16: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lfFix->lens->CropFactor = 1.0; ~~~~~~~~~~~~~^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:101:16: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lfFix->lens->CropFactor = 1.0; ~~~~~~~~~~~~~^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:101:16: warning: ‘lfLens::CropFactor’ is deprecated [-Wdeprecated-declarations] lfFix->lens->CropFactor = 1.0; ~~~~~~~~~~~~~^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1077:22: note: declared here DEPRECATED float CropFactor; ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:102:16: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lfFix->lens->AspectRatio = 1.5; ~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:102:16: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lfFix->lens->AspectRatio = 1.5; ~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:102:16: warning: ‘lfLens::AspectRatio’ is deprecated [-Wdeprecated-declarations] lfFix->lens->AspectRatio = 1.5; ~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:1079:22: note: declared here DEPRECATED float AspectRatio; ^~~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:111:16: warning: ‘lfModifier::lfModifier(const lfLens*, float, int, int)’ is deprecated [-Wdeprecated-declarations] lfFix->mod = new lfModifier(lfFix->lens, 1.0f, lfFix->img_width, lfFix->img_height); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2374:16: note: declared here DEPRECATED lfModifier (const lfLens *lens, float crop, int width, int height); ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:113:15: warning: ‘int lfModifier::Initialize(const lfLens*, lfPixelFormat, float, float, float, float, lfLensType, int, bool)’ is deprecated [-Wdeprecated-declarations] lfFix->mod->Initialize( ~~~~~~~~~~~~^~~~~~~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2449:20: note: declared here DEPRECATED int Initialize ( ^~~~~~~~~~ /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:113:3: warning: ‘int lfModifier::Initialize(const lfLens*, lfPixelFormat, float, float, float, float, lfLensType, int, bool)’ is deprecated [-Wdeprecated-declarations] lfFix->mod->Initialize( ^~~~~ In file included from /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/tests/test_modifier_color_old.cpp:13:0: /home/vasyl.tretiakov/Downloads/lensfun-0.3.95/build/lensfun.h:2449:20: note: declared here DEPRECATED int Initialize ( ^~~~~~~~~~ [ 94%] Linking CXX executable test_modifier_color_old [ 94%] Built target test_modifier_color_old [ 95%] Generating build/timestamp running build running build_py [ 95%] Built target python-package Scanning dependencies of target lenstool [ 97%] Building CXX object apps/CMakeFiles/lenstool.dir/lenstool/lenstool.cpp.o [ 98%] Building CXX object apps/CMakeFiles/lenstool.dir/lenstool/image.cpp.o [100%] Linking CXX executable lenstool [100%] Built target lenstool vasyl.tretiakov@localhost ~/Downloads/lensfun-0.3.95/build $