cpperror.c (print_location): Don't special case <stdin>.
commit2f878973cdb605f01778a5bbd67f7459db14b7ff
authorNeil Booth <neil@daikokuya.demon.co.uk>
Sun, 8 Apr 2001 10:01:18 +0000 (8 10:01 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Sun, 8 Apr 2001 10:01:18 +0000 (8 10:01 +0000)
tree1f4ac5b16223e9ffcc027d3568d6d791ee3a30c7
parente542e61832a106a11a0aab3f366d2ba0a3f4ad41
cpperror.c (print_location): Don't special case <stdin>.

* cpperror.c (print_location): Don't special case <stdin>.
(_cpp_begin_message): Handle WARNING_SYSHDR the same as
WARNING, but we don't check if we're in system headers.
* cpplib.h (enum error_type): WARNING_SYSHDR: New.
* cpplib.c (do_warning): Warn in system headers.

From-SVN: r41186
gcc/ChangeLog
gcc/cpperror.c
gcc/cpphash.h
gcc/cpplib.c