Opened 7 months ago

Closed 6 months ago

#69888 closed defect (fixed)

nvi build error: ncurses.h: error: redefinition of typedef ‘SCREEN’

Reported by: barracuda156 Owned by: barracuda156
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: Cc:
Port: nvi

Description

/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I.  -D__REGEX_PRIVATE -I. -I./../include -DVI=\"/opt/local/bin/`echo vi-ipc | sed 's&^&n&'`\" -I./../regex  -I/opt/local/include -I/opt/local/include/db48  -O -c -o vi-cl_main.o `test -f './../cl/cl_main.c' || echo './'`./../cl/cl_main.c
In file included from ./../cl/cl.h:22,
                 from ./../cl/cl_funcs.c:32:
/opt/local/include/ncurses.h:461: error: redefinition of typedef ‘SCREEN’
/opt/local/include/term.h:60: error: previous declaration of ‘SCREEN’ was here
/opt/local/include/ncurses.h:1025: error: redefinition of typedef ‘NCURSES_OUTC_sp’
/opt/local/include/term.h:71: error: previous declaration of ‘NCURSES_OUTC_sp’ was here
make[1]: *** [vi-cl_funcs.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from ./../cl/cl.h:22,
                 from ./../cl/cl_main.c:32:
/opt/local/include/ncurses.h:461: error: redefinition of typedef ‘SCREEN’
/opt/local/include/term.h:60: error: previous declaration of ‘SCREEN’ was here
/opt/local/include/ncurses.h:1025: error: redefinition of typedef ‘NCURSES_OUTC_sp’
/opt/local/include/term.h:71: error: previous declaration of ‘NCURSES_OUTC_sp’ was here
make[1]: *** [vi-cl_main.o] Error 1

Change History (1)

comment:1 Changed 6 months ago by barracuda156

Owner: set to barracuda156
Resolution: fixed
Status: newclosed

In 600533bbed8bb057c8024783a2dcbded4fac2960/macports-ports (master):

nvi: blacklist old Xcode gcc, which does not build this

Closes: #69888

Note: See TracTickets for help on using tickets.