https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61212
Bug ID: 61212 Summary: gcc build failure on "dos file system" due to warnings treated as errors Product: gcc Version: fortran-dev Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: tprince at computer dot org gcc trunk and fortran-dev build failure ../../libcpp/files.c:393:56: error: suggest parentheses around ‘&&’ within ‘||’ [-Werror=parentheses] if (CPP_OPTION (pfile, canonical_system_headers) && file->dir->sysp ^ cc1plus: all warnings being treated as errors Adding the parens as suggested has been working: if ((CPP_OPTION (pfile, canonical_system_headers) && file->dir->sysp) #ifdef HAVE_DOS_BASED_FILE_SYSTEM || !file->dir->sysp #endif ) Apparently, this is exposed only on "dos based file system."