+1
Completed

Support for includes (e.g. {$I Directives.inc})

Anonymous 10 years ago updated by Roman 10 years ago 12
At the moment it seems that they are ignored.
Posted by mistake without logging in, sry.

Our project has {$I Directives.inc} at the start of each module, within that we configure global project behavior. It seems it is ignored right now (version 2015.4).
Under review
That's true. Includes are ignored. It's on the roadmap though.

Hi, you have this idea as completed. Does that means that FixInsight support inc-files now ?


I have downloaded the demo version and it seems not work.

I got this error


File: C:\Attracs\Attracs-Online\server\code\BusinessClasses.pas

Fatal parser error (107, 1)

Inc-files is central in our application but after it works with that I think we buy FixInsight immediately!


Regards

Roland Bengtsson

Team Attracs

Yes, it supports inc-files. In your case perhaps it didn't find an inc-file in search path, or this is a bug (who knows). Can you please tell me the relative path from BusinessClasses.pas location to inc-files? Are they in the same folder or on the search path?

They are all in the same path as businessclasses.pas. Maybe we can setup a demo project that fail and send it.

Try the latest update http://sourceoddity.com/download/FixInsight_2015.11upd3_setup.exe


Please let me know if it works for you.

No it is the same. I try to make a stripped demo to reproduce for you.


The error message

[FixInsight Internal] BusinessClasses.pas(107): Fatal parser error


Some source where error happen:


{$INCLUDE CustomsTask.inc}

{$INCLUDE ApplicationKernel.inc}


const // Line 107
BoldMemberAssertInvalidObjectType: string = 'Object of singlelink (%s.%s) is of wrong type (is %s, should be %s)';


This would be great, do a simple demo please.

You just got the demo by email

Please try the latest build http://sourceoddity.com/download/FixInsight_2015.11upd4_setup.exe

It works fine with your demo. At least for me :)