[MacPorts] #37336: libstdcxx-devel: error: 'pending_assemble_externals_processed' defined but not used [-Werror=unused-variable]

MacPorts noreply at macports.org
Wed Dec 26 07:16:04 PST 2012


#37336: libstdcxx-devel: error: 'pending_assemble_externals_processed' defined but
not used [-Werror=unused-variable]
------------------------------+-------------------
  Reporter:  march.1.xue@…    |      Owner:  mww@…
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.1.2
Resolution:                   |   Keywords:
      Port:  libstdcxx-devel  |
------------------------------+-------------------

Comment (by mano@…):

 ''... /gcc/varasm.c:2094:13: error: 'pending_assemble_externals_processed'
 defined but not used [-Werror=unused-variable]
  static bool pending_assemble_externals_processed;''

 To get it work just comment out the line 2094, static bool ..., in
 /opt/local/var/macports/build/... .../gcc/varasm.c

 Why were warnings treated as errors? OR Is there a reason, why warning-
 treated-as-errors is not disabled?

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


More information about the macports-tickets mailing list