Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 10879 invoked from network); 21 Feb 2007 01:37:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Feb 2007 01:37:42 -0000 Received: (qmail 39711 invoked by uid 500); 21 Feb 2007 01:37:50 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 39691 invoked by uid 500); 21 Feb 2007 01:37:50 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 39680 invoked by uid 99); 21 Feb 2007 01:37:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Feb 2007 17:37:50 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [208.30.140.160] (HELO moroha.quovadx.com) (208.30.140.160) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Feb 2007 17:37:39 -0800 Received: from qxvcexch01.ad.quovadx.com ([192.168.170.59]) by moroha.quovadx.com (8.13.6/8.13.6) with ESMTP id l1L1b54o028920 for ; Wed, 21 Feb 2007 01:37:06 GMT Received: from [10.70.3.113] ([10.70.3.113]) by qxvcexch01.ad.quovadx.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 20 Feb 2007 18:37:02 -0700 Message-ID: <45DBA1F8.4030708@roguewave.com> Date: Tue, 20 Feb 2007 18:35:52 -0700 From: Martin Sebor Organization: Rogue Wave Software User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.2pre) Gecko/20070111 SeaMonkey/1.1 MIME-Version: 1.0 To: stdcxx-dev@incubator.apache.org Subject: Re: [PATCH] rw_sigdefs.h References: <45DB8E3F.1080805@kyiv.vdiweb.com> In-Reply-To: <45DB8E3F.1080805@kyiv.vdiweb.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 21 Feb 2007 01:37:02.0632 (UTC) FILETIME=[C9506280:01C75558] X-Virus-Checked: Checked by ClamAV on apache.org Farid Zaripov wrote: > ChangeLog: > * rw_sigdefs.h: New file with definitions of helpers macros > to define member and non-member functions overload id's > * 21.strings.h: Helper macros moved from here to rw_sigdefs.h > > The patch is attached. I see what you did: you #define the macros if they're not defined yet and #undefine them otherwise -- very tricky! ;-) Some compilers (typically those that implement separate compilation) tend to be finicky about macros that are used in header and especially .cc files (in template definitions) being undefined too early but I think what you did should work since there are no templates or .cc files involved here. Martin