Comments (5)
I think this is the same as #11.
What about -std=gnu++11
?
from ekam.
For reference, here are some of the errors with c++11.
/ekam-provider/canonical/kj/compat/http-test.c++:863:1: error: could not convert '{"HTTP/1.1 200 OK\015\012Content-Length: 7\015\012\015\012", 200, "OK", <brace-enclosed initializer list>(), 7, {
[FAILED ] compile: kj/compat/http.c++
/ekam-provider/canonical/kj/compat/http.c++: In instantiation of 'static constexpr bool kj::{anonymous}::FastCaseCmp<first, rest ...>::apply(const char*) [with char first = '1'; char ...rest = {}
/ekam-provider/canonical/kj/compat/http.c++:1185:70: recursively required from 'static constexpr bool kj::{anonymous}::FastCaseCmp<first, rest ...>::apply(const char*) [with char first = 'O'; c
/ekam-provider/canonical/kj/compat/http.c++:1185:70: required from 'static constexpr bool kj::{anonymous}::FastCaseCmp<first, rest ...>::apply(const char*) [with char first = 'f'; char ...rest
/ekam-provider/canonical/kj/compat/http.c++:1203:38: required from 'constexpr bool kj::{anonymous}::fastCaseCmp(const char*) [with char ...chars = {'f', 'O', 'o', 'B', '1'}]'
/ekam-provider/canonical/kj/compat/http.c++:1207:55: required from here
/ekam-provider/canonical/kj/compat/http.c++:1191:3: error: body of constexpr function 'static constexpr bool kj::{anonymous}::FastCaseCmp<first, rest ...>::apply(const char*) [with char first = '
}
from ekam.
-std=gnu++11
seems to have the same problem.
from ekam.
Oops, that appears to be an issue in Cap'n Proto code. Specifically, some code I added fairly recently which I guess I never tested in C++11 mode.
I'm tempted to declare that Cap'n Proto now requires C++14, since there's some pretty big improvements that I'd like to rely on going forward...
from ekam.
FWIW bazel still seems to compile as C++11 by default. Maybe not that big a deal though -- it's easy enough to set custom compile flags in a bazel.rc or something.
from ekam.
Related Issues (20)
- Build fails due to kj/compat/http-test.c and http.c HOT 1
- LIBS processing is very touchy with whitespace
- build runs kj/compat/http-test which appears to reach out to the internet HOT 2
- Print a message when a continuous build has finished building all targets. HOT 5
- ekam fails to build on arm64
- Proper incremental builds HOT 1
- ekam-bootstrap can't be ccached HOT 2
- the compile rule should be smarter about when it can avoid rebuilds. HOT 3
- std::logic_error when building using nix HOT 12
- Error building with glibc 2.33 because of _STAT_VER changes HOT 1
- Better support for "installed" dependencies HOT 1
- Touching compile.ekam-rule crashes Ekam HOT 2
- Build fails in /tmp HOT 6
- make fails with ccache-wrapped gcc HOT 16
- Don't wait until all tasks have failed before outputting error text HOT 1
- Add the ability to build a specific target, instead of everything at once HOT 1
- `-c`: Don't reprint all failed tasks when only a single task is rebuilt and fails HOT 1
- Ekam takes unnecessarily long for multi-step builds (almost all builds) HOT 1
- Support for generating Makefiles/CMake_files/... 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 ekam.