View Bug Details

IDProjectCategoryView StatusLast Update
0001135DCP-o-maticClean-uppublic2018-10-17 20:10
Reportermarkusk Assigned Tocarl  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platform64bitOSLinuxOS VersionArch
Product Version2.11.0 
Summary0001135: Compile warnings in 35c0a33f8da3b1f99ec32a8c42f578cbc063e7e4
Description

See attached file for a bunch of compile warnings in arch linux.

Steps To Reproduce

compile git version 35c0a33f8da3b1f99ec32a8c42f578cbc063e7e4 after fixing 0001134 (cout debug) by hand in working tree.

TagsNo tags attached.
Branch
Estimated weeks required
Estimated work requiredUnknown

Activities

markusk

2017-10-06 21:05

reporter  

dcpomatic-arch-linux-compile-warnings-35c0a33f8da3b1f99ec32a8c42f578cbc063e7e4.txt (32,866 bytes)   
Waf: Entering directory `/home/mk/GIT-Repos/aur4.archlinux.org/Eigene/GIT/dcpomatic-git/src/dcpomatic-git/build'
Writing version information to src/lib/version.cc
[  1/367] Compiling src/lib/active_subtitles.cc
[  2/367] Compiling src/lib/analyse_audio_job.cc
[  3/367] Compiling src/lib/atmos_mxf_content.cc
[  4/367] Compiling src/lib/audio_analysis.cc
[  5/367] Compiling src/lib/audio_buffers.cc
[  6/367] Compiling src/lib/audio_content.cc
[  7/367] Compiling src/lib/audio_decoder.cc
[  8/367] Compiling src/lib/audio_delay.cc
[  9/367] Compiling src/lib/audio_filter.cc
[ 10/367] Compiling src/lib/audio_filter_graph.cc
[ 11/367] Compiling src/lib/audio_mapping.cc
[ 12/367] Compiling src/lib/audio_merger.cc
[ 13/367] Compiling src/lib/audio_point.cc
[ 14/367] Compiling src/lib/audio_processor.cc
../src/lib/audio_decoder.cc: In member function ‘virtual ContentTime AudioDecoder::position() const’:
../src/lib/audio_decoder.cc:116:24: warning: ‘*((void*)(& p)+8).Time<ContentTimeDifferentiator, DCPTimeDifferentiator>::_t’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  optional<ContentTime> p;
                        ^

[ 15/367] Compiling src/lib/audio_ring_buffers.cc
[ 16/367] Compiling src/lib/audio_stream.cc
[ 17/367] Compiling src/lib/butler.cc
[ 18/367] Compiling src/lib/case_insensitive_sorter.cc
[ 19/367] Compiling src/lib/cinema.cc
[ 20/367] Compiling src/lib/cinema_kdms.cc
[ 21/367] Compiling src/lib/cinema_sound_processor.cc
[ 22/367] Compiling src/lib/colour_conversion.cc
[ 23/367] Compiling src/lib/config.cc
[ 24/367] Compiling src/lib/content.cc
[ 25/367] Compiling src/lib/content_factory.cc
[ 26/367] Compiling src/lib/cross.cc
[ 27/367] Compiling src/lib/curl_uploader.cc
[ 28/367] Compiling src/lib/dcp.cc
[ 29/367] Compiling src/lib/dcp_content.cc
[ 30/367] Compiling src/lib/dcp_content_type.cc
[ 31/367] Compiling src/lib/dcp_decoder.cc
[ 32/367] Compiling src/lib/dcp_encoder.cc
[ 33/367] Compiling src/lib/dcp_examiner.cc
[ 34/367] Compiling src/lib/dcp_subtitle.cc
[ 35/367] Compiling src/lib/dcp_subtitle_content.cc
[ 36/367] Compiling src/lib/dcp_subtitle_decoder.cc
[ 37/367] Compiling src/lib/dcp_video.cc
[ 38/367] Compiling src/lib/dcpomatic_socket.cc
[ 39/367] Compiling src/lib/dcpomatic_time.cc
[ 40/367] Compiling src/lib/decoder.cc
[ 41/367] Compiling src/lib/decoder_factory.cc
[ 42/367] Compiling src/lib/decoder_part.cc
[ 43/367] Compiling src/lib/digester.cc
[ 44/367] Compiling src/lib/dkdm_wrapper.cc
[ 45/367] Compiling src/lib/dolby_cp750.cc
[ 46/367] Compiling src/lib/emailer.cc
[ 47/367] Compiling src/lib/empty.cc
[ 48/367] Compiling src/lib/encoder.cc
[ 49/367] Compiling src/lib/encode_server.cc
../src/lib/emailer.cc: In member function ‘void Emailer::send(std::__cxx11::string, int, std::__cxx11::string, std::__cxx11::string)’:
../src/lib/emailer.cc:111:133: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
  sprintf (date_buffer + strlen(date_buffer), "%s%02d%02d", (offset.hours() >= 0 ? "+" : "-"), abs (offset.hours()), offset.minutes());
                                                                                               ~~~~~~~~~~~~~~~~~~~~                  ^
../src/lib/emailer.cc:111:133: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘boost::date_time::time_duration<boost::posix_time::time_duration, boost::date_time::time_resolution_traits<boost::date_time::time_resolution_traits_adapted64_impl, (boost::date_time::time_resolutions)5, 1000000, 6> >::min_type {aka long int}’ [-Wformat=]

[ 50/367] Compiling src/lib/encode_server_finder.cc
[ 51/367] Compiling src/lib/encoded_log_entry.cc
[ 52/367] Compiling src/lib/environment_info.cc
[ 53/367] Compiling src/lib/event_history.cc
[ 54/367] Compiling src/lib/examine_content_job.cc
In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:136:0,
                 from ../src/lib/environment_info.cc:28:
/usr/include/ImageMagick-6/magick/pixel-accessor.h: In function ‘MagickRealType GetPixelLuma(const Image*, const PixelPacket*)’:
/usr/include/ImageMagick-6/magick/pixel-accessor.h:138:72: warning: unused parameter ‘image’ [-Wunused-parameter]
 static inline MagickRealType GetPixelLuma(const Image *magick_restrict image,
                                                                        ^~~~~

[ 55/367] Compiling src/lib/exceptions.cc
[ 56/367] Compiling src/lib/file_group.cc
[ 57/367] Compiling src/lib/file_log.cc
[ 58/367] Compiling src/lib/filter_graph.cc
[ 59/367] Compiling src/lib/ffmpeg.cc
[ 60/367] Compiling src/lib/ffmpeg_audio_stream.cc
[ 61/367] Compiling src/lib/ffmpeg_content.cc
[ 62/367] Compiling src/lib/ffmpeg_decoder.cc
[ 63/367] Compiling src/lib/ffmpeg_encoder.cc
../src/lib/ffmpeg.cc: In member function ‘void FFmpeg::setup_general()’:
../src/lib/ffmpeg.cc:143:16: warning: ‘*((void*)& video_stream_undefined_frame_rate +4)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  optional<int> video_stream_undefined_frame_rate;
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[ 64/367] Compiling src/lib/ffmpeg_examiner.cc
[ 65/367] Compiling src/lib/ffmpeg_stream.cc
[ 66/367] Compiling src/lib/ffmpeg_subtitle_stream.cc
[ 67/367] Compiling src/lib/film.cc
[ 68/367] Compiling src/lib/filter.cc
[ 69/367] Compiling src/lib/font.cc
[ 70/367] Compiling src/lib/font_files.cc
[ 71/367] Compiling src/lib/frame_rate_change.cc
[ 72/367] Compiling src/lib/hints.cc
[ 73/367] Compiling src/lib/internet.cc
[ 74/367] Compiling src/lib/image.cc
[ 75/367] Compiling src/lib/image_content.cc
[ 76/367] Compiling src/lib/image_decoder.cc
[ 77/367] Compiling src/lib/image_examiner.cc
[ 78/367] Compiling src/lib/image_filename_sorter.cc
[ 79/367] Compiling src/lib/image_proxy.cc
In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:136:0,
                 from /usr/include/ImageMagick-6/Magick++/Include.h:42,
                 from /usr/include/ImageMagick-6/Magick++.h:10,
                 from ../src/lib/magick_image_proxy.h:22,
                 from ../src/lib/image_decoder.cc:25:
/usr/include/ImageMagick-6/magick/pixel-accessor.h: In function ‘MagickCore::MagickRealType MagickCore::GetPixelLuma(const Image*, const PixelPacket*)’:
/usr/include/ImageMagick-6/magick/pixel-accessor.h:138:72: warning: unused parameter ‘image’ [-Wunused-parameter]
 static inline MagickRealType GetPixelLuma(const Image *magick_restrict image,
                                                                        ^~~~~

[ 80/367] Compiling src/lib/isdcf_metadata.cc
[ 81/367] Compiling src/lib/j2k_image_proxy.cc
In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:136:0,
                 from /usr/include/ImageMagick-6/Magick++/Include.h:42,
                 from /usr/include/ImageMagick-6/Magick++.h:10,
                 from ../src/lib/magick_image_proxy.h:22,
                 from ../src/lib/image_proxy.cc:23:
/usr/include/ImageMagick-6/magick/pixel-accessor.h: In function ‘MagickCore::MagickRealType MagickCore::GetPixelLuma(const Image*, const PixelPacket*)’:
/usr/include/ImageMagick-6/magick/pixel-accessor.h:138:72: warning: unused parameter ‘image’ [-Wunused-parameter]
 static inline MagickRealType GetPixelLuma(const Image *magick_restrict image,
                                                                        ^~~~~

[ 82/367] Compiling src/lib/job.cc
[ 83/367] Compiling src/lib/job_manager.cc
In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:136:0,
                 from /usr/include/ImageMagick-6/Magick++/Include.h:42,
                 from /usr/include/ImageMagick-6/Magick++.h:10,
                 from ../src/lib/image_examiner.cc:32:
/usr/include/ImageMagick-6/magick/pixel-accessor.h: In function ‘MagickCore::MagickRealType MagickCore::GetPixelLuma(const Image*, const PixelPacket*)’:
/usr/include/ImageMagick-6/magick/pixel-accessor.h:138:72: warning: unused parameter ‘image’ [-Wunused-parameter]
 static inline MagickRealType GetPixelLuma(const Image *magick_restrict image,
                                                                        ^~~~~

[ 84/367] Compiling src/lib/j2k_encoder.cc
In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:136:0,
                 from /usr/include/ImageMagick-6/Magick++/Include.h:42,
                 from /usr/include/ImageMagick-6/Magick++.h:10,
                 from ../src/lib/j2k_image_proxy.cc:33:
/usr/include/ImageMagick-6/magick/pixel-accessor.h: In function ‘MagickCore::MagickRealType MagickCore::GetPixelLuma(const Image*, const PixelPacket*)’:
/usr/include/ImageMagick-6/magick/pixel-accessor.h:138:72: warning: unused parameter ‘image’ [-Wunused-parameter]
 static inline MagickRealType GetPixelLuma(const Image *magick_restrict image,
                                                                        ^~~~~

[ 85/367] Compiling src/lib/json_server.cc
../src/lib/job.cc: In member function ‘virtual std::__cxx11::string Job::status() const’:
../src/lib/job.cc:429:125: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘boost::date_time::time_duration<boost::posix_time::time_duration, boost::date_time::time_resolution_traits<boost::date_time::time_resolution_traits_adapted64_impl, (boost::date_time::time_resolutions)5, 1000000, 6> >::hour_type {aka long int}’ [-Wformat=]
    snprintf (finish_string, sizeof(finish_string), "%02d:%02d", finish.time_of_day().hours(), finish.time_of_day().minutes());
                                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                ^
../src/lib/job.cc:429:125: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘boost::date_time::time_duration<boost::posix_time::time_duration, boost::date_time::time_resolution_traits<boost::date_time::time_resolution_traits_adapted64_impl, (boost::date_time::time_resolutions)5, 1000000, 6> >::min_type {aka long int}’ [-Wformat=]
../src/lib/job.cc:407:1: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=]
 Job::status () const
 ^~~
../src/lib/job.cc:429:13: note: ‘snprintf’ output between 6 and 16 bytes into a destination of size 6
    snprintf (finish_string, sizeof(finish_string), "%02d:%02d", finish.time_of_day().hours(), finish.time_of_day().minutes());
    ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[ 86/367] Compiling src/lib/log.cc
[ 87/367] Compiling src/lib/log_entry.cc
[ 88/367] Compiling src/lib/magick_image_proxy.cc
[ 89/367] Compiling src/lib/mid_side_decoder.cc
[ 90/367] Compiling src/lib/overlaps.cc
[ 91/367] Compiling src/lib/player.cc
In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:136:0,
                 from /usr/include/ImageMagick-6/Magick++/Include.h:42,
                 from /usr/include/ImageMagick-6/Magick++.h:10,
                 from ../src/lib/magick_image_proxy.h:22,
                 from ../src/lib/magick_image_proxy.cc:21:
/usr/include/ImageMagick-6/magick/pixel-accessor.h: In function ‘MagickCore::MagickRealType MagickCore::GetPixelLuma(const Image*, const PixelPacket*)’:
/usr/include/ImageMagick-6/magick/pixel-accessor.h:138:72: warning: unused parameter ‘image’ [-Wunused-parameter]
 static inline MagickRealType GetPixelLuma(const Image *magick_restrict image,
                                                                        ^~~~~

[ 92/367] Compiling src/lib/player_subtitles.cc
In file included from /usr/include/libdcp-1.0/dcp/util.h:42:0,
                 from ../src/lib/types.h:26,
                 from ../src/lib/util.h:28,
                 from ../src/lib/j2k_encoder.h:28,
                 from ../src/lib/j2k_encoder.cc:25:
/usr/include/libdcp-1.0/dcp/data.h: In member function ‘void J2KEncoder::encoder_thread(boost::optional<EncodeServerDescription>)’:
/usr/include/libdcp-1.0/dcp/data.h:43:7: warning: ‘*((void*)(& encoded)+8).dcp::Data::_size’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 class Data
       ^~~~
../src/lib/j2k_encoder.cc:313:19: note: ‘*((void*)(& encoded)+8).dcp::Data::_size’ was declared here
    optional<Data> encoded;
                   ^~~~~~~

[ 93/367] Compiling src/lib/player_video.cc
[ 94/367] Compiling src/lib/playlist.cc
[ 95/367] Compiling src/lib/position_image.cc
[ 96/367] Compiling src/lib/ratio.cc
[ 97/367] Compiling src/lib/raw_image_proxy.cc
[ 98/367] Compiling src/lib/reel_writer.cc
[ 99/367] Compiling src/lib/render_subtitles.cc
[100/367] Compiling src/lib/resampler.cc
[101/367] Compiling src/lib/rgba.cc
../src/lib/player.cc: In member function ‘bool Player::pass()’:
../src/lib/player.cc:553:40: warning: ‘*((void*)(& earliest_time)+8).Time<DCPTimeDifferentiator, ContentTimeDifferentiator>::_t’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  if (!_black.done() && (!earliest_time || _black.position() < *earliest_time)) {
                        ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[102/367] Compiling src/lib/scoped_temporary.cc
[103/367] Compiling src/lib/scp_uploader.cc
[104/367] Compiling src/lib/screen.cc
[105/367] Compiling src/lib/screen_kdm.cc
[106/367] Compiling src/lib/send_kdm_email_job.cc
[107/367] Compiling src/lib/send_problem_report_job.cc
[108/367] Compiling src/lib/server.cc
[109/367] Compiling src/lib/string_log_entry.cc
[110/367] Compiling src/lib/subtitle_content.cc
[111/367] Compiling src/lib/subtitle_decoder.cc
[112/367] Compiling src/lib/text_subtitle.cc
[113/367] Compiling src/lib/text_subtitle_content.cc
[114/367] Compiling src/lib/text_subtitle_decoder.cc
[115/367] Compiling src/lib/timer.cc
../src/lib/subtitle_decoder.cc: In member function ‘void SubtitleDecoder::emit_text_start(ContentTime, const sub::Subtitle&)’:
../src/lib/subtitle_decoder.cc:177:10: warning: ‘h_align’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     dcp::SubtitleString (
          ^~~~~~~~~~~~~~~~
      string(TEXT_FONT_ID),
      ~~~~~~~~~~~~~~~~~~~~~
      j.italic,
      ~~~~~~~~~
      j.bold,
      ~~~~~~~
      j.underline,
      ~~~~~~~~~~~~
      /* force the colour to whatever is configured */
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      content()->colour(),
      ~~~~~~~~~~~~~~~~~~~~
      j.font_size.points (72 * 11),
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      1.0,
      ~~~~ 
      dcp::Time (from.seconds(), 1000),
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /* XXX: hmm; this is a bit ugly (we don't know the to time yet) */
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      dcp::Time (),
      ~~~~~~~~~~~~~
      i.horizontal_position.proportional,
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      h_align,
      ~~~~~~~~
      v_position,
      ~~~~~~~~~~~
      v_align,
      ~~~~~~~~
      dcp::DIRECTION_LTR,
      ~~~~~~~~~~~~~~~~~~~
      j.text,
      ~~~~~~~
      effect,
      ~~~~~~~
      content()->effect_colour(),
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~
      dcp::Time (content()->fade_in().seconds(), 1000),
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      dcp::Time (content()->fade_out().seconds(), 1000)
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      )
      ~    
../src/lib/subtitle_decoder.cc:137:32: warning: ‘*((void*)& lowest_proportional +4)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
      v_position = ((v_position - lowest_proportional.get()) * content()->line_spacing()) + lowest_proportional.get();
                    ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/lib/subtitle_decoder.cc:86:16: warning: ‘*((void*)& bottom_line +4)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  optional<int> bottom_line;
                ^~~~~~~~~~~

[116/367] Compiling src/lib/transcode_job.cc
[117/367] Compiling src/lib/types.cc
[118/367] Compiling src/lib/signal_manager.cc
[119/367] Compiling src/lib/update_checker.cc
[120/367] Compiling src/lib/upload_job.cc
[121/367] Compiling src/lib/uploader.cc
[122/367] Compiling src/lib/upmixer_a.cc
[123/367] Compiling src/lib/upmixer_b.cc
[124/367] Compiling src/lib/util.cc
[125/367] Compiling src/lib/video_content.cc
[126/367] Compiling src/lib/video_content_scale.cc
[127/367] Compiling src/lib/video_decoder.cc
[128/367] Compiling src/lib/video_filter_graph.cc
[129/367] Compiling src/lib/video_mxf_content.cc
[130/367] Compiling src/lib/video_mxf_decoder.cc
[131/367] Compiling src/lib/video_mxf_examiner.cc
[132/367] Compiling src/lib/video_ring_buffers.cc
[133/367] Compiling src/lib/writer.cc
[134/367] Compiling src/lib/version.cc
[135/367] Compiling src/lib/po/es_ES.po
[136/367] Compiling src/lib/po/da_DK.po
[137/367] Compiling src/lib/po/de_DE.po
[138/367] Compiling src/lib/po/zh_CN.po
[139/367] Compiling src/lib/po/nl_NL.po
[140/367] Compiling src/lib/po/pt_BR.po
[141/367] Compiling src/lib/po/ru_RU.po
[142/367] Compiling src/lib/po/it_IT.po
[143/367] Compiling src/lib/po/pt_PT.po
[144/367] Compiling src/lib/po/uk_UA.po
[145/367] Compiling src/lib/po/fr_FR.po
[146/367] Compiling src/lib/po/sv_SE.po
[147/367] Compiling src/lib/po/cs_CZ.po
[148/367] Compiling src/lib/po/sk_SK.po
[149/367] Compiling src/lib/po/pl_PL.po
[150/367] Compiling src/tools/dcpomatic_cli.cc
[151/367] Compiling src/tools/dcpomatic_server_cli.cc
[152/367] Compiling src/tools/server_test.cc
[153/367] Compiling src/tools/dcpomatic_kdm_cli.cc
[154/367] Compiling src/tools/dcpomatic_create.cc
../src/tools/dcpomatic_cli.cc: In function ‘int main(int, char**)’:
../src/tools/dcpomatic_cli.cc:158:44: warning: ‘*((void*)& threads +4)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
      cout << "UP     " << threads.get() << "\n";
                                            ^~~~
../src/tools/dcpomatic_cli.cc:144:19: note: ‘*((void*)& threads +4)’ was declared here
     optional<int> threads;
                   ^~~~~~~
../src/tools/dcpomatic_cli.cc:299:35: warning: ‘*((void*)& json_port +4)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   new JSONServer (json_port.get ());
                                   ^
In file included from ../src/tools/dcpomatic_cli.cc:28:0:
/home/mk/GIT-Repos/aur4.archlinux.org/Eigene/GIT/dcpomatic-git/src/dcpomatic-git/src/lib/config.h:677:3: warning: ‘*((void*)& threads +4)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   if (member == new_value) {
   ^~
../src/tools/dcpomatic_cli.cc:187:16: note: ‘*((void*)& threads +4)’ was declared here
  optional<int> threads;
                ^~~~~~~

[155/367] Compiling src/tools/dcpomatic.cc
[156/367] Compiling src/tools/dcpomatic_batch.cc
../src/tools/dcpomatic_create.cc: In function ‘int main(int, char**)’:
../src/tools/dcpomatic_create.cc:266:31: warning: ‘*((void*)& dcp_frame_rate +4)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
    film->set_video_frame_rate (*dcp_frame_rate);
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~

[157/367] Compiling src/tools/dcpomatic_server.cc
[158/367] Compiling src/tools/dcpomatic_kdm.cc
[159/367] Compiling src/tools/dcpomatic_player.cc
[160/367] Compiling src/tools/po/es_ES.po
[161/367] Compiling src/tools/po/da_DK.po
[162/367] Compiling src/tools/po/de_DE.po
[163/367] Compiling src/tools/po/zh_CN.po
[164/367] Compiling src/tools/po/nl_NL.po
[165/367] Compiling src/tools/po/pt_BR.po
[166/367] Compiling src/tools/po/ru_RU.po
[167/367] Compiling src/tools/po/it_IT.po
[168/367] Compiling src/tools/po/pt_PT.po
[169/367] Compiling src/tools/po/uk_UA.po
[170/367] Compiling src/tools/po/fr_FR.po
[171/367] Compiling src/tools/po/sv_SE.po
[172/367] Compiling src/tools/po/cs_CZ.po
[173/367] Compiling src/tools/po/sk_SK.po
[174/367] Compiling src/tools/po/pl_PL.po
[175/367] Compiling src/wx/about_dialog.cc
[176/367] Compiling src/wx/audio_dialog.cc
[177/367] Compiling src/wx/audio_gain_dialog.cc
[178/367] Compiling src/wx/audio_mapping_view.cc
[179/367] Compiling src/wx/audio_panel.cc
[180/367] Compiling src/wx/audio_plot.cc
[181/367] Compiling src/wx/batch_job_view.cc
[182/367] Compiling src/wx/cinema_dialog.cc
../src/wx/audio_panel.cc: In member function ‘void AudioPanel::setup_peak()’:
../src/wx/audio_panel.cc:334:21: warning: ‘*((void*)& peak_dB +4)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  } else if (peak_dB && *peak_dB > -3) {
             ~~~~~~~~^~~~~~~~~~~~~~~~

[183/367] Compiling src/wx/colour_conversion_editor.cc
[184/367] Compiling src/wx/config_dialog.cc
[185/367] Compiling src/wx/config_move_dialog.cc
[186/367] Compiling src/wx/confirm_kdm_email_dialog.cc
[187/367] Compiling src/wx/content_colour_conversion_dialog.cc
[188/367] Compiling src/wx/content_menu.cc
[189/367] Compiling src/wx/content_panel.cc
[190/367] Compiling src/wx/content_properties_dialog.cc
[191/367] Compiling src/wx/content_sub_panel.cc
[192/367] Compiling src/wx/dcp_panel.cc
[193/367] Compiling src/wx/email_dialog.cc
../src/wx/content_panel.cc: In member function ‘void ContentPanel::selection_changed()’:
../src/wx/content_panel.cc:257:14: warning: ‘*((void*)(& go_to)+8).Time<DCPTimeDifferentiator, ContentTimeDifferentiator>::_t’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   if (!go_to || i->position() < go_to.get()) {
       ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[194/367] Compiling src/wx/image_sequence_dialog.cc
[195/367] Compiling src/wx/isdcf_metadata_dialog.cc
[196/367] Compiling src/wx/dir_picker_ctrl.cc
[197/367] Compiling src/wx/dolby_doremi_certificate_panel.cc
[198/367] Compiling src/wx/download_certificate_dialog.cc
[199/367] Compiling src/wx/download_certificate_panel.cc
[200/367] Compiling src/wx/export_dialog.cc
[201/367] Compiling src/wx/file_picker_ctrl.cc
[202/367] Compiling src/wx/film_editor.cc
[203/367] Compiling src/wx/film_name_location_dialog.cc
[204/367] Compiling src/wx/film_viewer.cc
[205/367] Compiling src/wx/filter_dialog.cc
[206/367] Compiling src/wx/filter_editor.cc
[207/367] Compiling src/wx/fonts_dialog.cc
[208/367] Compiling src/wx/font_files_dialog.cc
[209/367] Compiling src/wx/full_config_dialog.cc
[210/367] Compiling src/wx/gain_calculator_dialog.cc
[211/367] Compiling src/wx/hints_dialog.cc
[212/367] Compiling src/wx/job_view.cc
[213/367] Compiling src/wx/job_view_dialog.cc
[214/367] Compiling src/wx/job_manager_view.cc
[215/367] Compiling src/wx/kdm_cpl_panel.cc
[216/367] Compiling src/wx/kdm_dialog.cc
[217/367] Compiling src/wx/kdm_output_panel.cc
[218/367] Compiling src/wx/kdm_timing_panel.cc
[219/367] Compiling src/wx/key_dialog.cc
[220/367] Compiling src/wx/make_chain_dialog.cc
[221/367] Compiling src/wx/move_to_dialog.cc
[222/367] Compiling src/wx/nag_dialog.cc
[223/367] Compiling src/wx/name_format_editor.cc
[224/367] Compiling src/wx/new_dkdm_folder_dialog.cc
[225/367] Compiling src/wx/normal_job_view.cc
[226/367] Compiling src/wx/player_config_dialog.cc
[227/367] Compiling src/wx/player_information.cc
[228/367] Compiling src/wx/playhead_to_timecode_dialog.cc
[229/367] Compiling src/wx/playhead_to_frame_dialog.cc
[230/367] Compiling src/wx/question_dialog.cc
[231/367] Compiling src/wx/repeat_dialog.cc
[232/367] Compiling src/wx/report_problem_dialog.cc
[233/367] Compiling src/wx/rename_template_dialog.cc
[234/367] Compiling src/wx/rgba_colour_picker.cc
[235/367] Compiling src/wx/save_template_dialog.cc
[236/367] Compiling src/wx/screen_dialog.cc
[237/367] Compiling src/wx/screens_panel.cc
[238/367] Compiling src/wx/self_dkdm_dialog.cc
[239/367] Compiling src/wx/server_dialog.cc
[240/367] Compiling src/wx/servers_list_dialog.cc
[241/367] Compiling src/wx/subtitle_appearance_dialog.cc
[242/367] Compiling src/wx/subtitle_panel.cc
[243/367] Compiling src/wx/subtitle_view.cc
[244/367] Compiling src/wx/system_font_dialog.cc
[245/367] Compiling src/wx/table_dialog.cc
[246/367] Compiling src/wx/templates_dialog.cc
[247/367] Compiling src/wx/time_picker.cc
[248/367] Compiling src/wx/timecode.cc
[249/367] Compiling src/wx/timeline.cc
[250/367] Compiling src/wx/timeline_atmos_content_view.cc
[251/367] Compiling src/wx/timeline_content_view.cc
[252/367] Compiling src/wx/timeline_dialog.cc
[253/367] Compiling src/wx/timeline_audio_content_view.cc
[254/367] Compiling src/wx/timeline_labels_view.cc
[255/367] Compiling src/wx/timeline_subtitle_content_view.cc
[256/367] Compiling src/wx/timeline_reels_view.cc
[257/367] Compiling src/wx/timeline_time_axis_view.cc
[258/367] Compiling src/wx/timeline_video_content_view.cc
[259/367] Compiling src/wx/timeline_view.cc
[260/367] Compiling src/wx/timing_panel.cc
[261/367] Compiling src/wx/update_dialog.cc
[262/367] Compiling src/wx/video_panel.cc
[263/367] Compiling src/wx/video_waveform_dialog.cc
[264/367] Compiling src/wx/video_waveform_plot.cc
../src/wx/timing_panel.cc: In member function ‘void TimingPanel::move_to_start_of_reel_clicked()’:
../src/wx/timing_panel.cc:513:4: warning: ‘*((void*)(& position)+8).Time<DCPTimeDifferentiator, ContentTimeDifferentiator>::_t’ may be used uninitialized in this function [-Wmaybe-uninitialized]
    if (position.get() != i->position()) {
    ^~
In file included from /home/mk/GIT-Repos/aur4.archlinux.org/Eigene/GIT/dcpomatic-git/src/dcpomatic-git/src/lib/util.h:29:0,
                 from /home/mk/GIT-Repos/aur4.archlinux.org/Eigene/GIT/dcpomatic-git/src/dcpomatic-git/src/lib/film.h:29,
                 from ../src/wx/content_sub_panel.h:26,
                 from ../src/wx/timing_panel.h:21,
                 from ../src/wx/timing_panel.cc:21:
/home/mk/GIT-Repos/aur4.archlinux.org/Eigene/GIT/dcpomatic-git/src/dcpomatic-git/src/lib/dcpomatic_time.h: In member function ‘void TimingPanel::trim_start_changed()’:
/home/mk/GIT-Repos/aur4.archlinux.org/Eigene/GIT/dcpomatic-git/src/dcpomatic-git/src/lib/dcpomatic_time.h:95:31: warning: ‘*((void*)(& ref_ph)+8).Time<DCPTimeDifferentiator, ContentTimeDifferentiator>::_t’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   return Time<S, O> (_t + o._t);
                               ^
../src/wx/timing_panel.cc:348:20: note: ‘*((void*)(& ref_ph)+8).Time<DCPTimeDifferentiator, ContentTimeDifferentiator>::_t’ was declared here
  optional<DCPTime> ref_ph;
                    ^~~~~~

[265/367] Compiling src/wx/wx_util.cc
[266/367] Compiling src/wx/wx_signal_manager.cc
[267/367] Compiling src/wx/po/es_ES.po
[268/367] Compiling src/wx/po/da_DK.po
[269/367] Compiling src/wx/po/de_DE.po
[270/367] Compiling src/wx/po/zh_CN.po
[271/367] Compiling src/wx/po/nl_NL.po
[272/367] Compiling src/wx/po/pt_BR.po
[273/367] Compiling src/wx/po/ru_RU.po
[274/367] Compiling src/wx/po/it_IT.po
[275/367] Compiling src/wx/po/pt_PT.po
[276/367] Compiling src/wx/po/uk_UA.po
[277/367] Compiling src/wx/po/fr_FR.po
[278/367] Compiling src/wx/po/sv_SE.po
[279/367] Compiling src/wx/po/cs_CZ.po
[280/367] Compiling src/wx/po/sk_SK.po
[281/367] Compiling src/wx/po/pl_PL.po
[282/367] Compiling test/4k_test.cc
[283/367] Compiling test/audio_analysis_test.cc
[284/367] Compiling test/audio_buffers_test.cc
[285/367] Compiling test/audio_delay_test.cc
[286/367] Compiling test/audio_filter_test.cc
[287/367] Compiling test/audio_mapping_test.cc
[288/367] Compiling test/audio_merger_test.cc
[289/367] Compiling test/audio_processor_test.cc
[290/367] Compiling test/audio_processor_delay_test.cc
[291/367] Compiling test/audio_ring_buffers_test.cc
[292/367] Compiling test/butler_test.cc
[293/367] Compiling test/client_server_test.cc
[294/367] Compiling test/colour_conversion_test.cc
[295/367] Compiling test/content_test.cc
[296/367] Compiling test/dcpomatic_time_test.cc
[297/367] Compiling test/dcp_subtitle_test.cc
[298/367] Compiling test/digest_test.cc
[299/367] Compiling test/empty_test.cc
[300/367] Compiling test/ffmpeg_audio_only_test.cc
[301/367] Compiling test/ffmpeg_audio_test.cc
[302/367] Compiling test/ffmpeg_dcp_test.cc
[303/367] Compiling test/ffmpeg_decoder_seek_test.cc
[304/367] Compiling test/ffmpeg_decoder_sequential_test.cc
[305/367] Compiling test/ffmpeg_encoder_test.cc
[306/367] Compiling test/ffmpeg_examiner_test.cc
[307/367] Compiling test/ffmpeg_pts_offset_test.cc
[308/367] Compiling test/file_group_test.cc
[309/367] Compiling test/file_log_test.cc
[310/367] Compiling test/file_naming_test.cc
[311/367] Compiling test/film_metadata_test.cc
[312/367] Compiling test/frame_rate_test.cc
[313/367] Compiling test/image_filename_sorter_test.cc
[314/367] Compiling test/image_test.cc
[315/367] Compiling test/import_dcp_test.cc
[316/367] Compiling test/interrupt_encoder_test.cc
In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:136:0,
                 from /usr/include/ImageMagick-6/Magick++/Include.h:42,
                 from /usr/include/ImageMagick-6/Magick++.h:10,
                 from /home/mk/GIT-Repos/aur4.archlinux.org/Eigene/GIT/dcpomatic-git/src/dcpomatic-git/src/lib/magick_image_proxy.h:22,
                 from ../test/image_test.cc:28:
/usr/include/ImageMagick-6/magick/pixel-accessor.h: In function ‘MagickCore::MagickRealType MagickCore::GetPixelLuma(const Image*, const PixelPacket*)’:
/usr/include/ImageMagick-6/magick/pixel-accessor.h:138:72: warning: unused parameter ‘image’ [-Wunused-parameter]
 static inline MagickRealType GetPixelLuma(const Image *magick_restrict image,
                                                                        ^~~~~

[317/367] Compiling test/isdcf_name_test.cc
[318/367] Compiling test/j2k_bandwidth_test.cc
[319/367] Compiling test/job_test.cc
[320/367] Compiling test/make_black_test.cc
[321/367] Compiling test/optimise_stills_test.cc
[322/367] Compiling test/pixel_formats_test.cc
[323/367] Compiling test/player_test.cc
[324/367] Compiling test/ratio_test.cc
[325/367] Compiling test/repeat_frame_test.cc
[326/367] Compiling test/recover_test.cc
[327/367] Compiling test/rect_test.cc
[328/367] Compiling test/reels_test.cc
[329/367] Compiling test/required_disk_space_test.cc
[330/367] Compiling test/remake_id_test.cc
[331/367] Compiling test/remake_with_subtitle_test.cc
[332/367] Compiling test/render_subtitles_test.cc
[333/367] Compiling test/scaling_test.cc
[334/367] Compiling test/silence_padding_test.cc
[335/367] Compiling test/skip_frame_test.cc
[336/367] Compiling test/srt_subtitle_test.cc
[337/367] Compiling test/ssa_subtitle_test.cc
[338/367] Compiling test/stream_test.cc
[339/367] Compiling test/subtitle_reel_number_test.cc
[340/367] Compiling test/test.cc
[341/367] Compiling test/threed_test.cc
[342/367] Compiling test/time_calculation_test.cc
[343/367] Compiling test/torture_test.cc
In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:136:0,
                 from /usr/include/ImageMagick-6/Magick++/Include.h:42,
                 from /usr/include/ImageMagick-6/Magick++.h:10,
                 from ../test/test.cc:47:
/usr/include/ImageMagick-6/magick/pixel-accessor.h: In function ‘MagickCore::MagickRealType MagickCore::GetPixelLuma(const Image*, const PixelPacket*)’:
/usr/include/ImageMagick-6/magick/pixel-accessor.h:138:72: warning: unused parameter ‘image’ [-Wunused-parameter]
 static inline MagickRealType GetPixelLuma(const Image *magick_restrict image,
                                                                        ^~~~~

[344/367] Compiling test/update_checker_test.cc
[345/367] Compiling test/upmixer_a_test.cc
[346/367] Compiling test/util_test.cc
[347/367] Compiling test/vf_test.cc
[348/367] Compiling test/video_content_scale_test.cc
[349/367] Compiling test/video_mxf_content_test.cc
[350/367] Compiling test/vf_kdm_test.cc
[351/367] Compiling platform/linux/dcpomatic.desktop.in
[352/367] Compiling platform/linux/dcpomatic_batch.desktop.in
[353/367] Compiling platform/linux/dcpomatic_server.desktop.in
[354/367] Compiling platform/linux/dcpomatic_kdm.desktop.in
[355/367] Linking build/src/lib/libdcpomatic2.so
[356/367] Linking build/src/tools/server_test
[357/367] Linking build/src/tools/dcpomatic2_kdm_cli
[358/367] Linking build/src/tools/dcpomatic2_create
[359/367] Linking build/src/wx/libdcpomatic2-wx.so
[360/367] Linking build/test/unit-tests
[361/367] Linking build/src/tools/dcpomatic2_cli
[362/367] Linking build/src/tools/dcpomatic2_server_cli
[363/367] Linking build/src/tools/dcpomatic2
[364/367] Linking build/src/tools/dcpomatic2_player
[365/367] Linking build/src/tools/dcpomatic2_server
[366/367] Linking build/src/tools/dcpomatic2_batch
[367/367] Linking build/src/tools/dcpomatic2_kdm
Waf: Leaving directory `/home/mk/GIT-Repos/aur4.archlinux.org/Eigene/GIT/dcpomatic-git/src/dcpomatic-git/build'
'build' finished successfully (11m28.037s)

carl

2017-10-08 22:33

administrator   ~0001826

@carl some fixed in 85c2c9250f86dcc685b6e93e1e671a64cc0a24f3, rest may be unfixable (by me).

carl

2018-08-31 01:14

administrator   ~0002644

Believed fixed, let me know if not!

Bug History

Date Modified Username Field Change
2017-10-06 21:05 markusk New Bug
2017-10-06 21:05 markusk File Added: dcpomatic-arch-linux-compile-warnings-35c0a33f8da3b1f99ec32a8c42f578cbc063e7e4.txt
2017-10-08 22:33 carl Note Added: 0001826
2017-10-21 00:09 carl Target Version => 2.12.0
2017-10-21 00:09 carl Additional Information Updated
2017-12-30 20:48 carl Target Version 2.12.0 =>
2018-08-31 01:14 carl Assigned To => carl
2018-08-31 01:14 carl Status new => resolved
2018-08-31 01:14 carl Resolution open => fixed
2018-08-31 01:14 carl Note Added: 0002644
2018-10-17 20:10 carl Status resolved => closed