Comments (6)
你好,ananas只支持linux和macos,也就是gcc和clang,没有尝试过windows编译。另外这里出错信息提示不全,也可以提供以下msvc的版本。
from ananas.
我是vs2017 开启了最新的17标准的,并不是出错他是提示这个,编译是成功的·我是想拿future出来单独用的!
from ananas.
可能需要你截取完整的警告信息看一下,以及代码。在clang和gcc -Wall并没有遇到警告。
from ananas.
好吧·其实不是警告也不是错误是 note就是编译的时候会提示这个信息
只要调用了 .the 实例化_ThenImpl 都会有提示··我只会用win··c++也不行!
from ananas.
嗯,我先看下,c++语法也是不熟,全靠编译器提示,写出准确的代码:-)
不过这个示例,在clang和gcc的-Wall都是没告警的,可能告警级别没有msvc严格。
from ananas.
另外建议网上搜一下“参见对正在编译的函数 模板 实例化”,看看有什么解决方案
更高阶一点,google搜索对应的英文,SO上应该会有帮助。
from ananas.
Related Issues (8)
- future/promise集成度似乎还不够高 HOT 1
- 烦请处理下gcc的警告 HOT 2
- 可以中断then的future 链吗 HOT 1
- 能否实现shared_future HOT 1
- Future.h内有个小问题 HOT 3
- t'r'y
- try中exception_的异常捕获处理中,在vs2015中处理中抛异常 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ananas.