From stdcxx-dev-return-4139-apmail-incubator-stdcxx-dev-archive=incubator.apache.org@incubator.apache.org Thu Aug 02 23:02:47 2007 Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 59008 invoked from network); 2 Aug 2007 23:02:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Aug 2007 23:02:47 -0000 Received: (qmail 11408 invoked by uid 500); 2 Aug 2007 23:02:47 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 11394 invoked by uid 500); 2 Aug 2007 23:02:47 -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 11372 invoked by uid 99); 2 Aug 2007 23:02:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Aug 2007 16:02:47 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.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; Thu, 02 Aug 2007 23:02:23 +0000 Received: from qxvcexch01.ad.quovadx.com ([192.168.170.59]) by moroha.quovadx.com (8.13.6/8.13.6) with ESMTP id l72N2K3J014382 for ; Thu, 2 Aug 2007 23:02:20 GMT Received: from [10.70.3.113] ([10.70.3.113]) by qxvcexch01.ad.quovadx.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 2 Aug 2007 17:02:11 -0600 Message-ID: <46B26298.1010302@roguewave.com> Date: Thu, 02 Aug 2007 17:02:48 -0600 From: Martin Sebor Organization: Rogue Wave Software User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.2) Gecko/20070221 SeaMonkey/1.1.1 MIME-Version: 1.0 To: stdcxx-dev@incubator.apache.org Subject: Re: [PATCH] gencat.cpp (was: RE: svn commit: r555006 - /incubator/stdcxx/trunk/src/catalog.cpp) References: <46B0D305.1010508@epam.com> In-Reply-To: <46B0D305.1010508@epam.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 02 Aug 2007 23:02:11.0589 (UTC) FILETIME=[28C0FB50:01C7D559] X-Virus-Checked: Checked by ClamAV on apache.org This looks good, although it could use a few more comments :) Where does it live? In $TOPDIR/util/? Does the conditional #error cause any problems on UNIX? Would it be safer to implement it on UNIX as well by having it invoke the system gencat utility? Martin Farid Zaripov wrote: > > -----Original Message----- > > From: Martin Sebor [mailto:sebor@roguewave.com] > > Sent: Friday, July 13, 2007 5:53 PM > > To: stdcxx-dev@incubator.apache.org > > Subject: Re: svn commit: r555006 - > > /incubator/stdcxx/trunk/src/catalog.cpp > > > > >> If it does, is the bug easily > > >> reproducible so we can add a test case for it to the bug tracking > > >> database? > > The JIRA issue created: http://issues.apache.org/jira/browse/STDCXX-508 > > > > For the test case the valid catalog should be created > > (.dll file on > > > windows). > > > It's not so easy and platform dependent. Of course we can use > > > generate_catalog () function from 22.locale.messages.cpp test. > > > > That seems like a good approach. We could use it as the first > > step toward providing an easier and portable way to build > > message catalogs on Windows as well as other platforms. A > > portable utility that takes a source file such as > > rwstderr.msg or rwstderr.rc as input and produces a catalog > > from it suitable for the target platform. > > Attached is a new utility for generating the message catalogs on Windows. > > ChangeLog: > * gencat.cpp: New utility for generating the message catalogs on Windows. > > Farid. >