Open Jr61-star opened 1 year ago
size_t is a standard type in C. What OS version are you building on?
I build on Mac OS, is something wrong with Mac OS?
I'm concerned that your software development environment may be broken. Mac OSX is actually our usual platform. But size_t should be found. Did you follow all the instructions in the README file?
Hello, when I use make command in JLang, it shows error as follow:
In file included from native/rep.h:12: native/interface.h:28:12: error: unknown type name 'size_t' idv_ht(size_t capacity); ^ native/interface.h:44:5: error: unknown type name 'size_t' size_t capacity; ^ native/interface.h:45:5: error: unknown type name 'size_t' size_t getIndexForHash(int h);
In file included from /usr/local/llvm/include/c++/v1/cinttypes:239: /usr/local/llvm/include/c++/v1/cstdint:153:8: error: no member named 'int8_t' in the global namespace using::int8_t; ~~^ /usr/local/llvm/include/c++/v1/cstdint:154:8: error: no member named 'int16_t' in the global namespace using::int16_t; ~~^ /usr/local/llvm/include/c++/v1/cstdint:155:8: error: no member named 'int32_t' in the global namespace using::int32_t; ~~^ /usr/local/llvm/include/c++/v1/cstdint:156:8: error: no member named 'int64_t' in the global namespace using::int64_t; ~~^ /usr/local/llvm/include/c++/v1/cstdint:158:8: error: no member named 'uint8_t' in the global namespace using::uint8_t; ~~^ /usr/local/llvm/include/c++/v1/cstdint:159:8: error: no member named 'uint16_t' in the global namespace using::uint16_t; ~~^ /usr/local/llvm/include/c++/v1/cstdint:160:8: error: no member named 'uint32_t' in the global namespace using::uint32_t; ~~^ /usr/local/llvm/include/c++/v1/cstdint:161:8: error: no member named 'uint64_t' in the global namespace using::uint64_t; ~~^ /usr/local/llvm/include/c++/v1/cstdint:163:8: error: no member named 'int_least8_t' in the global namespace using::int_least8_t; ~~^ /usr/local/llvm/include/c++/v1/cstdint:164:8: error: no member named 'int_least16_t' in the global namespace using::int_least16_t; ~~^ /usr/local/llvm/include/c++/v1/cstdint:165:8: error: no member named 'int_least32_t' in the global namespace using::int_least32_t; ~~^ /usr/local/llvm/include/c++/v1/cstdint:166:8: error: no member named 'int_least64_t' in the global namespace using::int_least64_t; ~~^ /usr/local/llvm/include/c++/v1/cstdint:168:8: error: no member named 'uint_least8_t' in the global namespace using::uint_least8_t; ~~^ /usr/local/llvm/include/c++/v1/cstdint:169:8: error: no member named 'uint_least16_t' in the global namespace using::uint_least16_t; ~~^ /usr/local/llvm/include/c++/v1/cstdint:170:8: error: no member named 'uint_least32_t' in the global namespace using::uint_least32_t; ~~^ /usr/local/llvm/include/c++/v1/cstdint:171:8: error: no member named 'uint_least64_t' in the global namespace using::uint_least64_t; ~~^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[1]: [out/native/reflect.o] Error 1 make: [runtime] Error 2
how can i fix this error? thanks