trink / symtseries

C Library providing means of symbolic analysis on time series data currently based on iSAX paper (http://www.cs.ucr.edu/~eamonn/iSAX/iSAX.html)
Mozilla Public License 2.0
3 stars 3 forks source link

build failed with msvc2013 #48

Open mei-rune opened 9 years ago

mei-rune commented 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”截断

trink commented 9 years ago

Sigh, this change obviously wasn't tested on Windows. I will create a PR that specifies every lookup table value with an f.

trink commented 9 years ago

In the end I decided to go with the pragma