[MacPorts] #62194: mc @4.8.26_0+ncurses: error: unknown type name 'cchar_t' (was: mc @4.8.26_0+ncurses Building error)

MacPorts noreply at macports.org
Mon Feb 1 09:49:57 UTC 2021


#62194: mc @4.8.26_0+ncurses: error: unknown type name 'cchar_t'
-----------------------+--------------------
  Reporter:  beremour  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.6.4
Resolution:            |   Keywords:
      Port:  mc        |
-----------------------+--------------------
Changes (by ryandesign):

 * keywords:  mc Midnight Commander ncurses =>


Comment:

 There are also implicit declarations of function which would have been an
 error if you had been using Xcode 12 or later:

 {{{
 :info:build tty-ncurses.c:569:9: warning: implicit declaration of function
 'mvin_wchnstr' is invalid in C99 [-Wimplicit-function-declaration]
 :info:build         mvin_wchnstr (y + row, x, ctext, cols);
 :info:build         ^
 :info:build tty-ncurses.c:573:13: warning: implicit declaration of
 function 'getcchar' is invalid in C99 [-Wimplicit-function-declaration]
 :info:build             getcchar (&ctext[col], wch, &attrs, &color_pair,
 NULL);
 :info:build             ^
 :info:build tty-ncurses.c:574:13: warning: implicit declaration of
 function 'setcchar' is invalid in C99 [-Wimplicit-function-declaration]
 :info:build             setcchar (&ctext[col], wch, attrs, color, NULL);
 :info:build             ^
 :info:build tty-ncurses.c:577:9: warning: implicit declaration of function
 'mvadd_wchnstr' is invalid in C99 [-Wimplicit-function-declaration]
 :info:build         mvadd_wchnstr (y + row, x, ctext, cols);
 :info:build         ^
 }}}

 This and the error you mentioned above point to a `#include` statement
 being missing somewhere.

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


More information about the macports-tickets mailing list