From stdcxx-dev-return-3217-apmail-incubator-stdcxx-dev-archive=incubator.apache.org@incubator.apache.org Mon Apr 16 16:22:28 2007 Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 42704 invoked from network); 16 Apr 2007 16:22:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Apr 2007 16:22:28 -0000 Received: (qmail 27420 invoked by uid 500); 16 Apr 2007 16:22:34 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 27405 invoked by uid 500); 16 Apr 2007 16:22:34 -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 27394 invoked by uid 99); 16 Apr 2007 16:22:34 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2007 09:22:34 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of Farid_Zaripov@epam.com designates 217.21.63.3 as permitted sender) Received: from [217.21.63.3] (HELO EPMSA009.epam.com) (217.21.63.3) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2007 09:22:26 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Building stdcxx with EDG eccp Date: Mon, 16 Apr 2007 19:21:23 +0300 Message-ID: <7BDB2168BEAEF14C98F1901FD2DE64386C6748@epmsa009.minsk.epam.com> In-Reply-To: <462374CE.9040401@roguewave.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Building stdcxx with EDG eccp Thread-Index: AceAKHhCRYgkt20tSQ6bBIPaNOhkOgAGGHZw References: <7BDB2168BEAEF14C98F1901FD2DE64386C6578@epmsa009.minsk.epam.com> <462374CE.9040401@roguewave.com> From: "Farid Zaripov" To: X-Virus-Checked: Checked by ClamAV on apache.org > -----Original Message----- > From: Martin Sebor [mailto:msebor@gmail.com]=20 > Sent: Monday, April 16, 2007 4:06 PM > To: stdcxx-dev@incubator.apache.org > Subject: Re: Building stdcxx with EDG eccp >=20 > Farid Zaripov wrote: > > I've tried to build stdcxx with EDG eccp in two=20 > configurations: 15d=20 > > and 15s. The both build was failed. > > =20 > [...] > > The second command line: make BUILDTYPE=3D15s=20 > > BUILDDIR=3D/usr/tmp/stdcxx-eccp-15s CONFIG=3Deccp.config=20 > >eccp15s.log 2>&1 > > The second build log is here: > > http://people.apache.org/~faridz/eccp15s.log >=20 > "/usr/src/stdcxx/include/string", line 1553: error #29:=20 > expected an expression > #if _RWSTD_INSTANTIATE (_BASIC_STRING, _WCHAR_T) > ^ >=20 > This in an odd error, one I don't think I've seen before with=20 > eccp. I suggests there's something wrong at the time the=20 > header is preprocessed, which is unusual because most of the=20 > preprocessor code paths are usually exercised on some platform(s). Yes. This error happens due to failed many of tests at configure step. The eccp in strict mode (with -A or --strict option specified) fails to compile the code which is use the GCC extensions, i.e. __builtin_xxx functions (__builtin_fabs() and other) are used in . Also eccp uses the name __is_pod as internal pseudo-function, but this name used in /usr/local/include/c++/4.0.2/bits/cpp_type_traits.h. As a result I got the error: error #40: expected an identifier. Farid.