[cfe-dev] Visual Studio 9 2008 compile error in ASTContext.cpp

Dmitri Gribenko gribozavr at gmail.com
Wed Jun 20 17:51:30 PDT 2012


On Wed, Jun 20, 2012 at 4:33 PM, Manjunath Kudlur <keveman at gmail.com> wrote:
> I am getting the following error when compiling clang with Visual Studio 9
> 2008 (cmake -G "Visual Studio 9 2008"). My git checkout is at [commit
> cea06d26b8f3a2599bba79f7e072b7550de949a7, git-svn-id:
> https://llvm.org/svn/llvm-project/cfe/trunk@158869]. Any one else tried
> seeing this error?

Hi Manjunath,

I don't have VC9 to test.  Does the attached patch fix the build for you?

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-vc9.patch
Type: application/octet-stream
Size: 1139 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120620/37aa9261/attachment.obj>


More information about the cfe-dev mailing list