Re: gswitchit compile error



On Sat, 2003-10-04 at 12:51, Adam Olejniczak wrote:
> Jens Bech Madsen wrote:
> 
> >This is another instance of the problem with variables not being
> >declared at the beginning of a block. Move the declaration of optionName
> >to the beginning of the enclosing block and rerun the install.
> >
> >
> >/Jens
> >
> >
> Aye thats did the trick! Thank you! :)
> But as i run in other probelms that I have feeling are coused by the 
> same or similar reasons would you be so ncie to tell why this error occure?
> 
> Would it work with newer compiler?

Yes, gcc 3.0 and up allow declarations to be in other places that the
beginning of a block. I am not familiar with other compilers' behaviour.


/Jens





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]