Stefan A. Haubenthal wrote:
vc +kick13 -Ivbcc:PosixLib/include -DPROGVERSION="1.13" -c -o main.o main.c
if( !open_outstream( true, in_statsp ) )
error 39 in line 702 of "main.c": invalid types for assignment
1 error found!
It seems that your report is about clzip.
Note that 'in_statsp' is a pointer, and according to the C99 standard:
6.3.1.2 Boolean type
1 When any scalar value is converted to _Bool, the result is 0 if the
value compares equal to 0; otherwise, the result is 1.
and
6.2.5 Types
[...]
21 Arithmetic types and pointer types are collectively called scalar types.
Therefore, using 'in_statsp' as a bool argument is valid.
Best regards,
Antonio.