[MacPorts] #51827: zeroc-ice35: error: expression with side effects will be evaluated despite being used as an operand to 'typeid' (was: zeroc-ice35 failed to build)

MacPorts noreply at macports.org
Mon Jul 11 19:24:27 PDT 2016


#51827: zeroc-ice35: error: expression with side effects will be evaluated despite
being used as an operand to 'typeid'
---------------------------+---------------------
  Reporter:  g.korovkin@…  |      Owner:  blair@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.3.4
Resolution:                |   Keywords:
      Port:  zeroc-ice35   |
---------------------------+---------------------
Changes (by ryandesign@…):

 * owner:  macports-tickets@… => blair@…


Old description:

> after trying to upgade port - zeroc-ice35 port has failed to compile:
>
> :info:build BackgroundSaveEvictorI.cpp:1077:56: error: expression with
> side effects will be evaluated despite being used as an operand to
> 'typeid' [-Werror,-Wpotentially-
> {{{
> evaluated-expression]
> :info:build                             ex.message =
> string(typeid(*element->rec.servant).name())
> :info:build                                                        ^
> :info:build 1 error generated.
> :info:build make[2]: *** [BackgroundSaveEvictorI.o] Error 1
> :info:build make[1]: *** [Freeze] Error 2
> }}}

New description:

 after trying to upgade port - zeroc-ice35 port has failed to compile:

 {{{
 :info:build BackgroundSaveEvictorI.cpp:1077:56: error: expression with
 side effects will be evaluated despite being used as an operand to
 'typeid' [-Werror,-Wpotentially-evaluated-expression]
 :info:build                             ex.message =
 string(typeid(*element->rec.servant).name())
 :info:build                                                        ^
 :info:build 1 error generated.
 :info:build make[2]: *** [BackgroundSaveEvictorI.o] Error 1
 :info:build make[1]: *** [Freeze] Error 2
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/51827#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list