From stdcxx-user-return-189-apmail-incubator-stdcxx-user-archive=incubator.apache.org@incubator.apache.org Mon Jan 15 20:04:52 2007 Return-Path: Delivered-To: apmail-incubator-stdcxx-user-archive@www.apache.org Received: (qmail 94749 invoked from network); 15 Jan 2007 20:04:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Jan 2007 20:04:51 -0000 Received: (qmail 59703 invoked by uid 500); 15 Jan 2007 20:04:58 -0000 Delivered-To: apmail-incubator-stdcxx-user-archive@incubator.apache.org Received: (qmail 59664 invoked by uid 500); 15 Jan 2007 20:04:58 -0000 Mailing-List: contact stdcxx-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-user@incubator.apache.org Delivered-To: mailing list stdcxx-user@incubator.apache.org Received: (qmail 59653 invoked by uid 99); 15 Jan 2007 20:04:57 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jan 2007 12:04:57 -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; Mon, 15 Jan 2007 12:04:48 -0800 Received: from qxvcexch01.ad.quovadx.com (qxvcexch01.ad.quovadx.com [192.168.170.59]) by moroha.quovadx.com (8.13.6/8.13.6) with ESMTP id l0FK4OqL002871; Mon, 15 Jan 2007 20:04:25 GMT Received: from [10.70.3.113] ([10.70.3.113]) by qxvcexch01.ad.quovadx.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 15 Jan 2007 13:04:02 -0700 Message-ID: <45ABDE7A.4000501@roguewave.com> Date: Mon, 15 Jan 2007 13:05:14 -0700 From: Martin Sebor Reply-To: stdcxx-user@incubator.apache.org Organization: Rogue Wave Software User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060417 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Muller CC: stdcxx-user@incubator.apache.org Subject: Re: question: stdcxx, architectural References: <449a3d8d0701150646oa31c151ra98e2f484afda721@mail.gmail.com> In-Reply-To: <449a3d8d0701150646oa31c151ra98e2f484afda721@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 15 Jan 2007 20:04:03.0379 (UTC) FILETIME=[4DE15030:01C738E0] X-Virus-Checked: Checked by ClamAV on apache.org Muller wrote: > Hi Martin, > > > > First I've tried to integrate stdcxx in a project on Windows and found > it includes some headers from MSVC's STL it is intended to replace. More > so, on *nix system it acts almost the same. At least I've checked > dependencies and found that my project links with both stdcxx and > system's default library. I've used the release published on incubator > and made no changes to source code, just ran the configurator scripts > (generated both 11d and 15d). So, to round it off, please tell me if > this is an expected behaviour (i.e. system-dependent STL must be present > and is included) or there are some issues with scripts (therefore wrong > include paths are used). Apache stdcxx is an implementation of the C++ Standard Library, i.e., it's an alternative to the "native" implementation that comes with the C++ compiler. All conforming implementations of the C++ Standard Library are required to provide the same set of public headers (such as or ). The headers implement the same set of symbols (functions, classes, templates, etc.) but typically in a different and incompatible way. The upshot is that programs that mix symbols from two (or more) implementations run into problems either at link time or (worse) at runtime. If you want to use stdcxx in your program (or any libraries it links with) you must use it exclusively without relying on the native implementation (directly or otherwise). Avoiding linking with the native implementation of the library usually requires a special compiler option or two. To see what options we use with the compilers we certify in our nightly builds follow the first link in the State column on the following page: http://people.apache.org/~sebor/stdcxx/results/ Martin PS Please reply to stdcxx-user@incubator.apache.org.