[cfe-dev] Visual Studio 9 2008 compile error in ASTContext.cpp
Dmitri Gribenko
gribozavr at gmail.com
Wed Jun 20 17:54:50 PDT 2012
On Wed, Jun 20, 2012 at 5:51 PM, Dmitri Gribenko <gribozavr at gmail.com> wrote:
> 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?
Didn't include all files in the diff. Here's the correct one.
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-v2.patch
Type: application/octet-stream
Size: 1812 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120620/1e628bc7/attachment.obj>
More information about the cfe-dev
mailing list