[fpc-devel] Portability Standards

Florian Klaempfl F.Klaempfl at gmx.de
Mon Jan 3 18:54:53 CET 2005


peter green wrote:

> 
>>-----Original Message-----
>>From: fpc-devel-bounces at lists.freepascal.org
>>[mailto:fpc-devel-bounces at lists.freepascal.org]On Behalf Of Marco van de
> 
> erstanding 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.
> 
> 
> Apart from win32 almost all operating systems that are used by anyone are
> unix like enough to be considered the same. At least in normal code (things
> like the rtl of course are a very different matter).

Not everything is a matter of OS. It could be also a matter of toolkit, 
database, word size of the cpu or whatever. Further smaller files are 
usually easier to handle:
- cvs works much better with small files
- easier navigation in editors
- last but not least: work with small units as much as possible
- easier overview what has been modified when checking logs: which log 
entry is better:
   rtl/system.pp: fixed writeln
   rtl/morphos/ossysc.inc: fixed writeln
?





More information about the fpc-devel mailing list