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

MacOS issues reported in #455 #456

Merged
merged 12 commits into from
Sep 10, 2024
Merged

Conversation

mmd-osm
Copy link
Collaborator

@mmd-osm mmd-osm commented Sep 8, 2024

Fixes #455

@deevroman
Copy link
Contributor

I cloned the repository from this branch: everything compiled without errors!

@mmd-osm
Copy link
Collaborator Author

mmd-osm commented Sep 10, 2024

Ok, great. I think what’s left now is to add unit tests for macOS…

@mmd-osm mmd-osm force-pushed the patch/issue_455_part1 branch 4 times, most recently from adbcf2c to 9907304 Compare September 10, 2024 16:36
@deevroman
Copy link
Contributor

deevroman commented Sep 10, 2024

I don't know if you've already figured out what the problem is with the test "Tag: Value with max 255 unicode characters, <= 255"

The behavior of mbsrtowcs is somehow different for Linux and macOS for the same 64-character string 😎

Linux (Docker) vs macOS (note the len value when s.size() is equal)

@mmd-osm
Copy link
Collaborator Author

mmd-osm commented Sep 10, 2024

No idea really why mbsrtowcs isn't working as expected. I've added another one-liner implementation for macOS now. Some deprecation warnings have been silenced, which is ok for now.

pg_virtualenv tests on a real database instance are currently disabled, since that tool seems to be unavailable on macOS. Maybe this could be addressed in another PR.

@mmd-osm mmd-osm merged commit 9d378ab into zerebubuth:master Sep 10, 2024
10 checks passed
@mmd-osm
Copy link
Collaborator Author

mmd-osm commented Sep 10, 2024

By the way, thanks for the GH action file. I've cherry picked your commit, so that you're officially listed as contributor for this repo now.

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.

Compilation errors when building on macOS
2 participants