Commit 28939589 by Marek Polacek

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
parent 174ebf65
2014-05-21 Marek Polacek <polacek@redhat.com>
PR c/61212
* files.c (find_file_in_dir): Add parens around &&.
2014-05-20 Edward Smith-Rowland <3dw4rd@verizon.net> 2014-05-20 Edward Smith-Rowland <3dw4rd@verizon.net>
PR C++/61038 PR c++/61038
* macro.c (stringify_arg (cpp_reader *, macro_arg *)): * macro.c (stringify_arg (cpp_reader *, macro_arg *)):
Check for user-defined literal strings and user-defined literal chars Check for user-defined literal strings and user-defined literal chars
to escape necessary characters. to escape necessary characters.
......
...@@ -390,7 +390,7 @@ find_file_in_dir (cpp_reader *pfile, _cpp_file *file, bool *invalid_pch) ...@@ -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 /* We try to canonicalize system headers. For DOS based file
* system, we always try to shorten non-system headers, as DOS * system, we always try to shorten non-system headers, as DOS
* has a tighter constraint on max path length. */ * 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 #ifdef HAVE_DOS_BASED_FILE_SYSTEM
|| !file->dir->sysp || !file->dir->sysp
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment