Skip to content
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

Some fixes about window compilation #909

Merged
merged 3 commits into from
Aug 15, 2024
Merged

Some fixes about window compilation #909

merged 3 commits into from
Aug 15, 2024

Conversation

mgautierfr
Copy link
Collaborator

This PR is mainly a following of kiwix/kiwix-build#715 but it is autonomous.

The flag Compactor::FULLER will be readd on Windows once xapian compilation on Windows using meson will be fixed.

Copy link
Collaborator

@veloman-yunkan veloman-yunkan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There were a few typos in the comments and in the commit messages, but otherwise it can be merged as is.

test/tooltesting.cpp Show resolved Hide resolved
As specified in https://en.cppreference.com/w/cpp/string/byte/isspace
we must cast char to `unsigned char` before using isspace.

Else behaviour is undefined and it is an assert on Windows.
For some unknown reason, xapian compiled on Windows/meson crash when we
use this flag.

Let's allow us to deactivate this flag until we fix the root bug.
@mgautierfr
Copy link
Collaborator Author

Commits was created on a remote Windows machine with different keyboard layout. A lot of typos was made. This is fixed now. I'm merging.

@mgautierfr mgautierfr merged commit 647dc12 into main Aug 15, 2024
36 of 37 checks passed
@mgautierfr mgautierfr deleted the windows_fixes branch August 15, 2024 12:14
@kelson42
Copy link
Contributor

@mgautierfr Please open an issue so we don't forget that there is something to fix on windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants