Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TNjFE-0006gu-Px for pgsql-hackers@postgresql.org; Mon, 15 Oct 2012 11:54:04 +0000 Received: from mail-qa0-f53.google.com ([209.85.216.53]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TNjF7-0000u3-Iy for pgsql-hackers@postgresql.org; Mon, 15 Oct 2012 11:54:03 +0000 Received: by mail-qa0-f53.google.com with SMTP id s11so1151987qaa.19 for ; Mon, 15 Oct 2012 04:53:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent :x-gm-message-state; bh=p5/RwkyDQ4Epd7Rp6oRopWN+byWkINZCfbYkGdOTYg8=; b=NmyTW/TFOZ0xVb2URHx4op9NcsrMDZPmkKhqOl2k6GX0UaYtkpSzRlK3b5nuTyGz7J WtB/9HMsmr03l64puO7Ql5FmSS7kI/vWSSHIAgtlx3/bzrJvg1t35xlsCjYJ+txs6vn+ e7dZWOadQBE5ycjReMJpuof0jhab3EdxRC0q63EhylWImoZganB+jK52zmmWFdLvJGJA w1N7Zdty2U18sc4D3qb1iMmpeGNjp1JjV1vY8H5hLt9IqZDlZd18jaOjsMDgktxUqrYe GmFdM8ZTM5QZnml8thVxwL+6L89WlbpMIJRQ90gbWOZj5B5Cc+BLLsnD1Sk6CTzmLTFl engA== Received: by 10.224.218.131 with SMTP id hq3mr20116466qab.60.1350302035902; Mon, 15 Oct 2012 04:53:55 -0700 (PDT) Received: from tornado.leadboat.com (ip68-105-236-221.hr.hr.cox.net. [68.105.236.221]) by mx.google.com with ESMTPS id dj6sm4437692qab.3.2012.10.15.04.53.53 (version=SSLv3 cipher=OTHER); Mon, 15 Oct 2012 04:53:54 -0700 (PDT) Date: Mon, 15 Oct 2012 07:53:51 -0400 From: Noah Misch To: Brar Piening Cc: Heikki Linnakangas , Magnus Hagander , pgsql-hackers Subject: Re: Visual Studio 2012 RC Message-ID: <20121015115351.GC4627@tornado.leadboat.com> References: <4FCA84F6.5090706@gmx.de> <4FD3F553.9060105@gmx.de> <4FEB0D39.6080108@enterprisedb.com> <50526BA6.3030103@gmx.de> <20121002011201.GC30396@tornado.leadboat.com> <507B2B0A.2030506@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <507B2B0A.2030506@gmx.de> User-Agent: Mutt/1.5.18 (2008-05-17) X-Gm-Message-State: ALoCoQnV4TbQgkXrQBTNcuFf0Wjj3A9cMBVgFsqkZVz5vryDpXh8Eo497bDZZ/1vyhyUZwR09VyG X-Pg-Spam-Score: -2.6 (--) X-Archive-Number: 201210/833 X-Sequence-Number: 215069 On Sun, Oct 14, 2012 at 11:13:46PM +0200, Brar Piening wrote: > Noah Misch wrote: >> Since SDK version 7.1 is named as the "latest supported version", I understand >> from that text that installing SDK version 8.0a along with compilers from >> another source (VS 2012 full, VS 2012 Express for Desktop) is considered >> "unsupported" as a PostgreSQL build environment. Is that your intent? > No, not really. > What I want to say is that you'll need the SDK to build postgres. > Using a Visual Studio version that ships with a supported SDK version > (full versions of VS 2005 to 2010 as well as any version of VS 2012) > will work. > On the other hand standalone SDK versions that ship with compilers will > also work. > The major gotcha here is the fact that old sdk versions ship without > compilers and old VS Express versions ship without SDK and you'll need > both to build. Thanks for clarifying. On Sun, Oct 14, 2012 at 11:34:54PM +0200, Brar Piening wrote: > Noah Misch wrote: >> I decided to try a 32-bit build, but Solution::DeterminePlatform >> detected it as x64. Its shibboleth is no longer valid; the cl.exe shipping >> with VS 2012 Express for Desktop has a /favor option for both architectures: >> >> 32clhelp:/favor: select processor to optimize for, one of: >> 64clhelp:/favor: select processor to optimize for, one of: >> >> Overlaying the first attached change fixed detection for this particular >> compiler, but I have not checked compatibility with older versions. Do you >> have VS 2008 and/or VS 2010 handy? > Older compilers work fine but localized ones will probably cause trouble > (for -> f?r in german). > I've decided to change the regex to "/^\/favor:<.+AMD64/" in my current > version of the patch as this is not very likely to appear in a 32-bit > environment and will not be subject ot localization problems. Good call. The only matter still requiring attention is a fix for IsoLocaleName().