+2004-06-07 Mark Mitchell <mark@codesourcery.com>
+
+ PR c++/15815
+ * doc/extend.texi: Deprecate #pragma interface and #pragma
+ implementation.
+
2004-06-07 Alexandre Oliva <aoliva@redhat.com>
PR middle-end/15666
+2004-06-07 Mark Mitchell <mark@codesourcery.com>
+
+ PR c++/15815
+ * lex.c (handle_pragma_interface): Deprecate.
+ (handle_pragma_implementation): Likewise.
+
2004-06-07 Mark Mitchell <mark@codesourcery.com>
PR c++/15766
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)
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;
@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
@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}.