How to compile Apm code version 3.2.1

Dear everyone,

I am trying to compile the arducopter code 3.2.1 but it gives me compilation error.

Here is the screen shot using atmel studio