Comments (3)
In particular, setting the -std flag seems like an unexpected default behavior for a compiler, to me
Why do you say that? The language is largely backwards compatible and always has been.
Yes I have set them on purpose so that software without complex build systems will take advantage of it without any effort on their part beyond:
#if __cplusplus >= 201703L
.. use some C++17
#else
.. use some C++98
#endif
.. if c++17 causes an issue then mask that flag out in your build.sh
. I intend, unless someone can come up with a good reason not to, to keep this flag updated to the latest available C++ standard that the compiler fully supports, until such a time as the C++ grammar is changed in an incompatible way.
from aggregate.
if c++17 causes an issue then mask that flag out in your build.sh
I did mask it out, and it was indeed the cause of the build failures.
Why do you say that?
It seems odd to me to switch an opt-in feature to an opt-out feature when there's apparently little to no benefit in doing so, and opting out involves sed while opting in is simple.
until such a time as the C++ grammar is changed in an incompatible way.
I guess C++17 is one such event, then.
from aggregate.
The issue is that the benefits are silently lost if you require opting in and I don't want to lose those.
from aggregate.
Related Issues (20)
- CDT for libudev HOT 1
- CDT for librdmacm HOT 1
- CDT for libnl HOT 4
- CDT for libibverbs HOT 1
- Send compiler-rt patches upstream HOT 3
- CuPy 6.0.0rc1 HOT 1
- ctng-compilers-activation-feedstock scripts shouldn't set HOST HOT 5
- CuPy 6.0.0 released HOT 1
- posix_ipc does not have py37 support HOT 1
- pyarrow update? HOT 1
- Add Scapy HOT 6
- Expand VS search paths for old toolchains installed by new VS
- Add `run_exports` to `cudnn` HOT 6
- vs2015 runtime finds unusable SDK version HOT 2
- Add pathy
- Add stone
- Powershell shortcut easily hits Windows string length limit HOT 1
- CDT packages are broken for s390x HOT 4
- remove conda-repo-cli feedstock
- Mastodon should be added? HOT 2
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 aggregate.