From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike_D_Davies@fmo.com To: sourcenav@sourceware.cygnus.com Subject: Xref for local variables not working ? Date: Wed, 11 Jul 2001 12:14:00 -0000 Message-id: <85256A86.00694C61.00@sfldmint11.na.fmo.com> X-SW-Source: 2001-q3/msg00044.html Hi, I am running SN 5 under Windows and I have tried to enable "Generate references to local variables" in the project preferences/xref tab but I still cannot generate an xref for a local variable. I have generated a simple project based on the single c++ file below and I can only see an xref for the variable x, not the variable y. I have tried saving local variable parsing enabled as the default and re-running the project build but that does not help. Is this a bug or am I missing something ? Thanks, Mike #include int action(); int x = 0; int main() { int retval = action(); int y = 3; return 0; } int action() { cout << "hello world !"; return 0; }