ignore GCC warnings in serialize and in logger