Compiling error and warning when using CUDA4

External Image

I tried to compile my old CUDA code with the new CUDA4, and got lots of errors and warning(no such thing with CUDA3.2)

(tens of such error)
frealign_v8.a:46:16: error: invalid preprocessing directive #¹
frealign_v8.a:53:16: error: invalid preprocessing directive #â

(thousands of such warning)
frealign_v8.a:34259:10: warning: null character(s) ignored
frealign_v8.a:34259:17: warning: null character(s) ignored

This happened when linking library.
Does anybody know the reason?
Thank you.