[Gambas-user] suse 8.2 error

Benoit Minisini gambas at ...1...
Tue Apr 15 20:17:42 CEST 2003


Le Mardi 15 Avril 2003 13:37, Radoslav Dejanovic a écrit :
> Hi, I've just tried to compile 0.53 on SuSE 8.2 and here is the error
> message:
>
> c++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/lib/qt3/include/
> -I../../../src/share -pipe -Wall -fno-exceptions -g -O0 -c CPicture.cpp
> -fPIC -DPIC -o CPicture.lo
>
> CPicture.cpp: In function `void CPICTURE_load(void*, void*)':
>
> CPicture.cpp:454: error: non-lvalue in unary `&'
>
> make[5]: *** [CPicture.lo] Greška 1
>
> make[5]: Leaving directory `/home/rado/temp/gambas-0.53/src/lib/qt'
>
> Note that I had to override postgresql libraries while configuring:
>
> ./configure --with-pgsql-libraries=/usr/lib/postgresql/
>
>
> Any ideas?

Hi Radoslav,

That's funny. Something may have changed in the gcc compiler yet ! 

You can edit the line and replace "&THIS" by "(CPICTURE **)&_object".
Then, recompile.

Regards,

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




More information about the User mailing list