Odds in compiling

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #550
    fasmotol
    Participant

    vs10+visualddk 1.5.7:
    i don’t know why, but ddk compiler says that any ‘for’ cycles like that are wrong:

    
    for (ULONG i=0; i<20; i++) {}
    

    (No matter what type is var i, it writes that should put ';' before 'ULONG');

    However if i use already declared var it raises no problem:

    
    ULONG i=0;
    for(; i<20; i++){}
    

    Syntax analyser of vs itself says that everything is ok, but ddk compiler says it's not.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.