Does anyone know why were aren't getting the identifier name in these messages in report.log?
1317914544.693438 Reporter::ERROR identifier is not exported: -
There doesn't seem to be any location data associated with the message either but this message is fairly common and would be good to get fixed.
.Seth
robin
2
This should fix it:
diff --git a/src/Scope.cc b/src/Scope.cc
index 4ed8def..6491ca7 100644
--- a/src/Scope.cc
+++ b/src/Scope.cc
@@ -138,7 +138,7 @@ ID* lookup_ID(const char* name, const char* curr_module, bool no_global,
if ( id )
{
if ( need_export && ! id->IsExport() && ! in_debug )
- reporter->Error("identifier is not exported:",
+ reporter->Error("identifier is not exported: %s",
fullname.c_str());
Ref(id);