Skip to content

Conversation

rolandreichweinbmw
Copy link
Contributor

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
Contributor 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.

jwellbelove added a commit that referenced this pull request Jan 31, 2025
# Conflicts:
#	test/test_bit_stream.cpp
#	test/test_bresenham_line.cpp
#	test/test_correlation.cpp
#	test/test_covariance.cpp
#	test/test_rms.cpp
jwellbelove pushed a commit that referenced this pull request Jan 31, 2025
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