In our previous episode, Juha Manninen said:
[ Charset UTF-8 unsupported, converting... ]
> On Wed, Feb 10, 2016 at 2:01 AM, Vojt?ch ?ih?k <vojtech.ci...@atlas.cz> wrote:
> > There exists IDE directive
> >
> > {%MainUnit ***.pas}
> >
> > and include files should contain it.
> 
> Yes, that is the solution for Anthony's problem. Most include files
> used by LCL units have it but FPC libraries may not.

I think it would be good to add that to most FPC inc files in rtl and fcl
too.

Most usage is straightforward, and can be solved using the directive. Some,
like ptypes.inc are more complicated. 

I'll see if I can add some directives in the coming weeks.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to