Re: [fpc-pascal] Is there some disadvantages using mode Delphi?

2017-04-29 Thread Marcos Douglas B. Santos
On Sat, Apr 29, 2017 at 10:37 PM, Graeme Geldenhuys wrote: > On 2017-04-29 21:18, Marcos Douglas B. Santos wrote: >> My concern is make my code cross between FPC and Delphi, but loosing some >> feature that exists only in FPC. > > My question is, why do you need Delphi at all? FPC can target more

Re: [fpc-pascal] Is there some disadvantages using mode Delphi?

2017-04-29 Thread Graeme Geldenhuys
On 2017-04-29 21:23, Marco van de Voort wrote: > The proponents of mode objfpc make a big deal out of the differences, but > IMHO it is mostly nitpicking. And worse unnecesarily incompatible > nitpicking. For many Delphi is simply not needed, so why would anybody then opt for something other than

Re: [fpc-pascal] Is there some disadvantages using mode Delphi?

2017-04-29 Thread Graeme Geldenhuys
On 2017-04-29 21:18, Marcos Douglas B. Santos wrote: > My concern is make my code cross between FPC and Delphi, but loosing some > feature that exists only in FPC. My question is, why do you need Delphi at all? FPC can target more platforms that Delphi, support is better, bugs actually get fixed,

Re: [fpc-pascal] Is there some disadvantages using mode Delphi?

2017-04-29 Thread Marcos Douglas B. Santos
On Sat, Apr 29, 2017 at 7:21 PM, Sven Barth via fpc-pascal wrote: >> If I remember well, PChar and even String is different between these >> modes, right? The compiler will convert strings between them or this >> is not a problem? Even using LCL? > > The default string type depends on two differen

Re: [fpc-pascal] Is there some disadvantages using mode Delphi?

2017-04-29 Thread Sven Barth via fpc-pascal
Am 29.04.2017 23:56 schrieb "Marcos Douglas B. Santos" : > > On Sat, Apr 29, 2017 at 5:23 PM, Marco van de Voort wrote: > > > > In our previous episode, Marcos Douglas B. Santos said: > > > I would like to write some packages that should work in FPC and Delphi. > > > I know that I will need to use

Re: [fpc-pascal] Is there some disadvantages using mode Delphi?

2017-04-29 Thread Sven Barth via fpc-pascal
Am 29.04.2017 22:19 schrieb "Marcos Douglas B. Santos" : > > > On Sat, Apr 29, 2017 at 2:10 PM, Michael Van Canneyt < mich...@freepascal.org> wrote: >> >> >>> Hi, >>> >>> I would like to write some packages that should work in FPC and Delphi. >>> I know that I will need to use {mode delphi} to do t

Re: [fpc-pascal] Is there some disadvantages using mode Delphi?

2017-04-29 Thread Marcos Douglas B. Santos
On Sat, Apr 29, 2017 at 5:23 PM, Marco van de Voort wrote: > > In our previous episode, Marcos Douglas B. Santos said: > > I would like to write some packages that should work in FPC and Delphi. > > I know that I will need to use {mode delphi} to do that. > > > > My ask is: Is there some disadvant

Re: [fpc-pascal] Is there some disadvantages using mode Delphi?

2017-04-29 Thread Marco van de Voort
In our previous episode, Marcos Douglas B. Santos said: > I would like to write some packages that should work in FPC and Delphi. > I know that I will need to use {mode delphi} to do that. > > My ask is: Is there some disadvantages using this mode? > > I mean, is there something that we only can

Re: [fpc-pascal] Is there some disadvantages using mode Delphi?

2017-04-29 Thread Marcos Douglas B. Santos
On Sat, Apr 29, 2017 at 2:10 PM, Michael Van Canneyt wrote: > > Hi, >> >> I would like to write some packages that should work in FPC and Delphi. >> I know that I will need to use {mode delphi} to do that. >> >> My ask is: Is there some disadvantages using this mode? >> >> I mean, is there someth

Re: [fpc-pascal] Is there some disadvantages using mode Delphi?

2017-04-29 Thread Michael Van Canneyt
On Sat, 29 Apr 2017, Marcos Douglas B. Santos wrote: Hi, I would like to write some packages that should work in FPC and Delphi. I know that I will need to use {mode delphi} to do that. My ask is: Is there some disadvantages using this mode? I mean, is there something that we only can do in

[fpc-pascal] Is there some disadvantages using mode Delphi?

2017-04-29 Thread Marcos Douglas B. Santos
Hi, I would like to write some packages that should work in FPC and Delphi. I know that I will need to use {mode delphi} to do that. My ask is: Is there some disadvantages using this mode? I mean, is there something that we only can do in mode objfpc but not in mode delphi, or is it just about s