From stdcxx-user-return-186-apmail-incubator-stdcxx-user-archive=incubator.apache.org@incubator.apache.org Wed Jan 03 18:18:35 2007 Return-Path: Delivered-To: apmail-incubator-stdcxx-user-archive@www.apache.org Received: (qmail 96824 invoked from network); 3 Jan 2007 18:18:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Jan 2007 18:18:35 -0000 Received: (qmail 97434 invoked by uid 500); 3 Jan 2007 18:18:41 -0000 Delivered-To: apmail-incubator-stdcxx-user-archive@incubator.apache.org Received: (qmail 97422 invoked by uid 500); 3 Jan 2007 18:18:41 -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 97411 invoked by uid 99); 3 Jan 2007 18:18:41 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jan 2007 10:18:41 -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; Wed, 03 Jan 2007 10:18:31 -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 l03II6b2014480 for ; Wed, 3 Jan 2007 18:18:06 GMT Received: from [192.168.1.101] ([10.70.10.26]) by qxvcexch01.ad.quovadx.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 3 Jan 2007 11:17:44 -0700 Message-ID: <459BF30C.7000609@roguewave.com> Date: Wed, 03 Jan 2007 11:16:44 -0700 From: Martin Sebor User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9) Gecko/20061211 SeaMonkey/1.0.7 MIME-Version: 1.0 To: stdcxx-user@incubator.apache.org Subject: Re: error LNK2005 : VC8 References: <034e01c72f28$5530d750$c001a8c0@jacquard> <459BDEF3.3000009@roguewave.com> <03e201c72f58$4c1c5060$c001a8c0@jacquard> <459BE9DA.3080600@roguewave.com> In-Reply-To: <459BE9DA.3080600@roguewave.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 03 Jan 2007 18:17:45.0056 (UTC) FILETIME=[77257600:01C72F63] X-Virus-Checked: Checked by ClamAV on apache.org Martin Sebor wrote: > Nadine Faizant wrote: >> >> No is is a debug dynamic link (that the reason why I need a .lib >> file...) > > So Graph.lib is an archive library that uses/links with stdcxx, > correct? Does Graph.lib link against the stdcxx DLL or archive? > (The latter could be a likely cause of the problem.) Okay, Graph is a DLL that uses the same stdcxx DLL as the DLL that gives the errors (SyntacticAnalysis.dll). Since the error is issued for a couple of third party libraries (i.e., not stdcxx) I suspect it's a usage problem as opposed to one with stdcxx itself. Does either of the object files mentioned in the error message by any chance explicitly instantiate deque? I think you'll need to some some digging into the object files (using dumpbin) to figure how the conflicting symbols are defined (they're all inline functions so it's puzzling that they should cause conflicts; we don't normally do 15d builds during our testing so you might want to try a 12d build instead -- that should optimize away inline functions). I would look for other inline member functions of class templates to see whether there is any difference. I'm in the process of moving my office so I won't be able to look into this in more detail until I'm done. Martin