On 04/09/2011 06:46 PM, Julien Rioux wrote:
I always saw those two warnings (paraphrased):
Lexer.cpp:197 <anonymous> may be used uninitialized
Server.cpp:1018 ignoring return value of write(...)

The Lexer one has been there forever. I'm not sure why we get it, and I'm certainly not sure why removing the anonymous namespace would suppress it. Maybe Andre could enlighten us.

On the second one, it looks as it it probably is worth checking the return value and writing the error message if it's bad. There are other ways to deal with such warnings, if you don't really care about the return value, but I'm not remembering what they are.

Richard

Reply via email to