Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 24597 invoked from network); 27 Aug 2007 18:52:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Aug 2007 18:52:40 -0000 Received: (qmail 26767 invoked by uid 500); 27 Aug 2007 18:52:36 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 26757 invoked by uid 500); 27 Aug 2007 18:52:36 -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 26746 invoked by uid 99); 27 Aug 2007 18:52:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Aug 2007 11:52:36 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.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; Mon, 27 Aug 2007 18:52:31 +0000 Received: from qxvcexch01.ad.quovadx.com ([192.168.170.59]) by moroha.quovadx.com (8.13.6/8.13.6) with ESMTP id l7RIq8FU020860 for ; Mon, 27 Aug 2007 18:52:09 GMT Received: from [10.70.3.113] ([10.70.3.113]) by qxvcexch01.ad.quovadx.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 27 Aug 2007 12:51:28 -0600 Message-ID: <46D31D59.2050303@roguewave.com> Date: Mon, 27 Aug 2007 12:52:09 -0600 From: Martin Sebor Organization: Rogue Wave Software, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6) Gecko/20070802 SeaMonkey/1.1.4 MIME-Version: 1.0 To: stdcxx-dev@incubator.apache.org Subject: Re: ATOMIC_OPS.cpp on MSVC8.0-x64 References: <7BDB2168BEAEF14C98F1901FD2DE6438DF4B7D@epmsa009.minsk.epam.com> In-Reply-To: <7BDB2168BEAEF14C98F1901FD2DE6438DF4B7D@epmsa009.minsk.epam.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 27 Aug 2007 18:51:28.0718 (UTC) FILETIME=[46D4C6E0:01C7E8DB] X-Virus-Checked: Checked by ClamAV on apache.org Farid Zaripov wrote: > ATOMIC_OPS.cpp configuration test failed on MSVC8.0-x64 > due to undefined external symbol _InterlockedIncrement. > Because of this _RWSTD_NO_ATOMIC_OPS macro has > been #defined in config.h. > > The InterlockedIncrement() function defined only in Win32 platform > (located in kernel32.dll). At x64 platform this function is declared, > but kernel32.dll doesn't exports this function. The MSVC8 injects > code of the function instead of call (so called intrinsic function). Does Microsoft document that it's illegal to take the address of an intrinsic function as the ATOMIC_OPS.cpp test does? If not, it's a bug in their compiler (we need to work around it, but we should also file it with them). Martin