Conversation
Member
waruqi
commented
Aug 20, 2019
- Before adding new features and new modules, please go to issues to submit the relevant feature description first.
- Write good commit messages and use the same coding conventions as the rest of the project.
- Please commit code to dev branch and we will merge into master branch in feature
- Ensure your edited codes with four spaces instead of TAB.
- 增加新特性和新模块之前,请先到issues提交相关特性说明,经过讨论评估确认后,再进行相应的代码提交,避免做无用工作。
- 编写友好可读的提交信息,并使用与工程代码相同的代码规范,代码请用4个空格字符代替tab缩进。
- 请提交代码到dev分支,如果通过,我们会在特定时间合并到master分支上。
- 为了规范化提交日志的格式,commit消息,不要用中文,请用英文描述。
Member
Author
Member
|
好像没啥问题 |
| if ok ~= 0 then | ||
|
|
||
| -- read errors | ||
| local outdata = os.isfile(outpath) and io.readfile(outpath) or nil |
Member
There was a problem hiding this comment.
这个文件编码已知的,把 {encoding="utf16le"} 加上吧,省的哪天有什么奇葩输出把自动探测编码给弄炸了
|
|
||
| -- get output and error data | ||
| outfile:close() | ||
| local outdata = os.isfile(outpath) and io.readfile(outpath) or nil |
Member
There was a problem hiding this comment.
{encoding="utf16le"},下面那个文件不用
| local program, argv = linkargv(self, objectfiles, targetkind, targetfile, flags, opt) | ||
| os.runv(program, argv, {vs_unicode_output = true}) | ||
| -- use vstool to link and enable vs_unicode_output @see https://github.com/xmake-io/xmake/issues/528 | ||
| vstool.runv(linkargv(self, objectfiles, targetkind, targetfile, flags, opt)) |
Member
There was a problem hiding this comment.
这些地方的warning都不要了?之前都没注意到
Member
Author
There was a problem hiding this comment.
link.exe的警告一直就没捕获处理过,cl.exe的警告捕获输出也是后来才加的,那个时候弄完cl,link的就懒得弄了,暂时没去弄。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.