[Gambas-user] [Gambas Bug Tracker] Bug #1073: build failure with gcc-7 (Debian experimental)

bugtracker at ...3416... bugtracker at ...3416...
Tue Jan 31 11:14:18 CET 2017


http://gambaswiki.org/bugtracker/edit?object=BUG.1073&from=L21haW4-

Gianfranco COSTAMAGNA reported a new bug.

Summary
-------

build failure with gcc-7 (Debian experimental)

Type             : Bug
Priority         : Medium
Gambas version   : Unknown
Product          : Unknown


Description
-----------

make[3]: Entering directory '/<<PKGBUILDDIR>>/gb.db.sqlite2'
make  all-recursive
make[4]: Entering directory '/<<PKGBUILDDIR>>/gb.db.sqlite2'
Making all in src
make[5]: Entering directory '/<<PKGBUILDDIR>>/gb.db.sqlite2/src'
  CXX      gb_db_sqlite2_la-main.lo
  CXX      gb_db_sqlite2_la-dataset.lo
  CXX      gb_db_sqlite2_la-qry_dat.lo
  CXX      gb_db_sqlite2_la-sqlitedataset.lo
sqlitedataset.cpp: In function 'fType GetFieldType(const char*, unsigned int*)':
sqlitedataset.cpp:768:13: error: invalid conversion from 'char' to 'char*' [-fpermissive]
    _right = '\0';
             ^~~~

As seen in bug: http://bugs.debian.org/853343

This isn't a real issue, seems a cast is enough to fix it, but I don't know if there are other failures
after fixing this one (and there is a lot of time before gcc-7 will be the default!

Just taking this as placeholder :)

thanks

G.








More information about the User mailing list