From patchwork Fri Dec 10 09:57:54 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicola Pero X-Patchwork-Id: 75073 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id E6B66B6ED0 for ; Fri, 10 Dec 2010 22:26:21 +1100 (EST) Received: (qmail 1760 invoked by alias); 10 Dec 2010 09:58:38 -0000 Received: (qmail 1564 invoked by uid 22791); 10 Dec 2010 09:58:28 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (140.186.70.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 10 Dec 2010 09:58:09 +0000 Received: from eggs.gnu.org ([140.186.70.92]:40496) by fencepost.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1PQzje-00049b-6F for gcc-patches@gnu.org; Fri, 10 Dec 2010 04:57:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PQzjf-0006hA-P3 for gcc-patches@gnu.org; Fri, 10 Dec 2010 04:57:56 -0500 Received: from smtp201.iad.emailsrvr.com ([207.97.245.201]:59791) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PQzjf-0006gv-MY for gcc-patches@gnu.org; Fri, 10 Dec 2010 04:57:55 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp40.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id 1CB27350395 for ; Fri, 10 Dec 2010 04:57:55 -0500 (EST) Received: from dynamic9.wm-web.iad.mlsrvr.com (dynamic9.wm-web.iad1a.rsapps.net [192.168.2.216]) by smtp40.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id 0C1F8350192 for ; Fri, 10 Dec 2010 04:57:54 -0500 (EST) Received: from meta-innovation.com (localhost [127.0.0.1]) by dynamic9.wm-web.iad.mlsrvr.com (Postfix) with ESMTP id DEB56320088 for ; Fri, 10 Dec 2010 04:57:54 -0500 (EST) Received: by www2.webmail.us (Authenticated sender: nicola.pero@meta-innovation.com, from: nicola.pero@meta-innovation.com) with HTTP; Fri, 10 Dec 2010 10:57:54 +0100 (CET) Date: Fri, 10 Dec 2010 10:57:54 +0100 (CET) Subject: ObjC doc: add class extensions to the release notes From: "Nicola Pero" To: "gcc-patches@gnu.org" MIME-Version: 1.0 X-Type: plain Message-ID: <1291975074.910926542@192.168.2.227> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org This patch documents in the release notes that GCC 4.6 supports Objective-C class extensions. Ok to commit ? Thanks Index: changes.html =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.6/changes.html,v retrieving revision 1.74 diff -u -r1.74 changes.html --- changes.html 8 Dec 2010 23:04:01 -0000 1.74 +++ changes.html 10 Dec 2010 09:54:57 -0000 @@ -452,6 +452,16 @@ both in Objective-C and Objective-C++. Currently the only supported attribute is deprecated. +
  • Objective-C 2.0 class extensions are supported both in + Objective-C and Objective-C++. A class extension has the same + syntax as a category declaration with no category name, and the + methods and properties declared in it are added directly to the + main class. It is mostly used as an alternative to a category to + add methods to a class without advertising them in the public + headers, with the advantage that for class extensions the compiler + checks that all the privately declared methods are actually + implemented.
  • +
  • As a result of these enhancements, GCC can now be used to build Objective-C and Objective-C++ software that uses Foundation and other important system frameworks with the NeXT runtime on