Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译器问题 #3

Closed
kuangdazzidd opened this issue Jun 17, 2018 · 2 comments
Closed

编译器问题 #3

kuangdazzidd opened this issue Jun 17, 2018 · 2 comments

Comments

@kuangdazzidd
Copy link

kuangdazzidd commented Jun 17, 2018

麻烦问一下您在windows下面编译模拟器使用的VS版本,经常遇见更新以后使用VS的CL编译有些小的编译问题,但是在ARM9开发板上gcc编译正常。
如图为VS2017版本的CL编译器编译的错误信息,但是gcc编译是正常的。
image

@xianjimli
Copy link
Member

非常感谢。
是文件编码的问题。我一般用带BOM的UTF-8,有时不知什么原因,某个文件就变成了不带BOM的UTF-8编码,导致Visual C++编译失败。以后我会注意的,提交之后及时在Windows下验证。

@kuangdazzidd
Copy link
Author

谢谢,原来如此,中文编码真的是个麻烦的问题,要么导致显示乱码,要么导致这些莫名其妙的问题。

sohide added a commit that referenced this issue Jun 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants