Re: [fpc-devel] gtkliststore.inc

2008-01-22 Thread Michael Van Canneyt
On Tue, 22 Jan 2008, Paul Ishenin wrote: Hello, FPC developers' list. Can someone tell me what for gtk2 package have this strange defines inside sources: {$IFNDEF KYLIX} function gtk_list_store_new(n_columns:gint; args:array of const):PGtkListStore; cdecl; overload; external gtklib;

Re: [fpc-devel] gtkliststore.inc

2008-01-22 Thread Michael Van Canneyt
On Tue, 22 Jan 2008, Paul Ishenin wrote: Michael Van Canneyt wrote: On Tue, 22 Jan 2008, Paul Ishenin wrote: Hello, FPC developers' list. Can someone tell me what for gtk2 package have this strange defines inside sources: {$IFNDEF KYLIX} function

Re: [fpc-devel] gtkliststore.inc

2008-01-22 Thread Paul Ishenin
Michael Van Canneyt wrote: On Tue, 22 Jan 2008, Paul Ishenin wrote: Hello, FPC developers' list. Can someone tell me what for gtk2 package have this strange defines inside sources: {$IFNDEF KYLIX} function gtk_list_store_new(n_columns:gint; args:array of const):PGtkListStore; cdecl;

[fpc-devel] One more issue with string function results (hopefully, the last)

2008-01-22 Thread Sergei Gorelkin
Hello, Ran into it while compiling Lazarus. It appears that, while many sophisticated checks are done in tcallnode.maybe_create_funcret_node, the obvious case when function result destination is one of the function's arguments, is not checked. To be honest, I noticed that earlier for the

Re: [fpc-devel] One more issue with string function results (hopefully, the last)

2008-01-22 Thread Peter Vreman
Hello, Ran into it while compiling Lazarus. It appears that, while many sophisticated checks are done in tcallnode.maybe_create_funcret_node, the obvious case when function result destination is one of the function's arguments, is not checked. To be honest, I noticed that earlier for the

Re: [fpc-devel] One more issue with string function results (hopefully, the last)

2008-01-22 Thread Peter Vreman
Hello, Ran into it while compiling Lazarus. It appears that, while many sophisticated checks are done in tcallnode.maybe_create_funcret_node, the obvious case when function result destination is one of the function's arguments, is not checked. To be honest, I noticed that earlier for the

Re: [fpc-devel] One more issue with string function results (hopefully, the last)

2008-01-22 Thread Sergei Gorelkin
Peter Vreman wrote: The example that is provided doesn't fail. Because when calling foo the value of -4(%ebp) is loaded in %eax and that value is used in the function foo. The setlength() will create a new string and store that at -4(%ebp) of the calling function. But doesn't change the

[fpc-devel] Unable to build FPC from source, any ideas?

2008-01-22 Thread Paul Michell
I've been updating my FPC 2.2.1 from SVN for some time, but my batch file has started failing (since last Sunday I think?) It appears to be nolonger able to build the initial compiler? I'm working on Windows XP and using 2.2.0 as a seed compiler. make cycle from the compiler folder gives: