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

Fix arm64 signed char #1006

Conversation

rolandreichweinbmw
Copy link

On arm64, char is unsigned.

That's why etlcpp tests don't compile on arm64, see e.g. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1091157

This pull request fixes the issue by making chars explicitly signed where necessary. Tested on Debian sid arm64.

@jwellbelove jwellbelove changed the base branch from master to pull-request/#1006-Fix-arm64-signed-char January 5, 2025 11:41
@jwellbelove jwellbelove merged commit 7e2aeb9 into ETLCPP:pull-request/#1006-Fix-arm64-signed-char Jan 5, 2025
63 checks passed
@jwellbelove
Copy link
Contributor

I've just noticed that you've changed instances of int8_t to signed char.
As both are signed types, what was the purpose of the change?

@rolandreichweinbmw
Copy link
Author

Which lines are you referring to for change of int8_t to signed char?

I just changed char to signed char as described initially.

@jwellbelove
Copy link
Contributor

OK, I'll check tomorrow to see if I made that change myself at some point since the last merge into master.

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.

2 participants