[MacPorts] #43939: libpng: pngconf.h:366:52: error: token is not a valid binary operator in a preprocessor subexpression

MacPorts noreply at macports.org
Tue Jul 15 20:12:46 PDT 2014


#43939: libpng: pngconf.h:366:52: error: token is not a valid binary operator in a
preprocessor subexpression
-------------------------+--------------------------
  Reporter:  macports@…  |      Owner:  ryandesign@…
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.0
Resolution:              |   Keywords:
      Port:  libpng      |
-------------------------+--------------------------

Comment (by ryandesign@…):

 Yes, Xcode 3.2.6 is available for Snow Leopard, and you should upgrade to
 that version. See https://guide.macports.org/#installing.xcode.snowleopard

 I guess `__has_attribute` got added to clang after version 1.5, but by
 version 1.7. I've just installed Xcode 3.2 which comes with clang 1.0 and
 I'll see if I can replicate the problem there.

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


More information about the macports-tickets mailing list