compiling emits type warnings prior to (unrelated?) failure

g++ -Wall -O2 -fPIC -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c canonmn.cpp -o canonmn.soIn file included from canonmn.cpp:37:types.hpp:197: warning: conversion to the same type will never use a type conversion operatorg++ -Wall -O2 -fPIC -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c datasets.cpp -o datasets.soIn file included from datasets.hpp:33, from datasets.cpp:33:types.hpp:197: warning: conversion to the same type will never use a type conversion operatorg++ -Wall -O2 -fPIC -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c exif.cpp -o exif.soIn file included from metadatum.hpp:38, from exif.hpp:34, from exif.cpp:37:types.hpp:197: warning: conversion to the same type will never use a type conversion operatorg++ -Wall -O2 -fPIC -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c fujimn.cpp -o fujimn.soIn file included from fujimn.cpp:38:types.hpp:197: warning: conversion to the same type will never use a type conversion operatorg++ -Wall -O2 -fPIC -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c ifd.cpp -o ifd.soIn file included from ifd.hpp:35, from ifd.cpp:34:types.hpp:197: warning: conversion to the same type will never use a type conversion operatorg++ -Wall -O2 -fPIC -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c image.cpp -o image.soIn file included from image.hpp:38, from image.cpp:44:types.hpp:197: warning: conversion to the same type will never use a type conversion operatorg++ -Wall -O2 -fPIC -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c iptc.cpp -o iptc.soIn file included from metadatum.hpp:38, from iptc.hpp:34, from iptc.cpp:36:types.hpp:197: warning: conversion to the same type will never use a type conversion operatorg++ -Wall -O2 -fPIC -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c makernote.cpp -o makernote.soIn file included from makernote.hpp:35, from makernote.cpp:37:types.hpp:197: warning: conversion to the same type will never use a type conversion operatorg++ -Wall -O2 -fPIC -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c metadatum.cpp -o metadatum.soIn file included from metadatum.hpp:38, from metadatum.cpp:35:types.hpp:197: warning: conversion to the same type will never use a type conversion operatorg++ -Wall -O2 -fPIC -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c nikonmn.cpp -o nikonmn.soIn file included from nikonmn.cpp:34:types.hpp:197: warning: conversion to the same type will never use a type conversion operatorg++ -Wall -O2 -fPIC -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c sigmamn.cpp -o sigmamn.soIn file included from sigmamn.cpp:36:types.hpp:197: warning: conversion to the same type will never use a type conversion operatorg++ -Wall -O2 -fPIC -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c tags.cpp -o tags.soIn file included from metadatum.hpp:38, from tags.hpp:35, from tags.cpp:33:types.hpp:197: warning: conversion to the same type will never use a type conversion operatorg++ -Wall -O2 -fPIC -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c types.cpp -o types.so

In file included from types.cpp:34:types.hpp:197: warning: conversion to the same type will never use a type conversion operatorg++ -Wall -O2 -fPIC -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c value.cpp -o value.soIn file included from value.hpp:36, from value.cpp:35:types.hpp:197: warning: conversion to the same type will never use a type conversion operator