Fix singleton warning message in compiler in case a variable is in the predicate name (possible with HiLog)
Added stream location to this test.
Fix for radix option.
Added test for new write_term options.
Fixed with help of codex the -only flag in testsuite.
New version of write term with new options in compliance with PIP 0105.
New version of format.
Added documentation for new format and write_term options.
Just trying to deal with git.
AGENTS.md as generated by Codex but should be useful for other coding
Changes to adjust for new format in tables.P
Changes for format.
More tests for new format.
Adding new test for format.
Small changes for new format/[2,3].
Updated format/[2,3] to be consistent with PIP 0110. There are some
Added markdown versions of manuals which are useful for coding agents.
Added the :- exception in retract metapredicate processing.
fix wrong import in one aggregation transformation.
fixed incorrect import of str_len/2.
fix bug in module handling when asserting 0-ary predicates.
added clearerr after successfully opening a file. Seems necessary sometimes on windows when opening console as stdin (??)
Added info to an overflow message
Expanded default number of interned tries.
Typo in option check for -Wl,--export-dynamic
added optional @ wrapper for atoms, to allow @([]) to treat [] as an atom.
Update to version number,
Removed appendix with xsbpy for the new version.
Putting back in system.tex
small var change in curl's load_page
New files updated for Janus.
Fixed bug in values/3 -- had not updated to the new version of Dictionaries.
updated xsb_writ.P to remove extraneous parentheses in some cases.
updated test to changes in write to remove extraneous parens
Fixed a couple of typos in this test.
updated mpa_to_skel to handle parameterized modules.
fixed mistaken line in loader_xsb.c file
Fixed bug in handling error load non-parameterized module using paramters; allow export of imported-as predicate.
added comments in the header
added comments in the header
converted xpath, curl, pcre to autoconf 2.71
various fixes to dbdrivers config
preliminary suppport for mariadbb
converted configure stuff in packages/dbdrivers to autoconf 2.71
tested on windows
change py-xsb to janus-xsb in one place
minor
converted to autoconf 1.71 - a major update to configuration.
updated janus/configure.ac, janus/m4/* for autoconf 2.71
fixing the janus config for the latest autoconf
The updates to autoconf in the latest ubuntu 24.04 and Mint 22 are so far reaching that they break XSB config.
Minor change to test to account for extra ?-'s
Updated a test to coincide with an error message.
Updating parts of the testsuite.
Tweaks for the testsuite.
fixed a cosmetic config bug in windows64
Fixed bug in switchonterm with terms of form f(). And fixed bug in load_dyn(c) for similar terms.
updated right answer for an incr test whose error message seems to have changed.
This one too.
Forgot to commit?
Took a couple of obsolete predicates for incr tabling out of the manual.
Test for add_incr_dependency/1.
Documentation of add_incr_dependency/1.
Accidentally committed a file with some debug statements. This file has the debug statements removed.
Added the builtin add_incr_dependency/1.
fixed bug in subset_db/2
Made a function, print_registers, usable outside of this file. I used it for debugging cutting over tables.
taking out printf.
I'm agreeing that the change from a couple months ago is a good fix, because I backported it to: https://downloads.sourceforge.net/xsb/XSB-4-0-0.tar.gz (with additional patches from https://dev.gentoo.org/~keri/distfiles/xsb/xsb-4.0.0-gentoo-patchset-3.tar.gz) I haven't tried building from git, no.
I'm agreeing that the change from a couple months ago is a good fix, because I backported it to: https://downloads.sourceforge.net/xsb/XSB-4-0-0.tar.gz (with additional patches from https://dev.gentoo.org/~keri/distfiles/xsb/xsb-4.0.0-gentoo-patchset-3.tar.gz) I haven't tried building from git, no.
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <style id="bidiui-paragraph-margins" type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style> are you sure you are using the latest from the git repository? This bug was fixed exactly 2 months ago On 5/14/24 11:23 PM, Eli Schwartz wrote: It should, yes, that's the local fix I made too. --- **[bugs:#265] Build fails with implicit-int in a configure test probe** **Status:** open **Group:** Performance problem **Created:**...
Unfortunately after backporting the patches, it still fails: -e [x86_64-pc-linux-gnu-gcc] loader_xsb.c using -fPIC -march=native -fstack-protector-all -O2 -pipe -fdiagnostics-color=always -frecord-gcc-switches -flto=4 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -Wformat -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Werror=int-conversion -Werror=incompatible-pointer-types -Wno-error=format-security loader_xsb.c: In function ‘get_index_tab’: loader_xsb.c:136:16:...
Oh hrm right, fixed by edce993d1a837707781dbd4b5025e22e694c9053.
Note that implicit-function-declaration is tied to https://sourceforge.net/p/xsb/bugs/265/ This is an easy case because you can just include the header you forgot. Some Modern C errors are a lot harder to fix.
I see you committed a fix, unfortunately attempting to backport it emits a different fatal error instead: In file included from tst_utils.c:45: cell_xsb_i.h: In function ‘bld_boxedfloat’: cell_xsb_i.h:42:5: error: implicit declaration of function ‘memcpy’ [-Werror=implicit-function-declaration] 42 | memcpy(&tempUIFloat,&value,sizeof(tempUIFloat)); | ^~~~~~ cell_xsb_i.h:1:1: note: include ‘<string.h>’ or provide a declaration of ‘memcpy’ +++ |+#include <string.h> 1 | #include "register.h" cell_xsb_i.h:42:5:...
It should, yes, that's the local fix I made too.
fixed typo in err msg
Adding back the printf for cutting over a table.
Put goal into the context for error when floundering tnot/1.
Added more descriptive error message, and put the gzbld bdinb cut over into the context.
Added comment to force-truth-value predicates in tables.P to record difference in WF simplification and SM simplification.
Merge branch 'git-origin' of ssh://git.code.sf.net/p/xsb/code into git-origin
Changed error type.
Minor changes to janus-plg.
Updatd from xp to jns.
Added safety check to free python object
Minor fix to number_codes/chars. reset string if int conversion fails.
included string.h, which some compilers seem to need for memcpy,
Fixed (this time, I hope) number_chars/codes to handle multiple bases.
Fixed (I hope) the strict-aliasing violations pointed out. Used memcpy to avoid bad coercions.
Concatenate multiple -e command arguments to accumulate command.
Thanks very much for that information. I will look into seeing what can be done. (I haven't understood that code for handling byte-backward issues for at least 35 years, if I ever did, even though I'm quite sure I wrote it. I hope I'm not too old to relearn it....)
The standards conformant way to do this without invoking UB is to use either that (union type access) or a memcpy. Both are commonly used in this scenario. Both will produce, on gcc or clang with optimizations enabled, the same code (in fact, the same code that the strict-aliasing violation produces, except the aliasing could trigger UB and explode instead). It's a well known pattern that the compiler has been taught to recognize. The memcpy guarantees there are no alignment issues whereas the union...
So I guess the accepted way to do these things would be to use union types? And storing under one type and retrieving through the other? Hmmm. If that would work, that would require having an extra memory location for the union variable and the copy. If this would work, and it's worth the trouble, I could look into it.
Small bug fixes, fix number_chars/codes, handle 0-divide, bug in =.. in not handling floats right (an oddity remains, but...)
fix a register allocation bug; finally get HoldR management right, I hope.
Some cleanup in compiler; minor improvement in code generation reducing redundant loads.
Fixed compiler bug in register allocation (reporter Paulo Maura); cmpreg overwrites its 2nd arg, and HoldR incorrectly built.
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <style id="bidiui-paragraph-margins" type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style> I hope I fixed this by changing to int main(){return 0;} On 3/14/24 8:23 PM, Eli Schwartz wrote: <meta http-equiv="content-type" content="text/html; charset=UTF-8"> [bugs:#265] Build fails with implicit-int in a configure test probe Status: open Group: Performance problem Created: Fri Mar 15, 2024 12:23 AM UTC by Eli Schwartz...
possibly fixed a configure.in bug with --export-dynamic