Snippets for mapnik 4.2.2 from Fedora ppc64le
Sourced from https://kojipkgs.fedoraproject.org/packages/mapnik/4.2.2/5.fc45/data/logs/ppc64le/build.log.
-
/usr/include/boost/spirit/home/karma/detail/output_iterator.hpp:160:19: warning: storing the address of local variable ‘counting’ in ‘MEM[(struct counting_policy *)sink_3(D) + 8B].count’ [-Wdangling-pointer=] 160 | count = count_data; | ~~~~~~^~~~~~~~~~~~ -
/usr/include/boost/spirit/home/x3/operator/detail/alternative.hpp:91:25: warning: ‘<anonymous>’ is used uninitialized [-Wuninitialized] 91 | return type(); | ^ -
/builddir/build/BUILD/mapnik-4.2.2-build/mapnik-v4.2.2/src/image.cpp:88:29: warning: type attributes ignored after type is already defined [-Wattributes] 88 | template struct MAPNIK_DECL image_dimensions<4294836225>; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/mapnik-4.2.2-build/mapnik-v4.2.2/include/mapnik/xml_loader.hpp:33:19: warning: type attributes ignored after type is already defined [-Wattributes] 33 | class MAPNIK_DECL xml_node; | ^~~~~~~~ -
/builddir/build/BUILD/mapnik-4.2.2-build/mapnik-v4.2.2/src/well_known_srs.cpp:41:20: warning: ‘mapnik::well_known_srs_strings’ defined but not used [-Wunused-variable] 41 | static char const* well_known_srs_strings[] = {MAPNIK_GEOGRAPHIC_PROJ.c_str(), MAPNIK_WEBMERCATOR_PROJ.c_str(), ""}; | ^~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/mapnik-4.2.2-build/mapnik-v4.2.2/include/mapnik/vertex_vector.hpp:96:19: warning: ‘ring_begin_x’ may be used uninitialized [-Wmaybe-uninitialized] 96 | *vertex++ = x; | ~~~~~~~~~~^~~ -
/builddir/build/BUILD/mapnik-4.2.2-build/mapnik-v4.2.2/include/mapnik/renderer_common/process_building_symbolizer.hpp:82:22: warning: ‘ring_begin_y’ may be used uninitialized [-Wmaybe-uninitialized] 82 | faces.line_to(x, y - height); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ -
/builddir/build/BUILD/mapnik-4.2.2-build/mapnik-v4.2.2/src/svg/svg_parser.cpp:318:54: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses] 318 | x3::double_[apply_value] > | ~~~~~~~~~~~~~~~~~~~~~~~~~^ 319 | -(units[apply_units] | x3::lit("em")[apply_em] | x3::lit('%')[apply_percent]), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/mapnik-4.2.2-build/mapnik-v4.2.2/include/mapnik/renderer_common/process_building_symbolizer.hpp:114:28: warning: ‘ring_begin_x’ may be used uninitialized [-Wmaybe-uninitialized] 114 | render_face(x0, y0, ring_begin_x, ring_begin_y, height, face_func, frame); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/mapnik-4.2.2-build/mapnik-v4.2.2/include/mapnik/renderer_common/process_building_symbolizer.hpp:114:28: warning: ‘ring_begin_y’ may be used uninitialized [-Wmaybe-uninitialized] 114 | render_face(x0, y0, ring_begin_x, ring_begin_y, height, face_func, frame); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/mapnik-4.2.2-build/mapnik-v4.2.2/deps/agg/include/agg_rasterizer_outline_aa.h:375:20: warning: ‘dv.flags’ may be used uninitialized [-Wmaybe-uninitialized] 375 | if((dv.flags & 1) == 0 && m_line_join != outline_round_join) | ~~~^~~~~ -
/builddir/build/BUILD/mapnik-4.2.2-build/mapnik-v4.2.2/deps/agg/include/agg_rasterizer_outline_aa.h:523:28: warning: ‘dv.flags’ may be used uninitialized [-Wmaybe-uninitialized] 523 | if((dv.flags & 1) == 0) | ~~~^~~~~ -
/usr/include/boost/multi_index/detail/bucket_array.hpp:165:59: warning: ‘memset’ specified bound 18446744073709551608 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 165 | for(base_pointer x=begin(),y=end();x!=y;++x)x->prior()=pointer(0); | ~~~~~~~~~~^~~~~~~~~~~ -
/builddir/build/BUILD/mapnik-4.2.2-build/mapnik-v4.2.2/utils/mapnik-index/process_geojson_file_x3.cpp:171:13: warning: ‘geom_type’ may be used uninitialized [-Wmaybe-uninitialized] 171 | if (geom_type == mapnik::geometry::geometry_types::Point) | ^~ -
/builddir/build/BUILD/mapnik-4.2.2-build/mapnik-v4.2.2/plugins/input/geobuf/geobuf_datasource.cpp:99:15: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 99 | std::fread(geobuf.data(), in.size(), 1, in.get()); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/mapnik-4.2.2-build/mapnik-v4.2.2/benchmark/src/test_numeric_cast_vs_static_cast.cpp:34:16: warning: ‘x’ may be used uninitialized [-Wmaybe-uninitialized] 34 | return static_cast<double>(x) < (static_cast<double>(start_) * value_); | ^~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/mapnik-4.2.2-build/mapnik-v4.2.2/benchmark/src/test_numeric_cast_vs_static_cast.cpp:73:16: warning: ‘x’ may be used uninitialized [-Wmaybe-uninitialized] 73 | return static_cast<double>(x) < (static_cast<double>(start_) * value_); | ^~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/mapnik-4.2.2-build/mapnik-v4.2.2/plugins/input/tiles/xyz_tiles.hpp:279:27: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=] 279 | catch (std::exception e) | ^ -
/builddir/build/BUILD/mapnik-4.2.2-build/mapnik-v4.2.2/deps/agg/src/agg_line_profile_aa.cpp:85:15: warning: ‘__builtin_memset’ writing between 4294965502 and 4294965504 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 85 | *ch++ = (value_type)val; | ^ -
/usr/include/c++/16/bits/shared_ptr_base.h:1135:13: warning: array subscript 13 is outside array bounds of ‘struct _Sp_counted_ptr_inplace[1]’ [-Warray-bounds=] 1135 | if (_M_pi != nullptr) | ^~~~~ -
/usr/include/c++/16/bits/shared_ptr.h:175:11: warning: array subscript 6 is outside array bounds of ‘struct _Sp_counted_ptr_inplace[1]’ [-Warray-bounds=] 175 | class shared_ptr : public __shared_ptr<_Tp> | ^~~~~~~~~~ -
/usr/include/mapbox/variant.hpp:875:29: warning: array subscript 2 is outside array bounds of ‘struct _Sp_counted_ptr_inplace[1]’ [-Warray-bounds=] 875 | helper_type::destroy(type_index, &data); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/mapnik-4.2.2-build/mapnik-v4.2.2/include/mapnik/geometry.hpp:60:8: warning: array subscript 2 is outside array bounds of ‘struct _Sp_counted_ptr_inplace[1]’ [-Warray-bounds=] 60 | struct geometry : geometry_base<T> | ^~~~~~~~ -
/builddir/build/BUILD/mapnik-4.2.2-build/mapnik-v4.2.2/include/mapnik/feature.hpp:94:19: warning: array subscript ‘struct feature_impl[0]’ is partly outside array bounds of ‘unsigned char[64]’ [-Warray-bounds=] 94 | class MAPNIK_DECL feature_impl : private util::noncopyable | ^~~~~~~~~~~~ -
/builddir/build/BUILD/mapnik-4.2.2-build/mapnik-v4.2.2/test/unit/datasource/topojson.cpp:43:15: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 43 | std::fread(&buffer[0], buffer.size(), 1, file.get()); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/usr/include/c++/16/bits/stl_construct.h:110:16: warning: ‘<anonymous>’ may be used uninitialized [-Wmaybe-uninitialized] 110 | return ::new(__loc) _Tp(std::forward<_Args>(__args)...); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~