diff options
author | Nicola Pero <nicola.pero@meta-innovation.com> | 2011-06-03 00:43:14 +0000 |
---|---|---|
committer | Nicola Pero <nicola@gcc.gnu.org> | 2011-06-03 00:43:14 +0000 |
commit | efad6bee02afab785421883079fe2817d636a69b (patch) | |
tree | 020d2e554ecf64a23304f479a6cd272094d0fd06 /gcc | |
parent | ba4a8e3fd478292ebd3527dc232d64e65ab870e4 (diff) | |
download | gcc-efad6bee02afab785421883079fe2817d636a69b.zip gcc-efad6bee02afab785421883079fe2817d636a69b.tar.gz gcc-efad6bee02afab785421883079fe2817d636a69b.tar.bz2 |
In libobjc/: 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/:
2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
* Makefile.in (OBJC_H): Removed typedstream.h.
(OBJC_DEPRECATED_H): Removed typedstream.h.
(C_SOURCE_FILES): Removed archive.c.
(Object.lo): Rule removed.
(Object_gc.lo): Likewise.
(archive.lo): Likewise.
(archive_gc.lo): Likewise.
* objc/deprecated/Object.h ([+streamVersion:], [-read], [-write],
[-awake]): Removed.
Do not include deprecated/typedstream.h.
* Object.m: Removed the same methods.
* archive.c: File removed.
* objc/typedstream.h: File removed.
* objc/deprecated/typedstream.h: File removed.
* libobjc.def (__objc_read_nbyte_uint, __objc_read_nbyte_ulong,
__objc_write_class, __objc_write_object, __objc_write_selector,
objc_close_typed_stream, objc_end_of_typed_stream,
objc_flush_typed_stream, objc_get_stream_class_version,
objc_open_typed_stream, objc_open_typed_stream_for_file,
objc_read_array, objc_read_char, objc_read_int, objc_read_long,
objc_read_object, objc_read_selector, objc_read_short,
objc_read_string, objc_read_type, objc_read_types,
objc_read_unsigned_char, objc_read_unsigned_int,
objc_read_unsigned_long, objc_read_unsigned_short,
objc_write_array, objc_write_char, objc_write_int,
objc_write_long, objc_write_object, objc_write_object_reference,
objc_write_root_object, objc_write_selector, objc_write_short,
objc_write_string, objc_write_string_atomic, objc_write_type,
objc_write_types, objc_write_unsigned_char,
objc_write_unsigned_int, objc_write_unsigned_long,
objc_write_unsigned_short): Removed.
In gcc/testsuite/:
2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
* objc.dg/type-stream-1.m: Test removed.
* objc.dg/headers.m: Do not include typedstream.h.
From-SVN: r174593
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/objc.dg/headers.m | 1 | ||||
-rw-r--r-- | gcc/testsuite/objc.dg/type-stream-1.m | 17 |
3 files changed, 5 insertions, 18 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 3b1c8b9..acbd780 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com> + + * objc.dg/type-stream-1.m: Test removed. + * objc.dg/headers.m: Do not include typedstream.h. + 2011-06-02 Nicola Pero <nicola.pero@meta-innovation.com> * objc.dg/torture/forward-1.m (main): Updated testcase. diff --git a/gcc/testsuite/objc.dg/headers.m b/gcc/testsuite/objc.dg/headers.m index 4c61e1e..20c32d4 100644 --- a/gcc/testsuite/objc.dg/headers.m +++ b/gcc/testsuite/objc.dg/headers.m @@ -27,5 +27,4 @@ #ifndef __NEXT_RUNTIME__ #include <objc/sarray.h> #include <objc/thr.h> -#include <objc/typedstream.h> #endif diff --git a/gcc/testsuite/objc.dg/type-stream-1.m b/gcc/testsuite/objc.dg/type-stream-1.m deleted file mode 100644 index 9f2d509..0000000 --- a/gcc/testsuite/objc.dg/type-stream-1.m +++ /dev/null @@ -1,17 +0,0 @@ -/* { dg-do compile } */ -/* { dg-skip-if "" { *-*-* } { "-fnext-runtime" } { "" } } */ - -/* Test warning for deprecated typedstream functions. These functions - will be removed in the release after 4.6.0, at which point this - testcase can be removed too. - */ - -#include <objc/typedstream.h> - -void dummy (void) -{ - TypedStream* t = objc_open_typed_stream_for_file ("dummy", 0); /* { dg-warning "deprecated" } */ - - objc_write_object (t, nil); /* { dg-warning "deprecated" } */ - objc_read_object (t, NULL); /* { dg-warning "deprecated" } */ -} |