Open Salakksson opened 8 months ago
gcc compiles the same function without problems
Hi, thanks for reaching out. What compiler did you first use to generate the issue ?
to compile i used
/usr/bin/watcom/binl/wcc -4 -d3 -s -wx -ms -zl -zq
i believe, i copied the makefile from a tutorial
i installed wcc on either debian using apt or arch using pacman and was compiling a 16bit binary
in the following void function, i attempt to return early if the string is empty. this caused the compiler to expect the function to end and throw a missing '}' error:
stdio.c(42): Error! E1077: Missing '}' stdio.c(42): Error! E1011: Symbol 'str' has not been declared`