[Gambas-user] gambas 0.83
ron
ronstk at ...239...
Sun Feb 8 14:54:11 CET 2004
On Sunday 08 February 2004 13:35, ron wrote:
> On Sunday 08 February 2004 11:53, Benoit Minisini wrote:
> > Hi,
> >
> > Well, I'm in a hurry, so here is gambas 0.83:
>
> CFont.cpp: In function `void CFONT_ref(CFONT*)':
> CFont.cpp:46: error: parse error before `,' token
> CFont.cpp:46: error: parse error before `)' token
> CFont.cpp: In function `void CFONT_unref(CFONT**, int)':
> CFont.cpp:58: error: parse error before `,' token
> CFont.cpp: In function `int CFONT_check(CFONT*)':
> CFont.cpp:70: error: parse error before `,' token
> CFont.cpp:70: error: parse error before `)' token
> CFont.cpp: In function `QFont CFONT_get_font(CFONT*)':
> CFont.cpp:80: error: parse error before `,' token
> CFont.cpp: In function `void CFONT_manage(int, CFONT*, void*)':
> CFont.cpp:120: error: parse error before `,' token
> make[5]: *** [CFont.lo] Error 1
> make[5]: Leaving directory `/usr/local/src/gambas-0.83/src/lib/qt'
> make[4]: *** [all-recursive] Error 1
>
> All the error lines contains a CFONT_TO_CWIDGET(font) function.
> in v 0.82 it is CFONT_TO_CWIDGET(*font).
>
> I got this at the moment for 0.83.
>
> Version 0.82 was ok yesterday, only compare warnings (SuSE compiler
> problem)
>
Above statement was not true.
CFont.cpp:58 has it and the others don't
Diff say only the include "common.h" has gone.
In .h file
#define CFONT_TO_CWIDGET(_cfont) ((CWIDGET *)((char *)_cfont -
offsetof(CWIDGET, font)))
I asume there must be a second argument and that should be the widget?
More information about the User
mailing list