[MacPorts] #37806: firefox-x11 @7.0.1_2: error: non-constant-expression cannot be narrowed from type 'int' to 'SInt8' (aka 'signed char') in initializer list [-Wc++11-narrowing] (was: Can't get firefox-x11 to build)

MacPorts noreply at macports.org
Sun Jan 27 16:55:44 PST 2013


#37806: firefox-x11 @7.0.1_2: error: non-constant-expression cannot be narrowed
from type 'int' to 'SInt8' (aka 'signed char') in initializer list
[-Wc++11-narrowing]
--------------------------+--------------------------------
  Reporter:  cdcooke@…    |      Owner:  macports-tickets@…
      Type:  defect       |     Status:  closed
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.1.2
Resolution:  duplicate    |   Keywords:
      Port:  firefox-x11  |
--------------------------+--------------------------------
Changes (by ryandesign@…):

 * status:  new => closed
 * resolution:   => duplicate


Comment:

 Looks like clang has some complaints, the first of which is:
 {{{
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_firefox-x11/firefox-x11/work
 /mozilla-release/ipc/chromium/src/base/message_pump_mac.mm:237:5: error:
 non-constant-expression cannot be narrowed from type 'int' to 'SInt8' (aka
 'signed char') in initializer list [-Wc++11-narrowing]
 :info:build     exploded.month,
 :info:build     ^~~~~~~~~~~~~~
 }}}
 So this is a duplicate of #35145.

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


More information about the macports-tickets mailing list