Compilation errors for gcc 6.2
In the scan classes, there are many instances of the following while(!g_tx->isCmdEmpty()); that throws the following error: warning: this 'while' clause does not guard... Can be fixed by adding -Wno-error=misleading-indentation to the gcc compiler flags or by adding extra curly brackets to the statement, like the following: while(!g_tx->isCmdEmpty()){};
In the spec driver classes KernelMemory and UserMemory destructors the following line: throw Exception(Exception::INTERNAL_ERROR); throws a compilation error: warning: throw will always call terminate() Can be fixed by not throwing the error or by adding -Wno-error=terminate to the gcc compiler flags.