summaryrefslogtreecommitdiff
path: root/gcc/invoke.texi
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2001-02-18 14:47:39 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2001-02-18 14:47:39 +0000
commit6d66329bd15b44818847cf20cf6fbb756ac7c6ae (patch)
tree687fb130b82728f18ea69748aa1df6b1c00330a3 /gcc/invoke.texi
parent388df988f8cee67ee47ff8604143822eabd8c867 (diff)
downloadgcc-6d66329bd15b44818847cf20cf6fbb756ac7c6ae.tar.gz
* invoke.texi (-I): Add note avoiding use for system header files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39833 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/invoke.texi')
-rw-r--r--gcc/invoke.texi9
1 files changed, 6 insertions, 3 deletions
diff --git a/gcc/invoke.texi b/gcc/invoke.texi
index a6c67b08513..be11494129e 100644
--- a/gcc/invoke.texi
+++ b/gcc/invoke.texi
@@ -1,4 +1,5 @@
-@c Copyright (C) 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+@c Copyright (C) 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
+@c 2000, 2001 Free Software Foundation, Inc.
@c This is part of the GCC manual.
@c For copying conditions, see the file gcc.texi.
@@ -3792,8 +3793,10 @@ libraries and for parts of the compiler:
Add the directory @var{dir} to the head of the list of directories to be
searched for header files. This can be used to override a system header
file, substituting your own version, since these directories are
-searched before the system header file directories. If you use more
-than one @samp{-I} option, the directories are scanned in left-to-right
+searched before the system header file directories. However, you should
+not use this option to add directories that contain vendor-supplied
+system header files (use @samp{-isystem} for that). If you use more than
+one @samp{-I} option, the directories are scanned in left-to-right
order; the standard system directories come after.
@item -I-