#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 march.1.xue@…): Replying to [comment:12 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?
Thanks! It is working now... -- Ticket URL: <https://trac.macports.org/ticket/37336#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS