The stdint.h is not included when building test, then including this module inside encoding.h, the error is the following:
1 warning generated.
CCLD tests/tokenizer.test
CC tests/tests_readclause_test-readclause.o
CCLD tests/readclause.test
CC tests/tests_api_test-api.o
In file included from tests/api.c:27:
src/include/espeak-ng/encoding.h:88:15: error: unknown type name 'uint32_t'
ESPEAK_NG_API uint32_t
^
src/include/espeak-ng/encoding.h:91:15: error: unknown type name 'uint32_t'
ESPEAK_NG_API uint32_t
^
In file included from tests/api.c:31:
src/libespeak-ng/synthesize.h:451:8: error: unknown type name 'intptr_t'
extern intptr_t wcmdq[N_WCMDQ][4];
^
In file included from tests/api.c:32:
src/libespeak-ng/translate.h:238:32: error: unknown type name 'uint32_t'
int clause_type_from_codepoint(uint32_t c);
The
stdint.h
is not included when building test, then including this module insideencoding.h
, the error is the following:/cc @rhdunn