PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: David Kenny on October 15, 2011, 02:29:34 PM

Title: FF3.5 bug/GPF when Include reference not properly placed by programmer
Post by: David Kenny on October 15, 2011, 02:29:34 PM
I was converting a FF3 project to 3.5 to use as a template for a new project.  It's old enough that it declared a custom Include in one of project modules. Of course, it was coded before I found out where to put includes that I don't want FF parsing. I didn't see it, and tried to compile.  FF3.5 GPF'd before displaying anything.  I looked at the files that FF created before it failed and found the "...Main.log".  Here are the contents:
QuotePowerBASIC 10 for Windows
Copyright (c) 1996-2011 PowerBasic Inc.
Englewood, Florida USA
All Rights Reserved

Error 493 in D:\!PROJECTS\USERCOPY\RELEASE\CODEGEN_USERCOPY_DECLARES.INC(169:010):  Compiler file not found/accessible
  Line 169: #INCLUDE "CRC32.inc"     ':FILE:CODEGEN_USERCOPY_MODULE1INC_MODULE.inc|1|0 
I moved the Include to the appropriate place in FF_AppStart and recompiled.  No GPF and FF displayed the appropriate "Compile Error" message box to report the missing CRC32.inc (I just haven't moved it to the PB10 include folder yet). 

I haven't tried to reproduce these results in another project.  It was easy enough to fix.  I just wanted to let you know about the GPF.

David
Title: Re: FF3.5 bug/GPF when Include reference not properly placed by programmer
Post by: Paul Squires on October 15, 2011, 04:22:48 PM
Thanks David - I appreciate the report.