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

dummylua-2-4工程下luavm.c文件编译报错问题 #8

Open
youngkab opened this issue Apr 16, 2024 · 2 comments
Open

dummylua-2-4工程下luavm.c文件编译报错问题 #8

youngkab opened this issue Apr 16, 2024 · 2 comments

Comments

@youngkab
Copy link

dummylua-2-4工程编译后luavm.c第67、81、82行提示"switch"、"return"、"}"C2059语法错误问题,详情如下图所示:
dummylua-2-4工程编译报错

@Manistein
Copy link
Owner

很多读者是直接从github仓库下载zip包到本地,源码文件的格式是Unix LF格式,这个在Visual Studio工程里面可能会导致编译不过,只需要将源码文件格式改成CRLF即可。

@youngkab
Copy link
Author

感谢作者,问题已解决。记事本打开后右下角可以看到源码文件格式
Uploading 85212575172F03940A84513D4CE87D6C.png…

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