[MacPorts] #41167: ola: Add a +nowarnings variant to work around issues with the new compiler

MacPorts noreply at macports.org
Thu Aug 28 14:55:51 PDT 2014


#41167: ola: Add a +nowarnings variant to work around issues with the new compiler
--------------------------+---------------------------------
  Reporter:  nomis52@…    |      Owner:  macports-tickets@…
      Type:  enhancement  |     Status:  closed
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.2.1
Resolution:  fixed        |   Keywords:  haspatch maintainer
      Port:  ola          |
--------------------------+---------------------------------
Changes (by ryandesign@…):

 * cc: ryandesign@… (added)
 * status:  new => closed
 * resolution:   => fixed


Old description:

> The new compiler that comes with XCode 5 is failing with :
>
> #warning Use of the header <ext/hash_map> is deprecated.
>
> This variant disables fatal warnings  (-Werror) so users can continue to
> build until the next release with the fixes is out.

New description:

 The new compiler that comes with XCode 5 is failing with :

 {{{
 #warning Use of the header <ext/hash_map> is deprecated.
 }}}

 This variant disables fatal warnings  (`-Werror`) so users can continue to
 build until the next release with the fixes is out.

--

Comment:

 ola @0.9.2 fails to build on the 10.7 and 10.8 buildslaves, with this
 error:

 {{{
 clang: error: argument unused during compilation: '-pthread'
 }}}

 An unused argument would normally only be a warning, but `-Werror` is
 turning the warning into an error.

 I've disabled the use of `-Werror` in r124835.

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


More information about the macports-tickets mailing list