visual studio 2012 - error C4335 when compile C++ project VS2012 -
i have c project able compile , run successfully, when add include #include <vector>
without using vector type getting following annoying errors:
1>c:\program files (x86)\microsoft visual studio11.0\vc\include\wchar.h : error c4335: mac file format detected: please convert source file either dos or unix format
and around 30 more errors related same wchar.h
file.
i have search solution , have done suggestion save project files windows end-of-line didn't help.
my goal in including vector lib uses vectors in current project.
edit:
i tried open wchar.h
file using text editor blob of data nothing header file, maybe corrupted somehow?
thanks.
or open wchar.h in notepad++ -> edit -> eol conversion -> windows format. here can notepad++: http://notepad-plus-plus.org/
if don't have it, it. must have application on every programmers pc.
Comments
Post a Comment