mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2024-11-25 00:53:43 +00:00
Workaround for a bug in gcc. It's fixed in gcc 7.
This commit is contained in:
parent
0770ca704b
commit
6df2a4db43
1 changed files with 10 additions and 0 deletions
|
@ -115,6 +115,16 @@ namespace mchlib {
|
|||
throw e;
|
||||
}
|
||||
}
|
||||
catch (...) { //workaround for bug in gcc 5 and 6, see:
|
||||
//https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66145
|
||||
if (parIgnoreErrors) {
|
||||
it->unreadable = true;
|
||||
it->hash = TigerHash {};
|
||||
}
|
||||
else {
|
||||
throw;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#if defined(INDEXER_VERBOSE)
|
||||
|
|
Loading…
Reference in a new issue