mapnik-org/mapnik — Issue #271: compiler warnings on os x after r1043
Author: artemp
Created: 2011-10-11 07:45:58+00:00
State: open
Labels: Core_Library

Not sure if these matter, but logging here in case they do:

{{{
g++ -o src/load_map.os -c -DHAVE_LIBXML2 -DHAVE_CAIRO -ansi -Wall -ftemplate-depth-100 -DDARWIN -DBOOST_SPIRIT_THREADSAFE -DMAPNIK_THREADSAFE -DOSX_LEOPARD -O3 -finline-functions -Wno-inline -DNDEBUG -fPIC -DXTHREADS -Iagg/include -Iinclude -I. -I/usr/local/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libxml2 -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/usr/local/pgsql/include src/load_map.cpp
./boost/property_tree/detail/ptree_implementation.hpp: In member function 'boost::optional

boost::property_tree::basic_ptree
::get_own_optional(const std::locale&) const [with Type = mapnik::line_cap_e, Tr = boost::property_tree::ptree_traits]':
./boost/property_tree/detail/ptree_implementation.hpp:801: warning: 'tmp$value_' may be used uninitialized in this function
./boost/property_tree/detail/ptree_implementation.hpp: In member function 'boost::optional

boost::property_tree::basic_ptree
::get_own_optional(const std::locale&) const [with Type = mapnik::line_join_e, Tr = boost::property_tree::ptree_traits]':
./boost/property_tree/detail/ptree_implementation.hpp:801: warning: 'tmp$value_' may be used uninitialized in this function
}}}