#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@…): 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. -- Ticket URL: <https://trac.macports.org/ticket/43939#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X