Return-Path: Delivered-To: apmail-httpd-apreq-dev-archive@www.apache.org Received: (qmail 84349 invoked from network); 6 Feb 2005 18:56:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 6 Feb 2005 18:56:42 -0000 Received: (qmail 22669 invoked by uid 500); 6 Feb 2005 18:56:42 -0000 Delivered-To: apmail-httpd-apreq-dev-archive@httpd.apache.org Received: (qmail 22561 invoked by uid 500); 6 Feb 2005 18:56:42 -0000 Mailing-List: contact apreq-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list apreq-dev@httpd.apache.org Received: (qmail 22548 invoked by uid 99); 6 Feb 2005 18:56:41 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from duempel.org (HELO swift.roonstrasse.net) (81.209.165.42) by apache.org (qpsmtpd/0.28) with SMTP; Sun, 06 Feb 2005 10:56:40 -0800 Received: (qmail 14433 invoked by uid 1001); 6 Feb 2005 18:54:35 -0000 Date: Sun, 6 Feb 2005 19:54:35 +0100 From: Max Kellermann To: apreq-dev@httpd.apache.org Subject: deprecated attribute? Message-ID: <20050206185435.GA14386@roonstrasse.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6+20040907i X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I saw there are some compatibility macros in the header files, like apreq_make_table and apreq_make_cookie. What about marking them with the gcc deprecated attribute? (requires prior conversion to inline functions) We could define a macro for that: #if defined(__GNUC__) && __GNUC__ >= 3 && __GNUC_MINOR__ >= 2 #define APREQ_DEPRECATED __attribute__((deprecated)) #else #define APREQ_DEPRECATED #endif Max