Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 VA 1819 another navbar problem
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jrynd
New Member

USA
8 Posts

Posted - Apr 19 2010 :  11:13:20 AM  Show Profile  Reply with Quote
VAx 1819, Visual C++ 6.0

This code is in a .cpp file, and I have another C file in this project that declares a global variable showerrors.

extern "C" extern int showerrors;

bool Ini_class::InterpretEdition(void)
{
showerrors = 0;


Click the mouse on showerrors, and the navbar shows "extern extern int showerrors". I don't expect it to find the other C file that hosts the variable but I don't expect this.

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Apr 19 2010 :  2:01:47 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=42825
Go to Top of Page

jrynd
New Member

USA
8 Posts

Posted - Apr 19 2010 :  2:19:30 PM  Show Profile  Reply with Quote
And why the C++ committee chose "extern" rather than "namespace" for referring to identifiers from C code, I'll never know. Thanks for checking it out.
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Nov 13 2010 :  12:56:12 PM  Show Profile  Reply with Quote
case=42825 was a dupe of case=1131

case=1131 is fixed in build 1836
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000