>  Note that a bulky "read externally" alternative won't be enabled by default
>  in FPC anyway, so it doesn't even alleviate the "need to include clocale"
>  issue. The point is if in this case it is worth the trouble if most people 
> then
>  happily link to X or Lazarus.

Personally I would like to see the formatsettings being localised by
default (by SysUtils), since on Windows it is (Delphi compatibility)
and I'd expect it ot be the same on all platforms.
For this reason a "bulky read external" alternative might be useful if
we do not want SysUtils be dependent on libc.

In that case I'd opt for parsing the text-based versions, since the
compiled ones are libc dependent (their format changes).
Anyone who links his app to libc (like a standard Lazarus app) can the
hapilly include clocale (because the text-based parsing might not be
100% accurate).

Bart
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to