hello,
i have a project with a form (Lazarus 2.0.12 , windows). In this form, I use the component
TPythonEngine from the package
Python4Lazarus. When i want to define an OnActivate event in the form properties , i have this error :
Codetools - Erreurs : 1
PythonEngine.pas(2617,17) Error: procedure prévu, mais threadvar trouvé
(waiting procedure, threadvar found) on this line of the
PythonEngine.pas :
private class threadvar f_savethreadstate: PPyThreadState;
if i put :
private class var f_savethreadstate: PPyThreadState;
it is OK.
CodeTools seems to not know the reserved word
threadvar.
Friendly, J.P