Closed catalin-hritcu closed 4 months ago
In the ASM interpreter (-interp-dasm), printf displays <missing argument> instead of the actual data to be printed. This is related to printf being a variadic function.
-interp-dasm
printf
<missing argument>
@AndrewTolmach pointed me to a location in C2C.ml where the signature in calls to printf is modified when interpreting.
C2C.ml
In the ASM interpreter (
-interp-dasm
),printf
displays<missing argument>
instead of the actual data to be printed. This is related toprintf
being a variadic function.