[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 15:40:16 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 devans@…):

 Replying to [comment:7 ryandesign@…]:
 > Replying to [comment:2 ryandesign@…]:
 > > I will need to contact the libpng developers to see how we can fix
 these headers to let older versions of clang process them correctly.
 >
 > I did contact the developers; they put a fix into libpng 1.6.12rc03. The
 libpng port is at version 1.6.12 so it should include this fix, so it
 should be safe to revert r121508 now.

 Not sure this is worth the effort since clang < 300 is known to be a
 problem in general and I can't confirm the results locally.  Can you
 confirm that the port now builds correctly on SL with the clang < 300
 blacklist term removed?

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


More information about the macports-tickets mailing list