(do_include): Diagnose #import and #include_next if pedantic and if not in a system...
authorRichard Kenner <kenner@gcc.gnu.org>
Sun, 13 Apr 1997 18:30:13 +0000 (14:30 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Sun, 13 Apr 1997 18:30:13 +0000 (14:30 -0400)
commitcfb3ee16db4fc9138f2df3524c32c580bb505460
tree5fea26b882fbfca80ad8463d09355f8519f060e7
parent31418d3513edce4366a45f622701fbc858c3dad8
(do_include): Diagnose #import and #include_next if pedantic and if not in a system header.

(do_include): Diagnose #import and #include_next if pedantic and if
not in a system header.
(do_warning): #warning now causes an error if -pedantic-errors is
given; this is needed since #warning isn't ANSI.

From-SVN: r13887
gcc/cccp.c
gcc/cpplib.c