Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 2.5.0-rc
-
None
-
Windows XP SP3
Description
Consider the following code with vs and mingw configurations:
#include <iostream> using namespace std; #ifdef __GNUC__ #define FOO Foo #else #define FOO Bar #endif void Foo() { cout << "Foo!" << endl; } void Bar() { cout << "Bar!" << endl; } int main() { FOO(); return 0; }
When configuration is switched from mingw to vs and vice versa, FOO doesn't seem to be updated (even highlighting doesn't change).
Reloading the project resolves this.
My project is more complex, and it displays Parsing progress when switching configurations, and even highlights #ifdef's correctly (in most locations), but Follow Symbol jumps to the old definition until I reload the project.