View | Details | Return to bug 19541
Collapse All | Expand All

(-)gcc-4.6.2-orig/gcc/ChangeLog (+7 lines)
Lines 1-3 Link Here
1
2012-02-02  Andrew Church  <achurch@achurch.org>
2
3
	* c-family/c-opts.c (case OPT_I): Undeprecate -I- support.
4
	* doc/invoke.texi: Likewise.
5
	* doc/cpp.texi: Likewise.
6
	* doc/cppopts.texi: Likewise.
7
1
2011-10-26  Release Manager
8
2011-10-26  Release Manager
2
9
3
	* GCC 4.6.2 released.
10
	* GCC 4.6.2 released.
(-)gcc-4.6.2-orig/gcc/c-family/c-opts.c (-1 lines)
Lines 303-309 Link Here
303
	    error ("-I- specified twice");
303
	    error ("-I- specified twice");
304
	  quote_chain_split = true;
304
	  quote_chain_split = true;
305
	  split_quote_chain ();
305
	  split_quote_chain ();
306
	  inform (input_location, "obsolete option -I- used, please use -iquote instead");
307
	}
306
	}
308
      break;
307
      break;
309
308
(-)gcc-4.6.2-orig/gcc/doc/cpp.1 (-2 lines)
Lines 596-603 Link Here
596
.Sp
596
.Sp
597
In addition, \fB\-I\-\fR inhibits the use of the directory of the current
597
In addition, \fB\-I\-\fR inhibits the use of the directory of the current
598
file directory as the first search directory for \f(CW\*(C`#include\ "\f(CIfile\f(CW"\*(C'\fR.
598
file directory as the first search directory for \f(CW\*(C`#include\ "\f(CIfile\f(CW"\*(C'\fR.
599
.Sp
600
This option has been deprecated.
601
.IP "\fB\-nostdinc\fR" 4
599
.IP "\fB\-nostdinc\fR" 4
602
.IX Item "-nostdinc"
600
.IX Item "-nostdinc"
603
Do not search the standard system directories for header files.
601
Do not search the standard system directories for header files.
(-)gcc-4.6.2-orig/gcc/doc/cpp.info (-7 / +1 lines)
Lines 814-820 Link Here
814
Directories after `-I-' are searched for all headers.  Second, the
814
Directories after `-I-' are searched for all headers.  Second, the
815
directory containing the current file is not searched for anything,
815
directory containing the current file is not searched for anything,
816
unless it happens to be one of the directories named by an `-I' switch.
816
unless it happens to be one of the directories named by an `-I' switch.
817
`-I-' is deprecated, `-iquote' should be used instead.
818
817
819
   `-I. -I-' is not the same as no `-I' options at all, and does not
818
   `-I. -I-' is not the same as no `-I' options at all, and does not
820
cause the same behavior for `<>' includes that `""' includes get with
819
cause the same behavior for `<>' includes that `""' includes get with
Lines 3917-3927 Link Here
3917
used 2.96 and 2.97 development snapshots.  Where there are differences,
3916
used 2.96 and 2.97 development snapshots.  Where there are differences,
3918
they generally represent bugs in the snapshots.
3917
they generally represent bugs in the snapshots.
3919
3918
3920
   * -I- deprecated
3921
3922
     This option has been deprecated in 4.0.  `-iquote' is meant to
3923
     replace the need for this option.
3924
3925
   * Order of evaluation of `#' and `##' operators
3919
   * Order of evaluation of `#' and `##' operators
3926
3920
3927
     The standard does not specify the order of evaluation of a chain of
3921
     The standard does not specify the order of evaluation of a chain of
Lines 4358-4364 Link Here
4358
4352
4359
     In addition, `-I-' inhibits the use of the directory of the current
4353
     In addition, `-I-' inhibits the use of the directory of the current
4360
     file directory as the first search directory for `#include "FILE"'.
4354
     file directory as the first search directory for `#include "FILE"'.
4361
     *Note Search Path::.  This option has been deprecated.
4355
     *Note Search Path::.
4362
4356
4363
`-nostdinc'
4357
`-nostdinc'
4364
     Do not search the standard system directories for header files.
4358
     Do not search the standard system directories for header files.
(-)gcc-4.6.2-orig/gcc/doc/cpp.texi (-7 / +1 lines)
Lines 898-905 Link Here
898
quote marks.  Directories after @option{-I-} are searched for all
898
quote marks.  Directories after @option{-I-} are searched for all
899
headers.  Second, the directory containing the current file is not
899
headers.  Second, the directory containing the current file is not
900
searched for anything, unless it happens to be one of the directories
900
searched for anything, unless it happens to be one of the directories
901
named by an @option{-I} switch.  @option{-I-} is deprecated, @option{-iquote}
901
named by an @option{-I} switch.
902
should be used instead.
903
902
904
@option{-I. -I-} is not the same as no @option{-I} options at all, and does
903
@option{-I. -I-} is not the same as no @option{-I} options at all, and does
905
not cause the same behavior for @samp{<>} includes that @samp{""}
904
not cause the same behavior for @samp{<>} includes that @samp{""}
Lines 4290-4300 Link Here
4290
4289
4291
@itemize @bullet
4290
@itemize @bullet
4292
4291
4293
@item -I- deprecated
4294
4295
This option has been deprecated in 4.0.  @option{-iquote} is meant to
4296
replace the need for this option.
4297
4298
@item Order of evaluation of @samp{#} and @samp{##} operators
4292
@item Order of evaluation of @samp{#} and @samp{##} operators
4299
4293
4300
The standard does not specify the order of evaluation of a chain of
4294
The standard does not specify the order of evaluation of a chain of
(-)gcc-4.6.2-orig/gcc/doc/cppopts.texi (-1 lines)
Lines 430-436 Link Here
430
@ifset cppmanual
430
@ifset cppmanual
431
@xref{Search Path}.
431
@xref{Search Path}.
432
@end ifset
432
@end ifset
433
This option has been deprecated.
434
433
435
@item -nostdinc
434
@item -nostdinc
436
@opindex nostdinc
435
@opindex nostdinc
(-)gcc-4.6.2-orig/gcc/doc/g++.1 (-1 lines)
Lines 8598-8604 Link Here
8598
.Sp
8598
.Sp
8599
In addition, \fB\-I\-\fR inhibits the use of the directory of the current
8599
In addition, \fB\-I\-\fR inhibits the use of the directory of the current
8600
file directory as the first search directory for \f(CW\*(C`#include\ "\f(CIfile\f(CW"\*(C'\fR.
8600
file directory as the first search directory for \f(CW\*(C`#include\ "\f(CIfile\f(CW"\*(C'\fR.
8601
This option has been deprecated.
8602
.IP "\fB\-nostdinc\fR" 4
8601
.IP "\fB\-nostdinc\fR" 4
8603
.IX Item "-nostdinc"
8602
.IX Item "-nostdinc"
8604
Do not search the standard system directories for header files.
8603
Do not search the standard system directories for header files.
(-)gcc-4.6.2-orig/gcc/doc/gcc.1 (-3 lines)
Lines 8598-8604 Link Here
8598
.Sp
8598
.Sp
8599
In addition, \fB\-I\-\fR inhibits the use of the directory of the current
8599
In addition, \fB\-I\-\fR inhibits the use of the directory of the current
8600
file directory as the first search directory for \f(CW\*(C`#include\ "\f(CIfile\f(CW"\*(C'\fR.
8600
file directory as the first search directory for \f(CW\*(C`#include\ "\f(CIfile\f(CW"\*(C'\fR.
8601
This option has been deprecated.
8602
.IP "\fB\-nostdinc\fR" 4
8601
.IP "\fB\-nostdinc\fR" 4
8603
.IX Item "-nostdinc"
8602
.IX Item "-nostdinc"
8604
Do not search the standard system directories for header files.
8603
Do not search the standard system directories for header files.
Lines 9243-9250 Link Here
9243
library aspect will not.
9242
library aspect will not.
9244
.IP "\fB\-I\-\fR" 4
9243
.IP "\fB\-I\-\fR" 4
9245
.IX Item "-I-"
9244
.IX Item "-I-"
9246
This option has been deprecated.  Please use \fB\-iquote\fR instead for
9247
\&\fB\-I\fR directories before the \fB\-I\-\fR and remove the \fB\-I\-\fR.
9248
Any directories you specify with \fB\-I\fR options before the \fB\-I\-\fR
9245
Any directories you specify with \fB\-I\fR options before the \fB\-I\-\fR
9249
option are searched only for the case of \fB#include "\fR\fIfile\fR\fB"\fR;
9246
option are searched only for the case of \fB#include "\fR\fIfile\fR\fB"\fR;
9250
they are not searched for \fB#include <\fR\fIfile\fR\fB>\fR.
9247
they are not searched for \fB#include <\fR\fIfile\fR\fB>\fR.
(-)gcc-4.6.2-orig/gcc/doc/gcc.info (-6 / +3 lines)
Lines 8728-8734 Link Here
8728
8728
8729
     In addition, `-I-' inhibits the use of the directory of the current
8729
     In addition, `-I-' inhibits the use of the directory of the current
8730
     file directory as the first search directory for `#include "FILE"'.
8730
     file directory as the first search directory for `#include "FILE"'.
8731
     This option has been deprecated.
8732
8731
8733
`-nostdinc'
8732
`-nostdinc'
8734
     Do not search the standard system directories for header files.
8733
     Do not search the standard system directories for header files.
Lines 9378-9388 Link Here
9378
     the library aspect will not.
9377
     the library aspect will not.
9379
9378
9380
`-I-'
9379
`-I-'
9381
     This option has been deprecated.  Please use `-iquote' instead for
9380
     Any directories you specify with `-I' options before the `-I-'
9382
     `-I' directories before the `-I-' and remove the `-I-'.  Any
9381
     option are searched only for the case of `#include "FILE"'; they
9383
     directories you specify with `-I' options before the `-I-' option
9382
     are not searched for `#include <FILE>'.
9384
     are searched only for the case of `#include "FILE"'; they are not
9385
     searched for `#include <FILE>'.
9386
9383
9387
     If additional directories are specified with `-I' options after
9384
     If additional directories are specified with `-I' options after
9388
     the `-I-', these directories are searched for all `#include'
9385
     the `-I-', these directories are searched for all `#include'
(-)gcc-4.6.2-orig/gcc/doc/invoke.texi (-2 lines)
Lines 9345-9352 Link Here
9345
9345
9346
@item -I-
9346
@item -I-
9347
@opindex I-
9347
@opindex I-
9348
This option has been deprecated.  Please use @option{-iquote} instead for
9349
@option{-I} directories before the @option{-I-} and remove the @option{-I-}.
9350
Any directories you specify with @option{-I} options before the @option{-I-}
9348
Any directories you specify with @option{-I} options before the @option{-I-}
9351
option are searched only for the case of @samp{#include "@var{file}"};
9349
option are searched only for the case of @samp{#include "@var{file}"};
9352
they are not searched for @samp{#include <@var{file}>}.
9350
they are not searched for @samp{#include <@var{file}>}.

Return to bug 19541