From 289395899601bacfaa9f9f93c454b85337867c5b Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Wed, 21 May 2014 18:54:12 +0000 Subject: re PR c/61212 (gcc build failure on "dos file system" due to warnings treated as errors) PR c/61212 * files.c (find_file_in_dir): Add parens around &&. From-SVN: r210722 --- libcpp/files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcpp/files.c') diff --git a/libcpp/files.c b/libcpp/files.c index ad68682..91bc9dd 100644 --- a/libcpp/files.c +++ b/libcpp/files.c @@ -390,7 +390,7 @@ find_file_in_dir (cpp_reader *pfile, _cpp_file *file, bool *invalid_pch) /* We try to canonicalize system headers. For DOS based file * system, we always try to shorten non-system headers, as DOS * has a tighter constraint on max path length. */ - if (CPP_OPTION (pfile, canonical_system_headers) && file->dir->sysp + if ((CPP_OPTION (pfile, canonical_system_headers) && file->dir->sysp) #ifdef HAVE_DOS_BASED_FILE_SYSTEM || !file->dir->sysp #endif -- cgit v1.1