OSDN Git Service

* cpplib.h (struct cpp_options): Add warn_deprecated field.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Jan 2003 19:30:00 +0000 (19:30 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Jan 2003 19:30:00 +0000 (19:30 +0000)
commit922df7274cc783f696481502ae49f7d44a671400
treee935857a003fa751109e2bb1c411f1ff70dd7772
parenta576091379944a53645cd7d227d784dce94ba8d0
    * cpplib.h (struct cpp_options): Add warn_deprecated field.
        * cppinit.c (cpp_create_reader): Turn it on by default.
        * c-opts.c (c_common_decode_option): Set it.
        * cpplib.c (do_pragma_once): Only complain about #pragma once
        if warn_deprecated is set.

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