This documentation is archived and is not being maintained.

Edit and Continue : warning 2006

Error Message

Variable or function was removed. Undeleted and undetected references could still exist: symbol (module)

This error occurs when you remove a variable or function. Edit and Continue recompiled the code and applied the change. In most cases, the compiler will catch any reference to the deleted function or variable and issue a warning. In rare cases, however, a remaining reference may not be detected. For example, if you delete a function from one file, file1.cpp, the compiler may not detect a reference to the function in another file, file2.cpp, if file2.cpp does not include the file1.cpp header.

See Also