[fpc-devel] Portability Standards
Michael Van Canneyt
michael at freepascal.org
Mon Jan 3 10:40:10 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...
Michael.
More information about the fpc-devel
mailing list