On 20 March 2011 13:41, denis campredon wrote:
> downloaded gcc 4.6, and tried it.
>
> And I found something a little strange when I compile a file :
>
> g++ displayboard.cpp -lncurses -c
> displayboard.cpp: In constructor ‘DisplayBoard::DisplayBoard(int, int)’:
> displayboard.cpp:47:22: error: inv
downloaded gcc 4.6, and tried it.
And I found something a little strange when I compile a file :
g++ displayboard.cpp -lncurses -c
displayboard.cpp: In constructor ‘DisplayBoard::DisplayBoard(int, int)’:
displayboard.cpp:47:22: error: invalid conversion from ‘void (*
(*)())(int)’ to ‘sighandler_t