[LLVMdev] MS C++ gives error C2371 on this code while (obviously)gcc compiles it fine

Jay Freeman (saurik) saurik at saurik.com
Thu Oct 2 13:11:21 PDT 2008


Fair enough, you win this round. ;P (Which actually makes me happy as that 
makes things a lot more consistent and sensible.) -J

--------------------------------------------------
From: "Argiris Kirtzidis" <akyrtzi at gmail.com>
Sent: Thursday, October 02, 2008 12:32 PM
To: "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu>
Subject: Re: [LLVMdev] MS C++ gives error C2371 on this code	while(obviously)gcccompiles it fine

...
> See 6.4p2: "The rules for conditions apply both to selection-statements
> and to the for and while statements"
...
> -Argiris 




More information about the llvm-dev mailing list