Catastrophic error detected in compilation # error 0x4

I am trying to build (from Visual Studio command prompt on Window 7) a .cu file which include cpp header files and i see it fail to compile with catastrophic failure.
With verbose switch I see it fail at the beginning of compilation like below. Is there any way to find out what is cause this catastrophic failure?

# cl -D__CUDA_ARCH__=100 -nologo -E -TP -DCUDA_FLOAT_MATH_FUNCTIONS -DCUDA_NO_SM_12_ATOMIC_INTRINSICS -DCUDA_NO_SM_11_ATOMIC_INTRINSICS -DCUDA_NO_SM_13_DOUBLE_INTRINSICS -D__CUDACC__ -C /EHsc /nologo /O2 /Zi -I"./../../common" -I"./../include" "-IC:\Program Files (x86)\NVIDIA GPU Computing Toolkit\CUDA\v4.0\bin/../include" "-IC:\Program Files (x86)\NVIDIA GPU Computing Toolkit\CUDA\v4.0\bin/../include/cudart" -FI "cuda_runtime.h" > "C:/Users/bharathm/AppData/Local/Temp/1/tmpxft_00001118_00000000-6_DeviceMemory.cpp1.ii" "DeviceMemory.cu" DeviceMemory.cu # cudafe --m32 --microsoft_version=1600 --msvc_target_version=1600 --compiler_bindir “C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin/…/…” --sdk_dir “C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin/…/…/VC/Platform SDK/” -tused --no_remove_unneeded_entities --sdk_dir “c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A” --gen_c_file_name “C:/Users/bharathm/AppData/Local/Temp/1/tmpxft_00001118_00000000-3_DeviceMemory.cudafe1.c” --stub_file_name “C:/Users/bharathm/AppData/Local/Temp/1/tmpxft_00001118_00000000-3_DeviceMemory.cudafe1.stub.c” --gen_device_file_name “C:/Users/bharathm/AppData/Local/Temp/1/tmpxft_00001118_00000000-3_DeviceMemory.cudafe1.gpu” --include_file_name “C:/Users/bharathm/AppData/Local/Temp/1/tmpxft_00001118_00000000-5_DeviceMemory.fatbin.c” “C:/Users/bharathm/AppData/Local/Temp/1/tmpxft_00001118_00000000-6_DeviceMemory.cpp1.ii”
Command-line error: missing source file name

1 catastrophic error detected in this compilation.
Compilation terminated.

–error 0x4 –

If i build the same using visual Studio 2010 it compile fine - here i use “cppIntegration” sample as a template.