Deleted Added
full compact
c-incpath.c (225736) c-incpath.c (260012)
1/* Set up combined include path chain for the preprocessor.
2 Copyright (C) 1986, 1987, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
3 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
4 Free Software Foundation, Inc.
5
6 Broken out of cppinit.c and cppfiles.c and rewritten Mar 2003.
7
8This program is free software; you can redistribute it and/or modify it

--- 58 unchanged lines hidden (view full) ---

67free_path (struct cpp_dir *path, int reason)
68{
69 switch (reason)
70 {
71 case REASON_DUP:
72 case REASON_DUP_SYS:
73 fprintf (stderr, _("ignoring duplicate directory \"%s\"\n"), path->name);
74 if (reason == REASON_DUP_SYS)
1/* Set up combined include path chain for the preprocessor.
2 Copyright (C) 1986, 1987, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
3 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
4 Free Software Foundation, Inc.
5
6 Broken out of cppinit.c and cppfiles.c and rewritten Mar 2003.
7
8This program is free software; you can redistribute it and/or modify it

--- 58 unchanged lines hidden (view full) ---

67free_path (struct cpp_dir *path, int reason)
68{
69 switch (reason)
70 {
71 case REASON_DUP:
72 case REASON_DUP_SYS:
73 fprintf (stderr, _("ignoring duplicate directory \"%s\"\n"), path->name);
74 if (reason == REASON_DUP_SYS)
75 fprintf (stderr,
75 fprintf (stderr, "%s",
76 _(" as it is a non-system directory that duplicates a system directory\n"));
77 break;
78
79 case REASON_NOENT:
80 fprintf (stderr, _("ignoring nonexistent directory \"%s\"\n"),
81 path->name);
82 break;
83

--- 203 unchanged lines hidden (view full) ---

287 heads[QUOTE] = remove_duplicates (pfile, heads[QUOTE], heads[SYSTEM],
288 heads[BRACKET], verbose);
289
290 /* If verbose, print the list of dirs to search. */
291 if (verbose)
292 {
293 struct cpp_dir *p;
294
76 _(" as it is a non-system directory that duplicates a system directory\n"));
77 break;
78
79 case REASON_NOENT:
80 fprintf (stderr, _("ignoring nonexistent directory \"%s\"\n"),
81 path->name);
82 break;
83

--- 203 unchanged lines hidden (view full) ---

287 heads[QUOTE] = remove_duplicates (pfile, heads[QUOTE], heads[SYSTEM],
288 heads[BRACKET], verbose);
289
290 /* If verbose, print the list of dirs to search. */
291 if (verbose)
292 {
293 struct cpp_dir *p;
294
295 fprintf (stderr, _("#include \"...\" search starts here:\n"));
295 fprintf (stderr, "%s", _("#include \"...\" search starts here:\n"));
296 for (p = heads[QUOTE];; p = p->next)
297 {
298 if (p == heads[BRACKET])
296 for (p = heads[QUOTE];; p = p->next)
297 {
298 if (p == heads[BRACKET])
299 fprintf (stderr, _("#include <...> search starts here:\n"));
299 fprintf (stderr, "%s", _("#include <...> search starts here:\n"));
300 if (!p)
301 break;
302 fprintf (stderr, " %s\n", p->name);
303 }
300 if (!p)
301 break;
302 fprintf (stderr, " %s\n", p->name);
303 }
304 fprintf (stderr, _("End of search list.\n"));
304 fprintf (stderr, "%s", _("End of search list.\n"));
305 }
306}
307
308/* Use given -I paths for #include "..." but not #include <...>, and
309 don't search the directory of the present file for #include "...".
310 (Note that -I. -I- is not the same as the default setup; -I. uses
311 the compiler's working dir.) */
312void

--- 105 unchanged lines hidden ---
305 }
306}
307
308/* Use given -I paths for #include "..." but not #include <...>, and
309 don't search the directory of the present file for #include "...".
310 (Note that -I. -I- is not the same as the default setup; -I. uses
311 the compiler's working dir.) */
312void

--- 105 unchanged lines hidden ---