tora-tool/tora

The latest version doesn't compile on Ubuntu 20.10 (Groovy)

mgogala opened this issue · 3 comments

The latest version doesn't compile on Ubuntu 20.10 (Groovy):

/home/mgogala/git/tora/src/views/tobindsview.cpp: In member function ‘virtual QVariant toBindModel::data(const QModelIndex&, int) const’:
/home/mgogala/git/tora/src/views/tobindsview.cpp:72:1: error: jump to label ‘INVALID’

errors.log
errors.log
errors.log

I attached errors.log 3 times, by mistake, I have no idea how to un-attach them.

New commit didn' fix it:

errors.txt

/home/mgogala/git/tora/src/views/tobindsview.cpp:72:1: error: jump to label ‘INVALID’
72 | INVALID:
| ^~~~~~~
/home/mgogala/git/tora/src/views/tobindsview.cpp:53:14: note: from here
53 | goto INVALID;
| ^~~~~~~
/home/mgogala/git/tora/src/views/tobindsview.cpp:64:9: note: crosses initialization of ‘int c’
64 | int c = index.column();

this pull request fix the problem #152

I can confirm that the problem is now solved.