-
Notifications
You must be signed in to change notification settings - Fork 138
g++-11 requires limits header #123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
The author's last update in github seems like a long time ago.... |
Yes. There are at least three new C++ libraries (for C++11 or newer) offering full TOML 1.0 capabilities, but I haven't had time to dig in. If you have spare cycles and some C++ chops ... |
Yeah. What can I do for you? Can you share more details? |
You're Da Man! So looking at e.g. the toml repo wiki we see three C++ projects that are v1.0.0 compliant. I have not really had to look into which is best. I have a mild preference for maybe just C++14 (supported at CRAN) but part of me also says 'eff it' as we have this one for fallback. In essence it is a matter of picking one (or more) of these and starting a new repo (borrowing liberally from this one and its existing R integration) and doing a new 'RcppTomlCpp' or 'RcppTomlPlusPlus' or 'RcppToml11'. Interested? I help, I may not have to drive it myself but I found four eyes and hands can get a ton done... (Sorry that was of course all from the context of my RcppTOML repo wrapping this, but being 'stale' as this is stale. For plain C++ use maybe just switch to any one of the three. I haven't yet for RcppTOML as it ... still works.) |
Got it! I think https://github.com/marzer/tomlplusplus is the best of them. I think we should use modern C++ like C++ 11&14&17 even C++ 20. But I'm not familiar to R and your RcppTOML project. So please give me some time to read your code and docs before we start the new project. |
Easier to bind to an existing library that does it. Also faster. And tested. But hey, more than one way to skin the cat. (But if you look at R's existing parsers for JSON, XML, ... they all do it via external libs. It is the only way that makes sense, really.) |
I see. Thanks. You can start to create a new repo for the new lib now. Let get start it. |
Is there anyway to have this merged so I don't need to have a separate branch of this project? |
@skystrife I would also vote to bring that in. If you want you could maybe add an |
Hey, it's been over two years. Why is this not merged and released? |
Remove unnecessary quotes and curly braces. Move cmake options to local bash array for easier handling. Consolidate cmake calls to adhere to packaging guidelines. Add patch for gcc >= 10: skystrife/cpptoml#123 git-svn-id: file:///srv/repos/svn-community/svn@1425011 9fca08f4-af9d-4005-b8df-a31f2cc04f65
Remove unnecessary quotes and curly braces. Move cmake options to local bash array for easier handling. Consolidate cmake calls to adhere to packaging guidelines. Add patch for gcc >= 10: skystrife/cpptoml#123 git-svn-id: file:///srv/repos/svn-community/svn@1425011 9fca08f4-af9d-4005-b8df-a31f2cc04f65
FWIW for my use of C++ TOML library (in an R package) I have switched to toml++. |
The CRAN maintainers, who tend to be very proactive with new compiler builds, alerted me that my RcppROML package was failing builds under
g++-11
, and hinted that the change was a one-liner.I have now confirmed this (in an Ubuntu 21.04 container with
g++-11
from this launchpad repo. I will try to bundle this up in a new container too later in the week.