I made this change in the meantime until receiving a response from you (my
original question was what to change so I won't break the code) so in the
meantime I played with it until the compilation went OK. If the fix should
be different please let me know and the fix should be applied in the SVN.

Regarding the FormatSettings warnings, they came from synapse units, the
fix is easy, just to add the FormatSettings. prefix for all of them.


On Thu, Oct 4, 2012 at 12:57 PM, Marco van de Voort <
f...@pascalprogramming.org> wrote:

> > |{$IFNDEF MSWINDOWS}
> >      {$IFNDEF FPC}
> >    Libc,
> >      {$ELSE}
> >        {$IFDEF FPC_USE_LIBC}
> >    Libc,
> >        {$ENDIF}
> >      {$ENDIF}
> >    {$ELSE}
> >    Windows,
> >    {$ENDIF}
> >    SysUtils,
> >    synautil, synacode, synaicnv;|
>
> The FPC_USE_LIBC clause is wrong. That directive governs FPC's own Unix
> libraries to base on /library/ libc.
>
> However that has nothing to do with /unit/ libc, which is Kylix legacy.
> If FPC uses library libc, it is not through unit libc.
>
> In short, proper FPC code should never use /unit/ libc. If you need *nix
> specific types, use baseunix,unix
>
> See
>    http://wiki.freepascal.org/libc_unit
>
> > Also, as Petr mentioned, there are some obsolete warnings regarding the
> > FormatSettings in some of the units (as he mentioned)
>
> FPC 2.6.0+ afaik also gives those warnings. That change was btw already
> introduced with Delphi XE, not XE2.
>
>
>
> ------------------------------------------------------------------------------
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev
> _______________________________________________
> synalist-public mailing list
> synalist-public@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/synalist-public
>
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to