[Gambas-user] Release of gambas 1.9.34

Benoit Minisini gambas at ...1...
Mon Jul 17 16:42:05 CEST 2006


On Monday 17 July 2006 16:33, Lorenzo wrote:
> I'm not on holiday compiling errors here :D, I want to probe it, hurry
> hurry :D
>
>
>
> make[5]: se ingresa al directorio `/1/gambas2-1.9.34/gb.qt/src/ext'
>
> if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
> -I. -I../.. -I/usr/include/qt3/ -D_REENTRANT   -pipe -Wall -fno-exceptions
> -Wno-unused-value -fvisibility=hidden -g -Os -fno-omit-frame-pointer  -MT
> main.lo -MD -MP -MF ".deps/main.Tpo" -c -o main.lo main.cpp; \
>
>         then mv -f ".deps/main.Tpo" ".deps/main.Plo"; else rm -f
> ".deps/main.Tpo"; exit 1; fi
>
>  g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/qt3/ -D_REENTRANT -pipe
> -Wall -fno-exceptions -Wno-unused-value -fvisibility=hidden -g -Os
> -fno-omit-frame-pointer -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.cpp 
> -fPIC -DPIC -o .libs/main.o
>
> garray.h: In constructor 'GArrayImpl::GArrayImpl()':
>
> garray.h:39: warning: dereferencing type-punned pointer will break
> strict-aliasing rules
>
> garray.h: In destructor 'GArrayImpl::~GArrayImpl()':
>
> garray.h:40: warning: dereferencing type-punned pointer will break
> strict-aliasing rules
>
> garray.h: In member function 'void GArrayImpl::append(const void*)':
>
> garray.h:45: warning: dereferencing type-punned pointer will break
> strict-aliasing rules
>
> garray.h: At global scope:
>
> garray.h:29: error: previous declaration of 'GB_INTERFACE GB' with 'C++'
> linkage

==> Add '"C"' between GB_INTERFACE and GB. I.e. rewrite the declaration:

GB_INTERFACE "C" GB;

You may have to do that in other places. This is due to the new gcc that is 
more strict.

Regards,

-- 
Benoit Minisini




More information about the User mailing list