Project

General

Profile

Bug #409

compiling emits type warnings prior to (unrelated?) failure

Added by Thomas Lunde almost 17 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Category:
build
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

g++ -Wall -O2 -fPIC -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c canonmn.cpp -o canonmn.so
In file included from canonmn.cpp:37:
types.hpp:197: warning: conversion to the same type will never use a type
conversion operator
g++ -Wall -O2 -fPIC -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c datasets.cpp -o datasets.so
In 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 operator
g++ -Wall -O2 -fPIC -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c exif.cpp -o exif.so
In 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 operator
g++ -Wall -O2 -fPIC -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c fujimn.cpp -o fujimn.so
In file included from fujimn.cpp:38:
types.hpp:197: warning: conversion to the same type will never use a type
conversion operator
g++ -Wall -O2 -fPIC -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c ifd.cpp -o ifd.so
In 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 operator
g++ -Wall -O2 -fPIC -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c image.cpp -o image.so
In 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 operator
g++ -Wall -O2 -fPIC -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c iptc.cpp -o iptc.so
In 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 operator
g++ -Wall -O2 -fPIC -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c makernote.cpp -o makernote.so
In 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 operator
g++ -Wall -O2 -fPIC -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c metadatum.cpp -o metadatum.so
In 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 operator
g++ -Wall -O2 -fPIC -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c nikonmn.cpp -o nikonmn.so
In file included from nikonmn.cpp:34:
types.hpp:197: warning: conversion to the same type will never use a type
conversion operator
g++ -Wall -O2 -fPIC -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c sigmamn.cpp -o sigmamn.so
In file included from sigmamn.cpp:36:
types.hpp:197: warning: conversion to the same type will never use a type
conversion operator
g++ -Wall -O2 -fPIC -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c tags.cpp -o tags.so
In 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 operator
g++ -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 operator
g++ -Wall -O2 -fPIC -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -c value.cpp -o value.so
In 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

Additional information:

white:~/Desktop/exiv2-0.6.1 tlunde$ ./configure
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking libintl.h usability... no
checking libintl.h presence... no
checking for libintl.h... no
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for pid_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking whether time.h and sys/time.h may both be included... yes
checking for stdlib.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking for working mktime... no
checking whether lstat dereferences a symlink specified with a trailing slash... no
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for memset... yes
checking for strchr... yes
checking for strerror... yes
checking for strtol... yes
checking for timegm... yes
configure: creating ./config.status
config.status: creating config.mk
config.status: creating config.h
white:~/Desktop/exiv2-0.6.1 tlunde$

History

#1

Updated by Andreas Huggel almost 17 years ago

The failure mentioned in the summary is not described in this report. (I assume it is that of bug #408.) The scope of this bug #409 shall therefore be limited to this compiler warning:

types.hpp:197: warning: conversion to the same type will never use a type
conversion operator

#2

Updated by Andreas Huggel almost 17 years ago

r499 (trunk)
r502 (branches/Exiv2-0_6_041212)

Also available in: Atom PDF