[Gambas-user] Release of gambas 1.9.39

Laurent Carlier lordheavy at ...512...
Mon Aug 21 10:27:26 CEST 2006


Le lundi 21 août 2006 05:00, Jose J. Rodriguez a écrit :
> On 8/19/06, Benoit Minisini <gambas at ...1...> wrote:
> > Hi,
> >
> > This new release should fix all the problems introduced in the last
> > version.
> >
> > Moreover, Laurent Carlier has redesigned the SDL component. Now it uses
> > OpenGL for both 2D and 3D drawings. Ask him if you need more information
> > :-)
>
> Then here's asking Laurent ;) - Do I need a newer version of SDL or is
> something else wrong? Never had SDL problems building Gambas before.
> Here's the end of the make output, where the error is:
>
>  ccache g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/SDL/
> -I/usr/include/SDL -D_REENTRANT -pipe -Wall -fno-exceptions
> -Wno-unused-value -g -Os -fno-omit-frame-pointer -MT SDLapp.lo -MD -MP
> -MF .deps/SDLapp.Tpo -c SDLapp.cpp  -fPIC -DPIC -o .libs/SDLapp.o
> SDLapp.cpp:41: error: parse error before `__attribute__'
> SDLapp.cpp: In member function `long int SDLapplication::GetExtents()':
> SDLapp.cpp:261: error: invalid conversion from `int (*)(...)' to `int
>    (*)(Display*, XEvent*, char*)'
> make[5]: *** [SDLapp.lo] Error 1
> make[5]: Leaving directory
> `/home/joe1962/packages/3-2package/gambas/gambas2-1.9.39/gb.sdl/src'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory
> `/home/joe1962/packages/3-2package/gambas/gambas2-1.9.39/gb.sdl/src'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/home/joe1962/packages/3-2package/gambas/gambas2-1.9.39/gb.sdl'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> `/home/joe1962/packages/3-2package/gambas/gambas2-1.9.39/gb.sdl'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/home/joe1962/packages/3-2package/gambas/gambas2-1.9.39'
> make: *** [all] Error 2
>
> Regards,
> Joe1962
>

What is your gcc version ?

Try with the attached file, this piece of code is disabled as it's broken ;)

Regards,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SDLapp.cpp
Type: text/x-c++src
Size: 6528 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20060821/115e35d5/attachment.cpp>


More information about the User mailing list