Article # 263, added by Geoworks, historical record
| first | previous | index | next | last |

BCC complains about an illegal # character.



Q. BCC complains about an illegal '#' character in my GOC file, but I
   can't find it.

A. If the end of your goc file is immediately after a closing brace,
   on the same line as the brace rather than on the next line, GOC places
   a #pragma immediately after the closing brace and then bcc complains
   about it. You get an error telling you there is an illegal character
   '#' in the goc file, but of course it is actually in the C file. This
   is something that should be corrected by GOC, though it is considered
   "bad form" not to have a newline just before end-of-file.