Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 26239 invoked from network); 25 Oct 2005 14:51:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Oct 2005 14:51:10 -0000 Received: (qmail 4136 invoked by uid 500); 25 Oct 2005 14:51:10 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 4093 invoked by uid 500); 25 Oct 2005 14:51:10 -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 4070 invoked by uid 99); 25 Oct 2005 14:51:09 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Oct 2005 07:51:09 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of AntonP@moscow.vdiweb.com designates 195.210.189.132 as permitted sender) Received: from [195.210.189.132] (HELO mail.moscow.vdiweb.com) (195.210.189.132) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Oct 2005 07:51:07 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Localization\22.locale.num.get test compilation problem on VC7.1 Date: Tue, 25 Oct 2005 18:50:44 +0400 Message-ID: <4D6A8407B7AC6F4D95B0E55C4E7C4C6202C0E982@exmsk.moscow.vdiweb.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Localization\22.locale.num.get test compilation problem on VC7.1 thread-index: AcXZc3pW0vIGBUWcRjKyMkVe78ZIBQ== From: "Anton Pevtsov" To: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N There is a problem in the localization\22.locale.num.get.cpp (line 1578) : # ifndef _MSC_VER # define ULL(number) number ## ULL # else // if defined (_MSC_VER) // MSVC 7.0 doesn't recognize the LL suffix # define LL(number) number ## UI64 # endif // _MSC_VER TEST (T, ULL ( 0), "0", 1, 0, Eof); TEST (T, ULL ( 0), "+0", 2, 0, Eof); TEST (T, ULL ( 0), "-0", 2, 0, Eof); TEST (T, ULL ( 1), "+1", 2, 0, Eof); TEST (T, ULL ( 1080), "1080", 4, 0, Eof); TEST (T, ULL (18446744073709551615), "18446744073709551615", 20, 0, Eof); So, if _MSC_VER is defined then ULL becomes undefined. Maybe, here=20 // MSVC 7.0 doesn't recognize the LL suffix # define LL(number) number ## UI64 instead of "LL" should be "ULL" : // MSVC 7.0 doesn't recognize the ULL suffix # define ULL(number) number ## UI64 ? With best wishes, Anton Pevtsov.