aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2004-06-09 18:34:05 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2004-06-09 18:34:05 +0000
commit0e5b7cfaabe3016b8fdbdb58306797198348aec8 (patch)
tree6cd9dbd8864e82c00b64e338419a2d6787bb0b33 /gcc
parent5162e02a26ed0bc8ba29a5caae71f807f50c8875 (diff)
downloadgcc-0e5b7cfaabe3016b8fdbdb58306797198348aec8.zip
gcc-0e5b7cfaabe3016b8fdbdb58306797198348aec8.tar.gz
gcc-0e5b7cfaabe3016b8fdbdb58306797198348aec8.tar.bz2
revert: re PR c++/15815 (Update #pragma interface and #pragma implementation documentation.)
Revert: PR c++/15815 2004-06-07 Mark Mitchell <mark@codesourcery.com> * doc/extend.texi: Deprecate #pragma interface and #pragma implementation. Revert: PR c++/15815 2004-06-07 Mark Mitchell <mark@codesourcery.com> * lex.c (handle_pragma_interface): Deprecate. (handle_pragma_implementation): Likewise. From-SVN: r82847
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/cp/ChangeLog8
-rw-r--r--gcc/cp/lex.c6
-rw-r--r--gcc/doc/extend.texi6
4 files changed, 16 insertions, 12 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 388a8bb..1184df7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,11 @@
+2004-06-09 Mark Mitchell <mark@codesourcery.com>
+
+ Revert:
+ PR c++/15815
+ 2004-06-07 Mark Mitchell <mark@codesourcery.com>
+ * doc/extend.texi: Deprecate #pragma interface and #pragma
+ implementation.
+
2004-06-09 David S. Miller <davem@nuts.davemloft.net>
* config/sparc/sparc.h (MOVE_RATIO): New definition.
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index c127f60..8699c98 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,11 @@
+2004-06-09 Mark Mitchell <mark@codesourcery.com>
+
+ Revert:
+ PR c++/15815
+ 2004-06-07 Mark Mitchell <mark@codesourcery.com>
+ * lex.c (handle_pragma_interface): Deprecate.
+ (handle_pragma_implementation): Likewise.
+
2004-06-09 Andrew Pinski <pinskia@physics.uc.edu>
* g++spec.c (lang_specific_driver): Remove check for -lm
diff --git a/gcc/cp/lex.c b/gcc/cp/lex.c
index 4dddfdd..d10fa2e 100644
--- a/gcc/cp/lex.c
+++ b/gcc/cp/lex.c
@@ -529,9 +529,6 @@ handle_pragma_interface (cpp_reader* dfile ATTRIBUTE_UNUSED )
struct c_fileinfo *finfo;
const char *main_filename;
- warning ("`#pragma interface' is deprecated and will be removed in a "
- "future version of GCC");
-
if (fname == (tree)-1)
return;
else if (fname == 0)
@@ -574,9 +571,6 @@ handle_pragma_implementation (cpp_reader* dfile ATTRIBUTE_UNUSED )
const char *main_filename;
struct impl_files *ifiles = impl_file_chain;
- warning ("`#pragma implementation' is deprecated and will be removed in a "
- "future version of GCC");
-
if (fname == (tree)-1)
return;
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 7d608df..204c64b 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -7942,9 +7942,6 @@ use of the header file.
@item #pragma interface
@itemx #pragma interface "@var{subdir}/@var{objects}.h"
@kindex #pragma interface
-This @samp{#pragma} has been deprecated and will be removed in a
-future release of GCC.
-
Use this directive in @emph{header files} that define object classes, to save
space in most of the object files that use those classes. Normally,
local copies of certain information (backup copies of inline member
@@ -7965,9 +7962,6 @@ implementation}.
@item #pragma implementation
@itemx #pragma implementation "@var{objects}.h"
@kindex #pragma implementation
-This @samp{#pragma} has been deprecated and will be removed in a
-future release of GCC.
-
Use this pragma in a @emph{main input file}, when you want full output from
included header files to be generated (and made globally visible). The
included header file, in turn, should use @samp{#pragma interface}.