artemp/mapnik — Issue #571: compiler warnings int -> double on RHEL 5.5
Author: artemp
Created: 2011-10-11 16:26:23+00:00
State: open
Labels: Core_Library

output on just about every compile line:

{{{

include/mapnik/value.hpp: In member function 'int mapnik::impl::to_int::operator()(double) const':
include/mapnik/value.hpp:673: warning: converting to 'int' from 'double'
include/mapnik/font_engine_freetype.hpp: In member function 'void mapnik::stroker::init(double)':
include/mapnik/font_engine_freetype.hpp:321: warning: passing 'double' for argument 2 to 'void FT_Stroker_Set(FT_StrokerRec_*, FT_Fixed, FT_Stroker_LineCap, FT_Stroker_LineJoin, FT_Fixed)'
}}}

{{{

# g++ -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)
}}}