On Tue, Jan 26, 2016 at 5:36 AM, leledumbo
wrote:
> > AFAIR it was supported until certain FPC version
>
> Found it:
>
> http://wiki.lazarus.freepascal.org/User_Changes_2.6.0#Array_of_const_parameters_and_cdecl_routines
Thanks for the link. I didn't see this Remedy: "Remove the cdecl specifier
On Tue, Jan 26, 2016 at 5:34 AM, leledumbo
wrote:
> > Neither FPC nor Delphi allow you to declare your own varargs functions.
> That it works in Delphi is by pure change. Trying to outsmart the compiler
> will only lead to trouble.
>
> AFAIR it was supported until certain FPC version, but the dro
On Mon, Jan 25, 2016 at 4:05 AM, Sven Barth
wrote:
> Am 25.01.2016 04:42 schrieb "silvioprog" :
> > What I'm doing wrong? Can I use this callings on FPC in the DELPHI
> mode?! :-/
>
> Neither FPC nor Delphi allow you to declare your own varargs functions.
> That it works in Delphi is by pure chan
On 2016-01-26 10:13, Jonas Maebe wrote:
> The rttiobj unit is compiled in Delphi mode
Ah, I missed that one. Thanks for pointing that out.
>, hence
> http://wiki.freepascal.org/User_Changes_2.6.0#Sizes_of_sets_in_TP.2FDelphi_mode
Many thanks for the link.
Regards,
- Graeme -
My public P
Graeme Geldenhuys wrote on Tue, 26 Jan 2016:
To make the typeinfex/*.pp examples compilable, I had to make some
changes as shown below. I don't hope text wrapping screws this up, but
just in case, I attached the patch too. Before, it seems it was valid to
typecast a Set as Integer(), but testin
On 2016-01-25 16:32, Michael Van Canneyt wrote:
> They should definitely be compilable.
Complete patch attached in Mantis:
http://mantis.freepascal.org/view.php?id=29513
Regards,
- Graeme -
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/
My
On 2016-01-25 16:32, Michael Van Canneyt wrote:
>
> They should definitely be compilable.
To make the typeinfex/*.pp examples compilable, I had to make some
changes as shown below. I don't hope text wrapping screws this up, but
just in case, I attached the patch too. Before, it seems it was vali
On 2016-01-25 16:44, Stephen Chrzanowski wrote:
> You could possibly just replace it with a tedit or
> tlistbox or something.
No, that would make the example GUI and GUI Toolkit dependant. Free
Pascal doesn't include any GUI dependencies.
Regards,
- Graeme -
--
fpGUI Toolkit - a cross-platfor
I looked at the example, and it isn't compilable by my eye ball, however,
the idea I think is to replace that not found class def'n with something
you already know about. You could possibly just replace it with a tedit or
tlistbox or something.
On Mon, Jan 25, 2016 at 11:32 AM, Michael Van Canney
leledumbo wrote:
> AFAIR it was supported until certain FPC version
Found it:
http://wiki.lazarus.freepascal.org/User_Changes_2.6.0#Array_of_const_parameters_and_cdecl_routines
As that entry notes, it was not supported: "There is however no way in
(Free) Pascal to access these arguments on
Sven Barth wrote:
Am 25.01.2016 04:42 schrieb "silvioprog" mailto:silviop...@gmail.com>>:
> What I'm doing wrong? Can I use this callings on FPC in the DELPHI
mode?! :-/
Neither FPC nor Delphi allow you to declare your own varargs functions.
That it works in Delphi is by pure change.
It will
> AFAIR it was supported until certain FPC version
Found it:
http://wiki.lazarus.freepascal.org/User_Changes_2.6.0#Array_of_const_parameters_and_cdecl_routines
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/SIGSEGV-when-using-varargs-calling-tp5723661p5723670
> Neither FPC nor Delphi allow you to declare your own varargs functions.
That it works in Delphi is by pure change. Trying to outsmart the compiler
will only lead to trouble.
AFAIR it was supported until certain FPC version, but the dropped entirely
to only for external C functions.
The related e
13 matches
Mail list logo