You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got a compilation error while trying to compile on my mac.
The error is:
[ 21%] Building CXX object src/CMakeFiles/libsouffle.dir/parser/scanner.cc.o
/Users/siscia/personal/souffle/build/src/parser/scanner.cc:2406:41: error: comparison of integers of different signs: 'unsigned long' and 'int' [-Werror,-Wsign-compare]
if ((yyg->yy_n_chars + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I got a compilation error while trying to compile on my mac.
The error is:
I "solved" it with:
And then rebuilding the cmake and compiling again.
I was using bison
3.8.2
and gcc12.2
.I don't think the patch is good enough for a PR, however I open anyway to help fellow souffle users that might don't know what to do.
If you need anything else, please let me know here.
The text was updated successfully, but these errors were encountered: