Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 #include in namespase

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
maxim2000 Posted - Apr 28 2008 : 04:28:46 AM
It seems that VA 10.4.1635.0 doesn't recognize symbols in constructions like this (VS2005, C++):

namespace local_lib
{
#include "library.h"
}

// VA doesn't see CustomInteger
// or any other symbol from library.h
local_lib::CustomInteger GlobalInt;


Also, system color for Automatic value has changed from black to white. It is not a serious problem, but I was confused to see white patches all over my code :) But MS Word still has black color for Automatic value.
9   L A T E S T    R E P L I E S    (Newest First)
sean Posted - Sep 26 2017 : 11:08:30 PM
case=111049 was opened for the previous example.
case=111049 is addressed in build 2235.
accord Posted - Sep 12 2017 : 6:57:19 PM
We've improved the situation, but case=9117 is still open because the situation is not handled perfectly. I've added a comment to the case using your example as a test case.
jschroedl Posted - Sep 11 2017 : 2:06:44 PM
Can I resurrect this old thread?

This is still a problem and it regularly bites me since I use GDI+ a lot. VA goto symbol is still not able to take me to a symbol which was pulled in from an include inside a namespace.

Test - create a simple Win32 project, in the cpp, #include <gdiplus.h> and in code, try to go to the definition of something like a color: Gdiplus::ARGB color; It takes me to gdiplus.h instead of the file that actually defines ARGB.

John
maxim2000 Posted - Apr 29 2008 : 11:32:18 AM
It's OK now :)
Thank you for understanding.
feline Posted - Apr 29 2008 : 10:18:14 AM
The problem is that VA is confused by #include lines inside classes or namespaces.

So there is a problem both with your example, and with GdiPlus.h
The same problem will show up anywhere this happens.

Does this make sense?
maxim2000 Posted - Apr 29 2008 : 09:46:16 AM
I'm not very good at English. Sorry for possible misunderstandings.
Do your words mean that GdiPlus.h is the only cause to fix this problem?
No GdiPlus.h - no fix, is it true?
feline Posted - Apr 29 2008 : 08:10:30 AM
*ah* I remember this now. We are working on supporting this fully:

case=9117

As you say, it is used by GdiPlus.h, and this causes us some problems.
maxim2000 Posted - Apr 29 2008 : 03:04:27 AM
I didn't try this before. But it would be nice to have a such possibility (VA supports C++ pretty good). Some windows headers also use constructions like this (e.g. GdiPlus.h).
feline Posted - Apr 28 2008 : 10:20:23 AM
Did this used to work? If so, do you remember which version of VA you were using before?

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000