[Gambas-user] Compilation problem with 0.96

Benoit Minisini gambas at ...1...
Wed Aug 4 19:34:56 CEST 2004


On Wednesday 04 August 2004 18:57, Paul wrote:
> Hi,
>
> I'm trying to get 0.96 on my FC3 (test1) box to compile, but I'm getting
> the following compilation errors
>
> CMenu.cpp: In function void delete_menu(CMENU *)
> CMenu.cpp:297: error: ISO C++ forbids cast to non-reference type used as
> lvalue
> CMenu.cpp: In function void CMENU_new(void *, void *):
> CMenu.cpp:345: error: ISO C++ forbids cast to non-reference type used as
> lvalue
>
> From what it looks like, in the first one it's trying cast QPopupMenu to
> the CMENU struct. The second one is trying to say an entire pointer
> function = 0.
>
> TTFN
>
> Paul

This is a problem with gcc 3.4 that I didn't fix yet. I think there is a flag 
in gcc 3.4 to get the old gcc 3.3 behaviour but I don't know it.

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list