[MacPorts] #60767: charls @2.1.0: does not build on Yosemite error: no member named 'maximum_sample_value' in 'std::initializer_list<charls_jpegls_pc_parameters>'

MacPorts noreply at macports.org
Wed Jul 8 19:16:29 UTC 2020


#60767: charls @2.1.0: does not build on Yosemite error: no member named
'maximum_sample_value' in
'std::initializer_list<charls_jpegls_pc_parameters>'
-------------------------+--------------------
  Reporter:  ryandesign  |      Owner:  Veence
      Type:  defect      |     Status:  closed
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.2
Resolution:  fixed       |   Keywords:
      Port:  charls      |
-------------------------+--------------------
Description changed by ryandesign:

Old description:

> [https://build.macports.org/builders/ports-10.10_x86_64-builder/builds/117546/steps
> /install-port/logs/stdio charls does not build on Yosemite:
>
> {{{
> /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_charls/charls/work/charls-2.1.0/src/charls_jpegls_decoder.cpp:336:23:
> warning: direct list initialization of a variable with a deduced type
> will change meaning in a future version of Clang; insert an '=' to avoid
> a change in behavior [-Wfuture-compat]
>     const auto& preset{decoder.preset_coding_parameters()};
>                       ^
>                       =
> /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_charls/charls/work/charls-2.1.0/src/charls_jpegls_decoder.cpp:337:48:
> error: no member named 'maximum_sample_value' in
> 'std::initializer_list<charls_jpegls_pc_parameters>'
>     params->custom.MaximumSampleValue = preset.maximum_sample_value;
>                                         ~~~~~~ ^
> /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_charls/charls/work/charls-2.1.0/src/charls_jpegls_decoder.cpp:338:40:
> error: no member named 'threshold1' in
> 'std::initializer_list<charls_jpegls_pc_parameters>'
>     params->custom.Threshold1 = preset.threshold1;
>                                 ~~~~~~ ^
> /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_charls/charls/work/charls-2.1.0/src/charls_jpegls_decoder.cpp:339:40:
> error: no member named 'threshold2' in
> 'std::initializer_list<charls_jpegls_pc_parameters>'
>     params->custom.Threshold2 = preset.threshold2;
>                                 ~~~~~~ ^
> /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_charls/charls/work/charls-2.1.0/src/charls_jpegls_decoder.cpp:340:40:
> error: no member named 'threshold3' in
> 'std::initializer_list<charls_jpegls_pc_parameters>'
>     params->custom.Threshold3 = preset.threshold3;
>                                 ~~~~~~ ^
> /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_charls/charls/work/charls-2.1.0/src/charls_jpegls_decoder.cpp:341:40:
> error: no member named 'reset_value' in
> 'std::initializer_list<charls_jpegls_pc_parameters>'
>     params->custom.ResetValue = preset.reset_value;
>                                 ~~~~~~ ^
> 1 warning and 5 errors generated.
> }}}

New description:

 [https://build.macports.org/builders/ports-10.10_x86_64-builder/builds/117546/steps
 /install-port/logs/stdio charls does not build on Yosemite]:

 {{{
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_charls/charls/work/charls-2.1.0/src/charls_jpegls_decoder.cpp:336:23:
 warning: direct list initialization of a variable with a deduced type will
 change meaning in a future version of Clang; insert an '=' to avoid a
 change in behavior [-Wfuture-compat]
     const auto& preset{decoder.preset_coding_parameters()};
                       ^
                       =
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_charls/charls/work/charls-2.1.0/src/charls_jpegls_decoder.cpp:337:48:
 error: no member named 'maximum_sample_value' in
 'std::initializer_list<charls_jpegls_pc_parameters>'
     params->custom.MaximumSampleValue = preset.maximum_sample_value;
                                         ~~~~~~ ^
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_charls/charls/work/charls-2.1.0/src/charls_jpegls_decoder.cpp:338:40:
 error: no member named 'threshold1' in
 'std::initializer_list<charls_jpegls_pc_parameters>'
     params->custom.Threshold1 = preset.threshold1;
                                 ~~~~~~ ^
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_charls/charls/work/charls-2.1.0/src/charls_jpegls_decoder.cpp:339:40:
 error: no member named 'threshold2' in
 'std::initializer_list<charls_jpegls_pc_parameters>'
     params->custom.Threshold2 = preset.threshold2;
                                 ~~~~~~ ^
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_charls/charls/work/charls-2.1.0/src/charls_jpegls_decoder.cpp:340:40:
 error: no member named 'threshold3' in
 'std::initializer_list<charls_jpegls_pc_parameters>'
     params->custom.Threshold3 = preset.threshold3;
                                 ~~~~~~ ^
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_charls/charls/work/charls-2.1.0/src/charls_jpegls_decoder.cpp:341:40:
 error: no member named 'reset_value' in
 'std::initializer_list<charls_jpegls_pc_parameters>'
     params->custom.ResetValue = preset.reset_value;
                                 ~~~~~~ ^
 1 warning and 5 errors generated.
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/60767#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list