Re: [PATCH] Fix build failure in libcpp (PR c/61212)

2014-05-21 Thread Tom Tromey
> "Marek" == Marek Polacek writes: Marek> 2014-05-21 Marek Polacek Marek> PR c/61212 Marek> * files.c (find_file_in_dir): Add parens around &&. Ok. Thanks. Tom

[PATCH] Fix build failure in libcpp (PR c/61212)

2014-05-21 Thread Marek Polacek
As described in the PR, the build fails when HAVE_DOS_BASED_FILE_SYSTEM is in effect: ../../libcpp/files.c:393:56: error: suggest parentheses around ‘&&’ within ‘||’ [-Werror=parentheses] if (CPP_OPTION (pfile, canonical_system_headers) && file->dir->sysp This (untested, but trivial