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
 Create Impl. fails with commented namespace def.
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

MarkF
Starting Member

Austria
1 Posts

Posted - Aug 10 2016 :  04:26:41 AM  Show Profile  Reply with Quote
Create Implementation for C++ uses an incorrect $SymbolContext$ if the namespace definition has an identical comment in the header and source files.

Example:

widget.h:

namespace stuff // misc stuff
{
    struct Widget
    {
        Widget();
        void doSomething();
    };
}


widget.cpp:

#include "widget.h"
namespace stuff // misc stuff
{
    Widget::Widget()
    {}
}


Using Create Implementation for doSomething generates the following code:

    void thing()
    {

    }


The number of characters missing from the signature depends on the length of the comment.
Everything works after changing the comment in either one of the files to "// misc stuf"

Versions:
VA_X.dll file version 10.9.2108.0 built 2016.08.01
DevEnv.exe version 12.0.40629.0 Professional
msenv.dll version 12.0.40629.0
Comctl32.dll version 6.10.10586.494
Windows 8.1 6.3 Build 9600
8 processors (x86-64, WOW64)
Language info: 1252, 0x407


Edited by - MarkF on Aug 10 2016 04:29:11 AM

ChrisG
Whole Tomato Software

USA
229 Posts

Posted - Aug 10 2016 :  05:46:43 AM  Show Profile  Reply with Quote
Hello MarkF,

Thank you for the clear report.

I was able to reproduce the issue and have opened case 99333.
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Feb 20 2020 :  11:08:30 PM  Show Profile  Reply with Quote
case=99333 is fixed in build 2366.
https://support.wholetomato.com/default.asp?W404#2366
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2019 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000