Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Create Impl. fails with commented namespace def.

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
MarkF Posted - Aug 10 2016 : 04:26:41 AM
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

2   L A T E S T    R E P L I E S    (Newest First)
sean Posted - Feb 20 2020 : 11:08:30 PM
case=99333 is fixed in build 2366.
https://support.wholetomato.com/default.asp?W404#2366
ChrisG Posted - Aug 10 2016 : 05:46:43 AM
Hello MarkF,

Thank you for the clear report.

I was able to reproduce the issue and have opened case 99333.

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