[MacPorts] #60403: lpcnetfreedv: incorrect optimization when building universal

MacPorts noreply at macports.org
Thu May 7 16:02:01 UTC 2020


#60403: lpcnetfreedv: incorrect optimization when building universal
---------------------------+----------------------
  Reporter:  ryandesign    |      Owner:  ra1nb0w
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.6.2
Resolution:                |   Keywords:
      Port:  lpcnetfreedv  |
---------------------------+----------------------

Comment (by ra1nb0w):

 Sorry for the delay.

 this is the change https://github.com/ra1nb0w/macports-
 ports/commit/4c9b9c99c28ec74677a8d8faaacc30e1b4557ce2

 is it ok?

 thanks for the tip about the switch; generally I use if/else(if) when I
 have only a few checks because they are generally faster or the compiler
 optimize the switch to if/else(if). Surelly the readability is better with
 switch.

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


More information about the macports-tickets mailing list