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
Changes to SWI-cpp.h API #2
Conversation
Thank you. I'll check it when 8.5.16 is out. |
I presume that the "checks were not successful" was because it uses the current |
Exactly. Let's wait until the new header files are available. |
43c84f1
to
f3cb12f
Compare
15d7b7b
to
2dfee17
Compare
The code in SWI-cpp2.h appears to have a bug, which I haven't had time to fix. This doesn't seem to affect any of the systems that I know of that use SWI-cpp2.h (rolog, rocksdb, swipl-win). When I fix the bug (hopefully within a week), I will send you a message, so that you can do whatever testing you need with the updated code. My apologies -- I was sick (not COVID) and the work on the new C++ API isn't quite finished. |
Thanks, Peter. I am currently testing it, so far, I didn’t encounter any problems.
|
The PlCall() bug seems to be an incompatibility with ASAN; I've run my tests with Debug turned on, and they all pass, so far. I have a few small changes that I'm trying to get finished in time for the v9 release. |
Thanks, Peter. The github version is the most recent one. |
I have built rolog with the latest version from github but haven't run any tests. |
The latest release of SWI-cpp2.h (just released with SWI-Prolog 9.x) has some additional [[nodiscard]] declarations, which cause warning messages in You can fix these by simply wrapping the call with
becomes
etc. These are the warnings that I saw with my copy of
|
These warnings are removed in PR #3 |
This PR requires SWI-Prolog/packages-cpp#16 and should be committed as soon as possible after a new release contains the SWI-cpp.h changes (probably 8.5.16).