[fpc-devel] Portability Standards

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Jan 3 11:50:38 CET 2005


On Mon, 3 Jan 2005 10:40:10 +0100 (Romance Standard Time)
Michael Van Canneyt <michael at freepascal.org> wrote:

> 
> 
> On Mon, 3 Jan 2005, Marco van de Voort wrote:
> 
> >
> > > 2) File Restructuring
> > > I've separated the spaghetti code in AbUtils.pas into distinct MSWINDOWS
> > > and UNIX sections, each containing complete procedures. These sections
> > > could be moved into dedicated OS specific include files - what's the
> > > preferred way?
> >
> > I (and FPC in general) prefer that. Jedi prefers to ifdef ad infinitum,
> > they are (used to be is a better word) afraid of include files.
> 
> The reason is very simple: They are all Delphi programmers, and the Delphi IDE
> has NO understanding of include files. Codetools don't work at all if you use
> include files. That said: $ifdefs confuse it as well...

I guess you mean "Code Insight (R)" don't work at all .. . ;)


Mattias




More information about the fpc-devel mailing list