mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-25 10:05:40 +08:00
* objc/deprecated/objc_error.h: New file. * objc/objc-api.h: Include deprecated/objc_error.h instead of defining objc_error and related. * error.c: New file. Added _objc_abort function which replaces objc_error. No change in functionality as they both print an error and abort. * misc.c: File removed. Code moved into memory.c and error.c. * memory.c: New file. * objc-private/error.h: New file. * archive.c: Include objc-private/error.h and use _objc_abort instead of objc_error everywhere. * class.c: Same change. * encoding.c: Same change. * init.c: Same change, and simplified init_check_module_version. * memory.c: Same change. * sendmsg.c: Same change. * thr.c: Same change. * Makefile.in (OBJ_DEPRECATED_H): Added objc_error.h. (OBJ_H): Reordered list. (OBJS): Removed misc.lo, added memory.lo and error.lo. (OBJS_GC): Removed misc_gc.lo, added memory_gc.lo and error_gc.lo. (misc_gc.lo): Rule removed. (error_gc.lo): Rule added. (memory_gc.lo): Rule added. From-SVN: r164223 |
||
---|---|---|
.. | ||
MetaClass.h | ||
objc_error.h | ||
objc_unexpected_exception.h | ||
Object.h | ||
README | ||
STR.h | ||
struct_objc_class.h | ||
struct_objc_protocol.h | ||
struct_objc_selector.h | ||
typedstream.h |
This directory contains declarations and features that are deprecated and that will be removed in future versions of the compiler. Note that files in this directory are not really usable headers on their own - they shouldn't be included directly by end users. They are header fragments containing deprecated APIs that are still included (until removed) from the real headers in objc/. Files in this directory should not #include any other objc header. Any include that they need should be done in the real objc/ headers before including these fragments.