[fpc-devel]1.1 array of const
acjgenius at earthlink.net
Mon Oct 21 00:26:17 CEST 2002
I discovered what I think is a bug in fpc 1.1, but am having trouble
tracing down particulars so I am posting here instead. With the new
fixes to 1.1, most of lazarus has started compiling with it, however
programs (including lazarus itself) die on execution. I traced this down
to a single function :
Result := gtk_widget_new(GTKAPIWidget_GetType, 'hadjustment', [nil,
'vadjustment', nil, nil] );
which raises an AV in GTK+, gtk_args_collect. This problem only occurs
when sending the array of const, so I am guessing something with array
of const has been broken, or has at least broken compatibility with C.
If I can figure out an easy example/explanation of this problem I will
also post a bug report, but until then, anybody have any ideas?
More information about the fpc-devel