[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: Win32 Port of Safari
From:       Lars Knoll <lars () trolltech ! com>
Date:       2003-01-10 9:50:36
[Download RAW message or body]


> Yup. Hit this twice. Each time I took moved the variable declaration out of
> the for initalization.

There's a better way:

#define for if(0){}else for

gives you correct scoping on VC++. 

Cheers,
Lars

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic