[Bf-committers] intel c++ compiler warnings

Campbell Barton ideasman42 at gmail.com
Fri Oct 3 15:39:37 CEST 2008

was testing intel C++ and found it gave some useful warnings.
Here's list of them, filtering out the less useful warnings.

http://pasteall.org/2661/c   <- many of these can be made static

2 warnings that seem interesting.
- variable "blahblah" was set but never used,    in one case there was
a for loop building up sine data that wasn't used. possibly more cases
like this.
- declaration hides parameter "blahblah"   looks like C supports 2
vars with the same name defined at the same time, but seems error
prone and confusing.

Script to filter the warnings.

- Campbell

More information about the Bf-committers mailing list