2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 Apr 2001 06:16:38 +0000 (06:16 +0000)
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 Apr 2001 06:16:38 +0000 (06:16 +0000)
* lang-specs.h: Add __GXX_DEPRECATED.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41141 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/cp/lang-specs.h

index 1803a0d..0519232 100644 (file)
@@ -1,3 +1,7 @@
+2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * lang-specs.h: Add __GXX_DEPRECATED.
+
 Thu Apr  5 16:54:29 2001  J"orn Rennecke <amylaar@redhat.com>
 
        * search.c (get_dynamic_cast_base_type): When building a new
index 55c1f74..ca49172 100644 (file)
@@ -36,12 +36,14 @@ Boston, MA 02111-1307, USA.  */
    /* cc1plus has an integrated ISO C preprocessor.  We should invoke
       the external preprocessor if -save-temps is given.  */
     "%{E|M|MM:cpp0 -lang-c++ -D_GNU_SOURCE %{!no-gcc:-D__GNUG__=%v1}\
+       %{!Wno-deprecated:-D__GXX_DEPRECATED}\
        %{!fno-exceptions:-D__EXCEPTIONS}\
        %{!fno-new-abi:-D__GXX_ABI_VERSION=100}\
        %{ansi:-D__STRICT_ANSI__ -trigraphs -$} %(cpp_options)}\
      %{!E:%{!M:%{!MM:\
        %{save-temps:cpp0 -lang-c++ -D_GNU_SOURCE \
                    %{!no-gcc:-D__GNUG__=%v1}\
+                           %{!Wno-deprecated:-D__GXX_DEPRECATED}\
                    %{!fno-exceptions:-D__EXCEPTIONS}\
                    %{!fno-new-abi:-D__GXX_ABI_VERSION=100}\
                    %{ansi:-D__STRICT_ANSI__ -trigraphs -$}\
@@ -49,6 +51,7 @@ Boston, MA 02111-1307, USA.  */
       cc1plus %{save-temps:-fpreprocessed %b.ii}\
               %{!save-temps:%(cpp_options)\
                            %{!no-gcc:-D__GNUG__=%v1} -D_GNU_SOURCE \
+                                   %{!Wno-deprecated:-D__GXX_DEPRECATED}\
                            %{!fno-exceptions:-D__EXCEPTIONS}\
                            %{!fno-new-abi:-D__GXX_ABI_VERSION=100}\
                            %{ansi:-D__STRICT_ANSI__}}\