------- Comment #5 from tromey at gcc dot gnu dot org  2008-09-22 15:19 -------
No, I think we have to record what the user actually wrote.

For instance, consider:

#include <string>
using namespace std;
std::string x1;
string x2;

If we record the fully qualified name, we can't distinguish these two cases.

I would prefer a solution not relying on heuristics in the debugger.
(And can we even "undo" using directives this way correctly?  I am not sure.)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37590

Reply via email to