Opened 3 months ago

#70426 new defect

netwalker-ircc: error: invalid use of incomplete type ‘struct _win_st’

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: Cc:
Port: netwalker-ircc

Description

--== BUILDING OBJECT FILES ==--
/usr/bin/g++-4.2 -Os -Wall -arch ppc -c main.cc              -o main.o
/usr/bin/g++-4.2 -Os -Wall -arch ppc -c functions.cc         -o functions.o
functions.cc: In function ‘void help_me(char*)’:
functions.cc:557: warning: deprecated conversion from string constant to ‘char*’
functions.cc:557: warning: deprecated conversion from string constant to ‘char*’
functions.cc:562: warning: deprecated conversion from string constant to ‘char*’
functions.cc:562: warning: deprecated conversion from string constant to ‘char*’
functions.cc:570: warning: deprecated conversion from string constant to ‘char*’
functions.cc:570: warning: deprecated conversion from string constant to ‘char*’
functions.cc:584: warning: deprecated conversion from string constant to ‘char*’
functions.cc:595: warning: deprecated conversion from string constant to ‘char*’
functions.cc:595: warning: deprecated conversion from string constant to ‘char*’
functions.cc:606: warning: deprecated conversion from string constant to ‘char*’
functions.cc:615: warning: deprecated conversion from string constant to ‘char*’
functions.cc:615: warning: deprecated conversion from string constant to ‘char*’
/usr/bin/g++-4.2 -Os -Wall -arch ppc -c screen.cc            -o screen.o
screen.cc: In member function ‘void Screen::DrawTopScreen()’:
screen.cc:83: error: invalid use of incomplete type ‘struct _win_st’
/opt/local/include/curses.h:464: error: forward declaration of ‘struct _win_st’
screen.cc:83: error: invalid use of incomplete type ‘struct _win_st’
/opt/local/include/curses.h:464: error: forward declaration of ‘struct _win_st’
screen.cc:85: error: invalid use of incomplete type ‘struct _win_st’
/opt/local/include/curses.h:464: error: forward declaration of ‘struct _win_st’
screen.cc:87: error: invalid use of incomplete type ‘struct _win_st’
/opt/local/include/curses.h:464: error: forward declaration of ‘struct _win_st’
screen.cc:88: error: invalid use of incomplete type ‘struct _win_st’
/opt/local/include/curses.h:464: error: forward declaration of ‘struct _win_st’
screen.cc: In member function ‘void Screen::DrawBottomScreen()’:
screen.cc:99: error: invalid use of incomplete type ‘struct _win_st’
/opt/local/include/curses.h:464: error: forward declaration of ‘struct _win_st’
screen.cc:99: error: invalid use of incomplete type ‘struct _win_st’
/opt/local/include/curses.h:464: error: forward declaration of ‘struct _win_st’
screen.cc:101: error: invalid use of incomplete type ‘struct _win_st’
/opt/local/include/curses.h:464: error: forward declaration of ‘struct _win_st’
screen.cc:119: error: invalid use of incomplete type ‘struct _win_st’
/opt/local/include/curses.h:464: error: forward declaration of ‘struct _win_st’
screen.cc:120: error: invalid use of incomplete type ‘struct _win_st’
/opt/local/include/curses.h:464: error: forward declaration of ‘struct _win_st’
screen.cc: In member function ‘void Screen::DrawTextScreen()’:
screen.cc:137: error: invalid use of incomplete type ‘struct _win_st’
/opt/local/include/curses.h:464: error: forward declaration of ‘struct _win_st’
screen.cc:137: error: invalid use of incomplete type ‘struct _win_st’
/opt/local/include/curses.h:464: error: forward declaration of ‘struct _win_st’
screen.cc: In member function ‘void Screen::GetInput()’:
screen.cc:217: warning: deprecated conversion from string constant to ‘char*’
screen.cc:217: warning: deprecated conversion from string constant to ‘char*’
screen.cc:222: warning: deprecated conversion from string constant to ‘char*’
screen.cc:222: warning: deprecated conversion from string constant to ‘char*’
screen.cc: In member function ‘void Screen::user_input_SCREEN(char*)’:
screen.cc:793: warning: deprecated conversion from string constant to ‘char*’
make: *** [screen.o] Error 1

Change History (0)

Note: See TracTickets for help on using tickets.