nvcc fatal : unknown option 'wall' . . . . . . Whats the problem ??

Just set up code blocks to compile with nvcc using:
Musings of an astro-boy

When I run code on it I get *** nvcc fatal : unknown option ‘wall’ ***

The code runs perfectly in the terminal (using ubuntu).

Not sure whats happening to be honest.

Thanks in advance.
the_cuda_newbie

wall (-wall) is not correct. It should be -Wall