Comments (9)
Hi @patrikhuber , I have a good news, possibly.
I tried Manjaro by using VirtualBox, and reproduced the error you told.
I simplified SFINAE stuffs in toml::get
and some other related functions, and now (b1a55b1), the errors disappeared. It compiles fine with gcc-7.3.1, and all the tests passes (at least on my VM).
Please try it.
Thank you for using this product.
from toml11.
Our repo's CI is happy! (clang-5, g++-7 (Ubuntu), Xcode 9.2). Thank you so much again for the quick fix! :>
from toml11.
Hmm, I'm actually not 100% sure about this bug.
It compiles fine on g++-7 (Ubuntu 7.3.0-16ubuntu3~16.04.1) 7.3.0
.
But it gives an ICE on c++ (GCC) 7.3.1 20180312
(Manjaro).
So this could be either a regression in g++-7.3.1 or a problem with Manjaro/arch's g++ build...
from toml11.
I've submitted a bug report on the arch bug-tracker https://bugs.archlinux.org/task/58406, let's see.
Edit: It seems like the arch people are not really interested in an ICE bug report, it got closed right away. Doesn't seem the most friendly environment :-/
Maybe you've got some other ideas what we could do :-)
from toml11.
Hi, thank you for telling me about this problem.
I tried to reproduce the error, but I couldn't find gcc 7.3.1 in the release page https://gcc.gnu.org/gcc-7/ . Is it arch-specific version?
I also confirmed that g++-7.3.0 compiles this library without any error.
The error message looks like a problem on SFINAE. I can try some other expression to dispatch toml::get
, but I'm not sure whether it will fix the ICE.
Currently, I don't have any good idea to solve this problem.
from toml11.
Thank you for having a look. Yep, it's gcc 7.3.1 from arch (I'm using Manjaro).
I have a sort-of feeling that this is a problem of arch's gcc build, and hopefully not a regression in upstream gcc 7.3.1. So I would say let's close this for now then.
from toml11.
It definitely wasn't my system at least - a user just reported this on my repo as well: patrikhuber/eos#195
from toml11.
Hi @ToruNiina, hey that's awesome, thank you very much!
Unfortunately the latest Windows Update killed my VMWare Player, so I can't currently test it anymore... sorry about that! I updated the GitHub issue that was opened in my repo, and I'll also test it myself as soon as I can get VMWare Player to work again :-)
from toml11.
I think arch/Manjaro fixed their ICE in their latest update - it seems like with gcc-7.3.1 20180406
even the "old" (before the fix) toml11 version is compiling again.
But anyway I think you were able to simplify lots of things while patching this, so that's great :-)
from toml11.
Related Issues (20)
- Cannot iterate over sub tables of an inline table HOT 2
- How can I check if an array has an homogeneous set of values? HOT 2
- Examples use C++ 17 syntax HOT 1
- Serialization issue with floating values and locale HOT 1
- TOML11_DEFINE_CONVERSION_NON_INTRUSIVE save files HOT 2
- I'd like to retrieve uint64_t that exceed the range of int64_t
- New version? HOT 3
- Weird serialization issue with strings that are file paths HOT 1
- Building with C++20 and the following error is triggered HOT 1
- When trying to use your tests / examples, there are no `*.toml` files in the repo HOT 1
- force arrays to be inline
- Warning: Moving a temporary object prevents copy elison with g++ 13.2.1 HOT 1
- Different `strerror_r` function usage HOT 7
- strerror_r returns int in emscripten HOT 2
- toml::parse() sould be able to read everything that serializer outputs HOT 1
- User-defined error messages and generic hints HOT 1
- User-defined error messages conflict with built-in hints HOT 1
- `toml::format` returns the wrong floating value HOT 2
- Preserve hex number format HOT 1
- Requiring CMAKE_CXX_STANDARD is a bug, not a feature
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 toml11.