Re: g++ 4.6 and suggested flags

2011-03-20 Thread Jonathan Wakely
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

g++ 4.6 and suggested flags

2011-03-20 Thread denis campredon
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