[Bug c++/37590] g++ should emit different debug info for variable's type
tromey at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Sep 22 15:20:00 GMT 2008
------- 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
More information about the Gcc-bugs
mailing list