[fpc-devel] Portability Standards

Marco van de Voort marcov at stack.nl
Mon Jan 3 10:45:46 CET 2005

> 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...

That is one, the another is that they simply have support less targets. A ifdef that is
not bad with two possibilities, becomes annoying with 20.

More information about the fpc-devel mailing list