Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

感谢分享与奉献,编译报错template parameter is an integral of a size not supported on this platform #16

Open
daabtech opened this issue Nov 11, 2018 · 2 comments

Comments

@daabtech
Copy link

首先非常感谢博主的分享与奉献,小弟属菜鸟一名,觉得JQHttpServer写得蛮好的,今天fork了JQTools,在Linux上可以编译通过(有一些警告)。
windows上QT5.9.7+MSVC2015编译时报错,error: C2338: template parameter is an integral of a size not supported on this platform
位于文件:JQFoundation.cpp第717行。
QAtomicInteger< qint64 > JQMemoryPool::totalMallocSize_ = 0;
这里是否因为平台不支持?有办法修改吗,谢谢。

@188080501
Copy link
Owner

先确认下,是最新的代码吗?
我试了最新代码,在macOS和MinGW下,都可以编译过,等下我找个VS编译器试试

@zhaosky
Copy link

zhaosky commented Mar 26, 2019

我也遇到了,估计vs不行,这边环境是5.9.6+MSVC2015.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants