Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 5364 invoked from network); 16 Aug 2006 15:20:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Aug 2006 15:20:46 -0000 Received: (qmail 65294 invoked by uid 500); 16 Aug 2006 15:20:45 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 65285 invoked by uid 500); 16 Aug 2006 15:20:45 -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 65274 invoked by uid 99); 16 Aug 2006 15:20:45 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Aug 2006 08:20:45 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.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; Wed, 16 Aug 2006 08:20:44 -0700 Content-class: urn:content-classes:message Subject: [PING] FW: [PATCH] Windows infrastructure for generating VisualStudio projects and solution(s) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Wed, 16 Aug 2006 18:20:41 +0300 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PING] FW: [PATCH] Windows infrastructure for generating VisualStudio projects and solution(s) Thread-Index: Aca8GNc9nPv40WTYQ+my7lnhpI03iQBC801AAQilZCA= From: "Farid Zaripov" To: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N -----Original Message----- From: Farid Zaripov [mailto:FaridZ@kyiv.vdiweb.com]=20 Sent: Friday, August 11, 2006 2:31 PM To: stdcxx-dev@incubator.apache.org Subject: RE: [PATCH] Windows infrastructure for generating VisualStudio projects and solution(s) > -----Original Message----- > From: Martin Sebor [mailto:sebor@roguewave.com] > Sent: Thursday, August 10, 2006 4:03 AM > To: stdcxx-dev@incubator.apache.org > Subject: Re: [PATCH] Windows infrastructure for generating=20 > VisualStudio projects and solution(s) >=20 I'll make the all proposed changes. Also I propose to turn on the option /Zc:forScope. This option is present in MSVC 7.0 and later versions (ICC 9.0 and later has this options too) and is off by default. -------------------- /Zc:forScope (Force Conformance in for Loop Scope) Use /Zc:forScope if you want standard C++ behavior for for loops with Microsoft extensions (/Ze). Standard behavior is to let a for loop's initializer go out of scope after the for loop. Under /Ze, the for loop's initializer remains in scope until the local scope ends. -------------------- And another option: /Zc:wchar_t: -------------------- /Zc:wchar_t (wchar_t Is Native Type) If /Zc:wchar_t is not specified, the compiler requires you to either define wchar_t or to include one of the many header files that defines it (for example, wchar.h). Typically, wchar_t is defined as an unsigned short. When the /Zc:wchar_t compiler option is specified, the type wchar_t becomes a native type that maps to __wchar_t in the same way that short maps to __int16. With /Zc:wchar_t, the compiler recognizes wchar_t as a native type. -------------------- When I link the my project (compiled with this option turned on) with stdcxx library I got the linker errors "unresolved external symbol "... ..."". I propose to add the parameter WCHAR_T:yes/no to the generate.wsf script and generate the solution projects with option /Zc:wchar_t turned on or off depending on the WCHAR_T parameter. Farid.