[fpc-pascal] Memcached interface for FPC available already?

2010-02-21 Thread Mark Daems
Hi, Is somebody aware of an fpc interface for the memcached protocol? (See http://memcached.org/) As there seem to be some projects using fpc to provide web content and memcached seems to be one of the more important techniques used on bigger websites there may already be someone who wrote some int

[fpc-pascal] Fwd: Delphi incompatible conditionals?

2010-10-01 Thread Mark Daems
Hi, I'm trying to add following conditional code to the top of a unit that should compile in fpc and in delphi: {$IFDEF FPC}  {$IFNDEF ver1}    {$IF (fpc_version>2) or (fpc_version=2) and (fpc_release>3)}      {$info FPC version >= 2.4.0 : Should work}    {$ELSE}      {$warning FPC versions below

[fpc-pascal] Re: Delphi incompatible conditionals?

2010-10-03 Thread Mark Daems
> From: "Juha Manninen (gmail)" > To: "FPC-Pascal users discussions" > Date: Fri, 1 Oct 2010 20:04:18 +0300 > Subject: Re: [fpc-pascal] Fwd: Delphi incompatible conditionals? > On Friday 01 October 2010 19:33:48 Mark Daems wrote: >> ... >> And it&

[fpc-pascal] Re: Delphi incompatible conditionals?

2010-10-04 Thread Mark Daems
> -- Doorgestuurd bericht -- > From: Martin > if you can put it after the uses clause (so you can have a const section, the > following worked for me: > {$IFNDEF FPC} > const fpc_version=1; fpc_release=1; > {$ENDIF} > // your code below > {$IFDEF FPC} >  {$IFNDEF ver1} >   {$IF (f