gpc 20070904, based on gcc-3.4.5 (mingw special)
I got a compilation error, "expression used as a statement". When I finally realized I had a unit and a procedure in the unit with the same name, I changed one name and the error went away, so I'm guessing the duplication of name was somehow responsible.
I am not asking to be allowed to name a unit the same as some entity within the unit. I am asking that the error message be changed to something that would have spared me thrashing around until I noticed that I had duplicated a name.
Failing that, could someone explain how what I did was an "expression used as a statement"?
gpc -c -x Pascal jsm2m.int gpc -c jsm2.pas
jsm2.pas: In main program: jsm2.pas:5: error: expression used as a statement