Skip to content

Fix int-in-bool-context with gcc-7.2

Loic Hausammann requested to merge fix_gcc7 into master

With GCC-7.2.0, I am getting the following error: scheduler.c:1606:14: error: ‘<<’ in boolean context, did you mean ‘<’ ? [-Werror=int-in-bool-context] if (!((1 << t->type)) || t->skip) continue; ~~~~^~~~~~~~~~~~

Merge request reports