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

Just set up code blocks to compile with nvcc using:

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.

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