Original Post
With gcc, I can turn off and on specific types of warning quite easily at the command line, and they're generally well documented all in one place. With Visual C++, there is apparently even more fine-grained control over warnings, but they're all given obscure numbers and their own separate page in the MSDN documentation. This means that if I want to enable a certain type of warning, trying to find out which warning number to feed to the #pragma is virtually impossible. Is there a better way of being able to find a warning number or numbers in Visual C++ for a given situation? For example, I want it to warn on converting floats to ints and the like. However changing the overall warning level is not an option.