Hi Vladimir, Vladimir Volovich wrote:
Hi!
while compiling luatex, i got an error:
xlc -DHAVE_CONFIG_H -I. -I../../../texk/web2c -I.. -I../../../..... "luatex0.c", line 8931.5: 1506-117 (S) Operand must be a scalar type. "luatex0.c", line 8940.3: 1506-117 (S) Operand must be a scalar type. "luatex0.c", line 9005.5: 1506-117 (S) Operand must be a scalar type. "luatex0.c", line 9124.11: 1506-117 (S) Operand must be a scalar type. "luatex0.c", line 9133.11: 1506-117 (S) Operand must be a scalar type.
here are the statements on the referenced lines:
8931: eq_destroy ( eqtb [p ]) ; 8940: eq_destroy ( eqtb [p ]) ; 9005: eq_destroy ( eqtb [p ]) ; 9124: eq_destroy ( save_stack [save_ptr ]) ; 9133: eq_destroy ( eqtb [p ]) ;
does this make sense to you? eqtb and save_stack is a structure.
It may be complaining about eq_destroy, because these five happen to be all the calls to that function. Perhaps it misinterprets the macro in luatexcoerce.h. Not that I see a reason why it should, this function is converted by web2c just like all others. Or perhaps it is mis-optimizing something? Sorry, I am much more lost than you are, and I have knowledge of nor access to the IBM compiler suite. Best wishes, Taco