cmocka icon indicating copy to clipboard operation
cmocka copied to clipboard

Build fail on LP64 (SPARC)

Open yurashek opened this issue 6 years ago • 1 comments

Length of "__WORDSIZE" is not set in studio cc so the conditions are incorrectly evaluated when code is built on SPARC.

yurashek avatar Aug 25 '17 11:08 yurashek

Try using the official upstream code, at https://gitlab.com/cmocka/cmocka

I've had a quick check, and the latest commit (cf31d3fc68410f4f753418f32d4ad89d8fbc2cb2) doesn't seem to have __WORDSIZE anywhere, see include/cmocka.h@cf31d3fc68410f4f753418f32d4ad89d8fbc2cb2

aloisklink avatar Sep 05 '22 13:09 aloisklink

This is a fork of cmocka. I'd recommend to move this to the upstream repository.

diasbruno avatar Apr 10 '24 12:04 diasbruno