Thanks! I tried to compile the source code you sent a link to in Puppy 4.3.1 with devx but I get lots of errors and it stops prematurely. I also tried the source code at http://puppylinux.org/wikka/Ycalc. I suppose none of these can be exactly the same source code that is used in Puppy since that should compile using make and produce an executable file. I think one should have access to the actual source of a binary and not some old version that you have to spend hours correcting. Maybe this was compiled years ago and then only the binary was saved.
Is it possible to compile ycalc in Puppy 4.3.1 only making changes to the Makefile or do I have to change the source code as well? The header files of C were probably different when this source code was written.
After adding #include <string.h> to Main.h I now only get one error:
In file included from calc.c:73:
Calc.h:72: error: array type has incomplete element type
make: *** [calc.o] Error 1
I fixed this error by switching the order of
in every file that used Calc.h.
I also tested to make changes to the About box so I know it's really my compiled version I run.
Now everything works fine but I think the actual source code should be available so that others don't have to do the same corrections.