OSDN Git Service

* cpperror.c (print_location): Don't special case <stdin>.
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 8 Apr 2001 10:01:18 +0000 (10:01 +0000)
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 8 Apr 2001 10:01:18 +0000 (10:01 +0000)
commit2ef5e3d3df648d049e0eb578a6bab384c767139e
tree1f4ac5b16223e9ffcc027d3568d6d791ee3a30c7
parent61ad75b2e4fe186da295448a98d988a2b1d824f2
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41186 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cpperror.c
gcc/cpphash.h
gcc/cpplib.c