Hi,
I am using Borland Comand Line Tool 5.5, in WinXp SP2.
While compiling a project Code::Blocks gives one error message
Error E2228 main.cpp 2118: Too many error or warning messages
*** 1 errors in Compile ***
There is no error and 99 warnings...
How can I tell Code::Blocks to ignore those warnings and compile the project?
Thanks
Rittwik
You could also try using the preprocessor #pragma to disable specific warnings, like this:
// Disable warning
#pragma warning( disable : 4800 )
// Code here doesn't generate the warning
// Restores warning default setting
#pragma warning( default : 4800 )
Another option:
// Save warning state
#pragma warning( push )
#pragma warning( disable : 4834 )
#pragma warning( disable : 4835 )
#pragma warning( disable : 4700 )
// Some code here that avoids those warnings
// Restore saved state
#pragma warning( pop )
Replace the numbers after "disable" and "default" for the warning numbers that you get when compiling.