开发者

compile redisql in cygwin without fenv.h

I'm trying to compile Redisql (AlchemyDatabase-0.1.6.tgz) in Cygwin but failed. This is because the header file fenv.h in row.c source file is not included in Cygwin's C standard library. I commented that out and Redisql successfully compiled. 开发者_运维知识库Is it OK to run this modified program, what's the risk of it's going to crash & eat the computer?


According to Wikipedia, fenv.h "contains various functions and macros for manipulating the floating-point environment." So the software might work, but if you do floating point operations, the software might crash and burn. But it looks like Cygwin comes with fenv.h (http://cygwin.com/ml/cygwin-patches/2010-q3/msg00058.html)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜