[MacPorts] #53852: libdevil @1.7.8: error: expected expression (was: Libdevil fails gcc49 and gcc6)

MacPorts noreply at macports.org
Fri Mar 24 14:22:27 UTC 2017


#53852: libdevil @1.7.8: error: expected expression
-----------------------+------------------------
  Reporter:  TurBoss   |      Owner:  ryandesign
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  libdevil  |
-----------------------+------------------------

Comment (by ryandesign):

 The error shown in the log is:

 {{{
 :info:build ./../src-IL/src/il_jp2.c:462:23: error: expected expression
 :info:build                         stream->bufbase_ = JAS_CAST(uchar *,
 buf);
 :info:build                                            ^
 :info:build /opt/local/include/jasper/jas_types.h:117:5: note: expanded
 from macro 'JAS_CAST'
 :info:build         ((t) (e))
 :info:build            ^
 :info:build ./../src-IL/src/il_jp2.c:462:32: error: use of undeclared
 identifier 'uchar'
 :info:build                         stream->bufbase_ = JAS_CAST(uchar *,
 buf);
 :info:build                                                     ^
 }}}

 Evidently, libdevil 1.7.8 is not compatible with the current version of
 jasper.

 DevIL is an old graphics library that was abandoned, forked to ResIL,
 abandoned again, and then revived as DevIL again. 1.8.0 is available and I
 have begun trying to update the port to that version.

--
Ticket URL: <https://trac.macports.org/ticket/53852#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list