pingus-devel
[Top][All Lists]
Advanced

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

Re: Intentional code?


From: David Philippi
Subject: Re: Intentional code?
Date: Fri, 11 Oct 2002 18:00:35 +0200
User-agent: KMail/1.4.1

On Friday 11 October 2002 17:17, Neil Hotmail wrote:
> is the ; after the "if" intentional? does this section not just equate to:
> std::cout << "XMLPLF: Use Old Pos Handling: " << use_old_pos_handling <<
> std::endl;

BTW that's exactly what's coming out of it. Since opening a scope is possible 
at any point it's valid code and g++ doesn't issue a warning for empty if's.
Therefore it may be a good idea to compile with as many warnings as possible 
in VC++, maybe this will find other problems.

Bye David





reply via email to

[Prev in Thread] Current Thread [Next in Thread]