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

Argiris Kirtzidis akyrtzi at gmail.com
Wed Oct 8 17:58:12 PDT 2008


BTW, here is the relevant bug report: 
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2288

> *Opened:* 2001-03-14

Hmm.. that doesn't look good :-)

-Argiris


Jay Freeman (saurik) wrote:
> 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 
>>     
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>   



More information about the llvm-dev mailing list