Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

int8_t type not found #98

Closed
runner-mei opened this Issue · 3 comments

2 participants

@runner-mei

这个不算bug, 在我的编译器中编译时会发生类型 int8_t 找不到错误, 原因是 src/ngx_http_lua_shdict.h 及其依赖的头文件中没有 include , 可能不只是这一个地方有这个问题,其它文件也有可能有。因此我在ngx_http_lua_common.h 文件中添加了就好了。

@agentzh
Owner

这个当然算 bug,多谢报告!

@agentzh agentzh referenced this issue from a commit
@agentzh agentzh bugfix: certain compilers might complain about missing declarations f…
…or types like int8_t. now we explicitly included stdint.h. thanks runner-mei for reporting it in github issue #98.
e96822a
@agentzh
Owner

我刚刚在 master 分支中提交了更动,在 common.h 中添加了对 stdint.h 的显式包含。能否在你本地再测试一下,看看问题是否解决?多谢!

@runner-mei

可以了, 谢谢

@runner-mei runner-mei closed this
@mtourne mtourne referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.