Compilation with musl fails
note: the stars have been removed by the sourceforge-editor (should have been starting and closing comments ...)
note: the stars have been removed by the sourceforge-editor (should have been starting and closing comment ...)
i don't get it. i can't reproduce this error. neither with 'standard' gcc nor with musl-gcc: my simple test (test.c): - the / / are used so that the sourceforge comment-editor does not generate huge lines when starting with # ... / / #include <stdio.h> / / #include <inttypes.h> / / #include <stdint.h></stdint.h></inttypes.h></stdio.h> / / #define ushort unsigned short int main(void) { ushort test = 0; printf("test: %d\n", test); } this one compiled with standard gcc: gcc -O2 -pipe -march=x86-64 -frecord-gcc-switches...
Hi! Seems to be more like a compiler thing. Could you please try changing the following in serdisp_gpevents.h: change define ushort unsigned short to define ushort (unsigned short) and the same for define byte unsigned char to define byte (unsigned char) but as far as i know this is valid C and shouldn't cause an error. but give it a try and let me know if it works. as an alternative you could also try define ushort uint16_t define byte uint8_t (and i should get rid of ushort and byte in my code...
stable release: serdisplib version 2.02
stable release: serdisplib version 2.02
added small delay when init. alphacool display; fixed compilation bug in framebuffer-driver