Coder Social home page Coder Social logo

Comments (9)

ToruNiina avatar ToruNiina commented on May 14, 2024 1

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.

patrikhuber avatar patrikhuber commented on May 14, 2024 1

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.

patrikhuber avatar patrikhuber commented on May 14, 2024

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.

patrikhuber avatar patrikhuber commented on May 14, 2024

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.

ToruNiina avatar ToruNiina commented on May 14, 2024

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.

patrikhuber avatar patrikhuber commented on May 14, 2024

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.

patrikhuber avatar patrikhuber commented on May 14, 2024

It definitely wasn't my system at least - a user just reported this on my repo as well: patrikhuber/eos#195

from toml11.

patrikhuber avatar patrikhuber commented on May 14, 2024

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.

patrikhuber avatar patrikhuber commented on May 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.