[Gambas-user] Release of Gambas 2.13.1

Laurent Carlier lordheavym at ...626...
Sun May 31 16:34:45 CEST 2009


Le dimanche 31 mai 2009 15:38:56 Leonardo Miliani, vous avez écrit :
> Another error compiling 2.13.1:
>
> main.cpp: In function ‘int field_index(void*, const char*, DB_DATABASE*)’:
> main.cpp:1011: error: invalid conversion from ‘const char*’ to ‘char*’
> make[4]: *** [gb_db_sqlite3_la-main.lo] Error 1
> make[4]: Leaving directory
> `/home/leo/Documenti/gambas2/src/gambas2-2.13.1/gb.db.sqlite3/src'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/home/leo/Documenti/gambas2/src/gambas2-2.13.1/gb.db.sqlite3'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> `/home/leo/Documenti/gambas2/src/gambas2-2.13.1/gb.db.sqlite3'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/leo/Documenti/gambas2/src/gambas2-2.13.1'
> make: *** [all] Error 2
>
> Now it seems that the error is related to gb.sqlite3....
> Are these errors related to gcc 4.4.0 or not?
> I've read that someone else have had problems compiling 2.13.1 with gcc
> 4.2.4....

Try to replace gb.db.sqlite3/src/main.cpp with the following file, tell us if 
it fix your problem.

Regards,

-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.cpp
Type: text/x-c++src
Size: 62789 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20090531/ef06aaca/attachment.cpp>


More information about the User mailing list