pkgsrc-ng/lang/gcc45/patches/patch-gcc_doc_cppopts.texi
Lionel Sambuc 612ad0a18c lang/gcc45
2016-01-22 00:09:29 +01:00

35 lines
1.3 KiB
Plaintext

$NetBSD$
--- gcc/doc/cppopts.texi.orig Fri Apr 2 19:54:46 2010
+++ gcc/doc/cppopts.texi
@@ -504,6 +504,16 @@ is applied to the standard system directories.
If @var{dir} begins with @code{=}, then the @code{=} will be replaced
by the sysroot prefix; see @option{--sysroot} and @option{-isysroot}.
+@item -cxx-isystem @var{dir}
+@opindex cxxisystem
+Search @var{dir} for C++ header files, after all directories specified by
+@option{-I} but before the standard system directories. Mark it
+as a system directory, so that it gets the same special treatment as
+is applied to the standard system directories.
+@ifset cppmanual
+@xref{System Headers}.
+@end ifset
+
@item -iquote @var{dir}
@opindex iquote
Search @var{dir} only for header files requested with
@@ -537,6 +547,12 @@ files previously preprocessed with @code{-E -fdirectiv
With both @option{-E} and @option{-fpreprocessed}, the rules for
@option{-fpreprocessed} take precedence. This enables full preprocessing of
files previously preprocessed with @code{-E -fdirectives-only}.
+
+@item -iremap @var{src}:@var{dst}
+@opindex iremap
+Replace the prefix @var{src} in __FILE__ with @var{dst} at expansion time.
+This option can be specified more than once. Processing stops at the first
+match.
@item -fdollars-in-identifiers
@opindex fdollars-in-identifiers