aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc/extend.texi
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2004-06-07 19:23:28 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2004-06-07 19:23:28 +0000
commit3743236e9c2259e46bec32221fcad4db67bfb22b (patch)
tree53fcd5455abcec6a3f5c32bdeb98b5eb0867d110 /gcc/doc/extend.texi
parent0b395e1959dcdea573bd9eb19866a522005b0494 (diff)
downloadgcc-3743236e9c2259e46bec32221fcad4db67bfb22b.zip
gcc-3743236e9c2259e46bec32221fcad4db67bfb22b.tar.gz
gcc-3743236e9c2259e46bec32221fcad4db67bfb22b.tar.bz2
re PR c++/15815 (Update #pragma interface and #pragma implementation documentation.)
PR c++/15815 * lex.c (handle_pragma_interface): Deprecate. (handle_pragma_implementation): Likewise. PR c++/15815 * doc/extend.texi: Deprecate #pragma interface and #pragma implementation. From-SVN: r82712
Diffstat (limited to 'gcc/doc/extend.texi')
-rw-r--r--gcc/doc/extend.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 204c64b..7d608df 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -7942,6 +7942,9 @@ 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
@@ -7962,6 +7965,9 @@ 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}.