Andrew Gregory wrote:
I'm getting an access violation in gpc1.exe at 0x00578a24 during compile on Windows NT.
[...]
When I moved the const declarations into maincode.pas it compiled ok. Very strange.
If this was the only change made, this would be indeed very strange. Can you reproduce it both ways?
The "Dr Watson" output doesn't help much, since it doesn't contain symbols and the numbers don't tell me much. Can you try with gdb? Was the GPC binary build with debug info (`-g')?
Frank