> 
> For my company, when I first joined, the Idea of compiled with -Werror (or 
> the equiv on VC++) was so far down the road, that I thought it would never be 
> possible.  We had close to 5000 warnings between windows and linux.

Lucky man, i once worked in a project where we had 70000 warnings after we 
decided to remove the disable warnings which were scattered all over the place. 
some used #pragma disable warning,
Other used  vcproj settings. Some even  did it in headers so the disabling 
spread everywhere. We then introduced a disable_warnings.h , which we defined 
to be the only place to disable warnings. so the warning disabling could be 
easily tracked. ( W4 has some silly warnings as it is a kind of info level, but 
we were forced to use it, so disabling is needed) 
About 5 years later we were down to 2000 warnings in our old modules, for new 
modules we set warnings as error.
We had some issues with removing warnings but introducing bugs , so we needed 
to be careful and resources are sacred and ease dates are near and so on.

Any new project i start in our company , first thing is to set warnings as 
error. Due to using make now thats actually a easy thing to do.

Regard,
Gunnar

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to