Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Navigation bar does not list members properly

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
andreypir Posted - Sep 30 2020 : 6:02:23 PM
interface IDataReader
{
public:
#define PSPUREIMPL(x) =0;
virtual int getDataValSize() PSPUREIMPL({ return sizeof(int); })
virtual bool isMap1010() const PSPUREIMPL({ return false; })
virtual long getVideoSyncCount() const PSPUREIMPL({ return 0; })
};

Navigation bar dropdown lists getDataValSize twice and nothing else.
VA_X.dll file version 10.9.2380.0 built 2020.06.16
DevEnv.exe version 16.7.30413.136 Professional
msenv.dll version 16.0.30413.136
Comctl32.dll version 6.10.18362.720
Windows 10 10.0 1909 Build 18363.720
8 processors (x86-64, WOW64)
Language info: 1251, 0x419
5   L A T E S T    R E P L I E S    (Newest First)
andreypir Posted - Oct 01 2020 : 1:20:29 PM
Thank you!
feline Posted - Oct 01 2020 : 1:17:36 PM
I like to make sure that examples compile, since sometimes the bug we are looking comes from the fact that the code does not compile, and once the code does compile it makes more sense to our parser.

Unfortunately our bug tracker isn't public, but this thread should be updated when the bug is fixed, and our release notes list what has been fixed in each new build. Sadly I don't currently have an estimate for when this will be fixed, but hopefully adding the extra semi-colons to the end of the macros is a reasonable work around for now.

As an aside I noticed that the extra semi-colons seems to fix a code indenting / formatting issue the IDE was having with the sample code, so not just VA getting a little confused.
andreypir Posted - Oct 01 2020 : 11:46:55 AM
Thank you for speedy response! Yes, this is C++, sorry I did not try to compile this synthetic example. Adding semi-colon makes it work properly.
You said it is covered by a bug report case=88758. Is there any way I can see that case?
feline Posted - Oct 01 2020 : 06:48:38 AM
Adding the semi-colon is the only work around I can find so far. I think this is covered by the bug report:

case=88758
feline Posted - Oct 01 2020 : 06:04:06 AM
which language are you using? It looks like C++, but when I copy and paste this code into VS2019 I am getting compile errors, the IDE does not like the "interface" keyword. Replacing this with "class" allows me to compile the code.

As a first attempt, can you please try adding a semi-colon to the end of the function declarations. I know the macro adds one when it is expanded, but adding an extra semi-colon manually is fixing the problem for me here.

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