[Gambas-user] Release of gambas 1.9.34
Lorenzo
fidojones at ...805...
Mon Jul 17 17:12:37 CEST 2006
Ok it works now but the exactly change I did was:
in
gambas2-1.9.34/gb.qt/src/ext/garray.h
extern "C" GB_INTERFACE GB;
gambas2-1.9.34/gb.qt/src/ext/main.h
extern "C" GB_INTERFACE GB;
extern "C" QT_INTERFACE QT;
it similar what you say
" GB_INTERFACE "C" GB; "
Regards
Lorenzo
On Mon, 17 Jul 2006 16:42:05 +0200, Benoit Minisini <gambas at ...1...> wrote:
> 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
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
More information about the User
mailing list