June 23, 2003
It'd be nice to have an optional warning that told of old/new for-scoping clashes.

For example


1. // forscope.cpp
2.
3. for(int i = 0; i < 10; ++i)
4. {}
5.
6. for(int i = 0; i < 10; ++i)
7. {}


> dmc -wfs forscope.cpp

forscope.cpp, line 6: warning: Potential for-scope indexer clash

fyi, Intel C++ does this, and it's very useful for maintaining old-new compatible code