Okay, so I have a weird one. This may be a bug, or it might be an RTFM issue, I hope it's not because i've been combing this site and the wiki for even the slightest hint since Friday and I've come up empty.
Here's the situation:
When I compile my simple C++ Roguelike and link with the Curses library using the build and run function in Code::Blocks, I end up with text that's white on black even though I'm expecting colours. Thinking it might be the Code::Blocks console failing to display colour, I tried it in terminal and it is indeed white on black.
When I compile from the terminal (g++ main.cpp -L/usr/lib -lcurses -o test) I get all the colours I'm expecting.
I've checked my settings to make sure that Code::Blocks is pointing the linker to the right library and the compiler doesn't have any flags set. I tried removing and reinstalling Code::Blocks (I'm running 10.05 Debian Binary Release) and it had no effect.
I am now thoroughly stumped, is there anyway to see what command line options Code::Blocks is passing to g++?
Any help would be greatly appreciated!