Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 7675 invoked from network); 7 Dec 2006 11:11:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Dec 2006 11:11:58 -0000 Received: (qmail 39079 invoked by uid 500); 7 Dec 2006 11:12:06 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 39063 invoked by uid 500); 7 Dec 2006 11:12:06 -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 39052 invoked by uid 99); 7 Dec 2006 11:12:06 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Dec 2006 03:12:06 -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 [212.82.213.172] (HELO exkiv.kyiv.vdiweb.com) (212.82.213.172) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Dec 2006 03:11:55 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message Subject: RE: duplicate error message in Windows builds MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Thu, 7 Dec 2006 13:12:43 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: duplicate error message in Windows builds Thread-Index: AccZbCKkh0DjgJatQ0O9G7K7joxUPAAfNRxg From: "Farid Zaripov" To: X-Virus-Checked: Checked by ClamAV on apache.org > -----Original Message----- > From: Martin Sebor [mailto:sebor@roguewave.com]=20 > Sent: Wednesday, December 06, 2006 9:23 PM > To: stdcxx-dev@incubator.apache.org > Subject: Re: duplicate error message in Windows builds >=20 > I don't think that's necessary. If dependencies among=20 > projects in the solution are set up correctly the Build=20 > method should be able to compute the number of failed=20 > projects simply by incrementing the counter for each project=20 > one or more whose dependencies it already tried to build and failed. >=20 > Can you tell if our dependencies are set up correctly? Yes. MSVC project system have two way to setup project dependency: "Project Dependencies" and "Project References". I don't know what the difference, except the project dependencies are stored in the solution file (.sln) and project references are stored in the project file (.vcproj). If I create solution with 2 projects (static library with exported function and executable project which is uses that exported function) and setup dependency or reference (or both) then MSVC link the executable with the library implicitly. We have the following dependencies: - .stdlib depends on .configure; - util_exec depends on .configure; - .rwtest, util_localedef, util_locale, all examples projects depends on .stdlib; - .stdcxx_utils depends on util_exec, util_localedef, util_locale; - .stdcxx_examples depends on all examples projects and util_exec; - all tests projects depends on .stdlib and .rwtest; - .stdcxx_tests depends on all tests projects and util_exec; - all locales projects depends on util_localedef; - .stdcxx_locales depends on all locales projects; - all locale tests projects depends on util_exec, util_locale, util_localedef; - .stdcxx_testlocales depends on all locale tests projects. All dependencies established using both project dependencies and project references when possible (MSVC7.0 doesn't support project references; MSVC 7.1 and MSVC 8.0 doesn't support project references in non-C++ projects (.configure, .stdcxx_utils, .stdcxx_examples, .stdcxx_tests, .stdcxx_locales, .stdcxx_testlocales, all locales projects and all locale tests projects); > I think the best way to confirm whether it is or isn't=20 > possible to skip building projects whose dependencies failed=20 > is to create a small toy example solution with a couple of=20 > projects one of which depends on the other and see if=20 > invoking the Build method causes both of them to be build or just one. The example shows that both projects are trying to be build. BTW when single project is built, the all source files are compiled, even if some errors were found in the first compiled source file. I think situation with building the solution with a couple of projects is the same. Farid.