artemp/tickets2issues — Issue #219: Mac 10.5 Compiler warnings
Author: artemp
Created: 2011-10-11 15:03:12+00:00
State: open
Labels: Scons_Build_Scripts

A few compiler warnings on Mac 10.5:

{{{
g++ -o bindings/python/mapnik_image.os -c -DHAVE_CAIRO -DHAVE_LIBXML2 -DHAVE_PYCAIRO -ansi -Wall -ftemplate-depth-100 -DDARWIN -DBOOST_SPIRIT_THREADSAFE -DMAPNIK_THREADSAFE -DOSX_LEOPARD -O2 -finline-functions -Wno-inline -DNDEBUG -fPIC -DXTHREADS -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -Iagg/include -Itinyxml -Iinclude -I. -I/usr/include -I/usr/local/pgsql/include -I/usr/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/cairomm-1.0 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/libpng12 -I/usr/X11/include -I/opt/local/include/libxml2 -I/opt/local/include/pycairo bindings/python/mapnik_image.cpp
In file included from /opt/local/include/jpeglib.h:24,
from include/mapnik/jpeg_io.hpp:27,
from bindings/python/mapnik_image.cpp:36:
/opt/local/include/jconfig.h:5:1: warning: "HAVE_PROTOTYPES" redefined
In file included from /opt/local/include/boost/python/detail/wrap_python.hpp:50,
from /opt/local/include/boost/python/detail/prefix.hpp:13,
from /opt/local/include/boost/python/args.hpp:8,
from /opt/local/include/boost/python.hpp:11,
from bindings/python/mapnik_image.cpp:30:
/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/pyconfig.h:386:1: warning: this is the location of the previous definition
In file included from /opt/local/include/jpeglib.h:24,
from include/mapnik/jpeg_io.hpp:27,
from bindings/python/mapnik_image.cpp:36:
/opt/local/include/jconfig.h:12:1: warning: "HAVE_STDLIB_H" redefined
In file included from /opt/local/include/boost/python/detail/wrap_python.hpp:50,
from /opt/local/include/boost/python/detail/prefix.hpp:13,
from /opt/local/include/boost/python/args.hpp:8,
from /opt/local/include/boost/python.hpp:11,
from bindings/python/mapnik_image.cpp:30:
/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/pyconfig.h:516:1: warning: this is the location of the previous definition

g++ -o bindings/python/mapnik_image_view.os -c -DHAVE_CAIRO -DHAVE_LIBXML2 -DHAVE_PYCAIRO -ansi -Wall -ftemplate-depth-100 -DDARWIN -DBOOST_SPIRIT_THREADSAFE -DMAPNIK_THREADSAFE -DOSX_LEOPARD -O2 -finline-functions -Wno-inline -DNDEBUG -fPIC -DXTHREADS -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -Iagg/include -Itinyxml -Iinclude -I. -I/usr/include -I/usr/local/pgsql/include -I/usr/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/cairomm-1.0 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/libpng12 -I/usr/X11/include -I/opt/local/include/libxml2 -I/opt/local/include/pycairo bindings/python/mapnik_image_view.cpp
In file included from /opt/local/include/jpeglib.h:24,
from include/mapnik/jpeg_io.hpp:27,
from bindings/python/mapnik_image_view.cpp:32:
/opt/local/include/jconfig.h:5:1: warning: "HAVE_PROTOTYPES" redefined
In file included from /opt/local/include/boost/python/detail/wrap_python.hpp:50,
from /opt/local/include/boost/python/detail/prefix.hpp:13,
from /opt/local/include/boost/python/args.hpp:8,
from /opt/local/include/boost/python.hpp:11,
from bindings/python/mapnik_image_view.cpp:29:
/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/pyconfig.h:386:1: warning: this is the location of the previous definition
In file included from /opt/local/include/jpeglib.h:24,
from include/mapnik/jpeg_io.hpp:27,
from bindings/python/mapnik_image_view.cpp:32:
/opt/local/include/jconfig.h:12:1: warning: "HAVE_STDLIB_H" redefined
In file included from /opt/local/include/boost/python/detail/wrap_python.hpp:50,
from /opt/local/include/boost/python/detail/prefix.hpp:13,
from /opt/local/include/boost/python/args.hpp:8,
from /opt/local/include/boost/python.hpp:11,
from bindings/python/mapnik_image_view.cpp:29:
/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/pyconfig.h:516:1: warning: this is the location of the previous definition
}}}