While porting YottaDB to Mac OS/Darwin it was discovered that the function call op_zhalt defined in op_zhalt.c doesn't match the header file op.h. This causes a compiler error in clang/llvm:
error: conflicting types for 'op_zhalt'
void op_zhalt(int4 retcode, boolean_t is_zhalt)
Draft Release Note
In the linux implementation the types for int4 and boolean_t are the same, so this doesn't show up as a compiler error, however on MacOS/Darwin the types are not the same.
It is assumed that the method signature should be: op_zhalt(int4 retcode, boolean_t is_zhalt);
Final Release Note
Description
While porting YottaDB to Mac OS/Darwin it was discovered that the function call op_zhalt defined in op_zhalt.c doesn't match the header file op.h. This causes a compiler error in clang/llvm:
Draft Release Note
op_zhalt(int4 retcode, boolean_t is_zhalt);