Build fails on arm64: error: static assertion failed due to requirement 'is_supported_integral_type<char>'
Closed this issue · 2 comments
yurivict commented
In file included from /wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2024.09.23.00/thrift/compiler/whisker/eval_context.cc:17:
In file included from /wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2024.09.23.00/./thrift/compiler/whisker/eval_context.h:20:
/wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2024.09.23.00/./thrift/compiler/whisker/object.h:515:15: error: static assertion failed due to requirement 'is_supported_integral_type<char>'
515 | static_assert(is_supported_integral_type<char>);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
Version: 2024.09.23.00
clang-18
FreeBSD 14.1
praihan commented
Ah char
is unsigned on your platform. Seems like a simple fix. Let me see.