Open mei-rune opened 9 years ago
F:\developing\c\lua_sandbox\release\ep_base\Source\lua_sax\src\symtseries.c(46) : error C2220: 警告被视为错误 - 没有生成“object”文件 F:\developing\c\lua_sandbox\release\ep_base\Source\lua_sax\src\symtseries.c(46) : warning C4305: “初始化”: 从“double”到“const float”截断 F:\developing\c\lua_sandbox\release\ep_base\Source\lua_sax\src\symtseries.c(54) : warning C4305: “初始化”: 从“double”到“const float”截断 F:\developing\c\lua_sandbox\release\ep_base\Source\lua_sax\src\symtseries.c(61) : warning C4305: “初始化”: 从“double”到“const float”截断 F:\developing\c\lua_sandbox\release\ep_base\Source\lua_sax\src\symtseries.c(69) : warning C4305: “初始化”: 从“double”到“const float”截断 F:\developing\c\lua_sandbox\release\ep_base\Source\lua_sax\src\symtseries.c(78) : warning C4305: “初始化”: 从“double”到“const float”截断 F:\developing\c\lua_sandbox\release\ep_base\Source\lua_sax\src\symtseries.c(88) : warning C4305: “初始化”: 从“double”到“const float”截断 F:\developing\c\lua_sandbox\release\ep_base\Source\lua_sax\src\symtseries.c(99) : warning C4305: “初始化”: 从“double”到“const float”截断 F:\developing\c\lua_sandbox\release\ep_base\Source\lua_sax\src\symtseries.c(111) : warning C4305: “初始化”: 从“double”到“const float”截断 F:\developing\c\lua_sandbox\release\ep_base\Source\lua_sax\src\symtseries.c(124) : warning C4305: “初始化”: 从“double”到“const float”截断 F:\developing\c\lua_sandbox\release\ep_base\Source\lua_sax\src\symtseries.c(138) : warning C4305: “初始化”: 从“double”到“const float”截断 F:\developing\c\lua_sandbox\release\ep_base\Source\lua_sax\src\symtseries.c(153) : warning C4305: “初始化”: 从“double”到“const float”截断 F:\developing\c\lua_sandbox\release\ep_base\Source\lua_sax\src\symtseries.c(169) : warning C4305: “初始化”: 从“double”到“const float”截断 F:\developing\c\lua_sandbox\release\ep_base\Source\lua_sax\src\symtseries.c(186) : warning C4305: “初始化”: 从“double”到“const float”截断 F:\developing\c\lua_sandbox\release\ep_base\Source\lua_sax\src\symtseries.c(204) : warning C4305: “初始化”: 从“double”到“const float”截断 F:\developing\c\lua_sandbox\release\ep_base\Source\lua_sax\src\symtseries.c(223) : warning C4305: “初始化”: 从“double”到“const float”截断
Sigh, this change obviously wasn't tested on Windows. I will create a PR that specifies every lookup table value with an f.
f
In the end I decided to go with the pragma
F:\developing\c\lua_sandbox\release\ep_base\Source\lua_sax\src\symtseries.c(46) : error C2220: 警告被视为错误 - 没有生成“object”文件 F:\developing\c\lua_sandbox\release\ep_base\Source\lua_sax\src\symtseries.c(46) : warning C4305: “初始化”: 从“double”到“const float”截断 F:\developing\c\lua_sandbox\release\ep_base\Source\lua_sax\src\symtseries.c(54) : warning C4305: “初始化”: 从“double”到“const float”截断 F:\developing\c\lua_sandbox\release\ep_base\Source\lua_sax\src\symtseries.c(61) : warning C4305: “初始化”: 从“double”到“const float”截断 F:\developing\c\lua_sandbox\release\ep_base\Source\lua_sax\src\symtseries.c(69) : warning C4305: “初始化”: 从“double”到“const float”截断 F:\developing\c\lua_sandbox\release\ep_base\Source\lua_sax\src\symtseries.c(78) : warning C4305: “初始化”: 从“double”到“const float”截断 F:\developing\c\lua_sandbox\release\ep_base\Source\lua_sax\src\symtseries.c(88) : warning C4305: “初始化”: 从“double”到“const float”截断 F:\developing\c\lua_sandbox\release\ep_base\Source\lua_sax\src\symtseries.c(99) : warning C4305: “初始化”: 从“double”到“const float”截断 F:\developing\c\lua_sandbox\release\ep_base\Source\lua_sax\src\symtseries.c(111) : warning C4305: “初始化”: 从“double”到“const float”截断 F:\developing\c\lua_sandbox\release\ep_base\Source\lua_sax\src\symtseries.c(124) : warning C4305: “初始化”: 从“double”到“const float”截断 F:\developing\c\lua_sandbox\release\ep_base\Source\lua_sax\src\symtseries.c(138) : warning C4305: “初始化”: 从“double”到“const float”截断 F:\developing\c\lua_sandbox\release\ep_base\Source\lua_sax\src\symtseries.c(153) : warning C4305: “初始化”: 从“double”到“const float”截断 F:\developing\c\lua_sandbox\release\ep_base\Source\lua_sax\src\symtseries.c(169) : warning C4305: “初始化”: 从“double”到“const float”截断 F:\developing\c\lua_sandbox\release\ep_base\Source\lua_sax\src\symtseries.c(186) : warning C4305: “初始化”: 从“double”到“const float”截断 F:\developing\c\lua_sandbox\release\ep_base\Source\lua_sax\src\symtseries.c(204) : warning C4305: “初始化”: 从“double”到“const float”截断 F:\developing\c\lua_sandbox\release\ep_base\Source\lua_sax\src\symtseries.c(223) : warning C4305: “初始化”: 从“double”到“const float”截断