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 declaration fails
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

anilyigitfiliz
New Member

5 Posts

Posted - Mar 24 2008 :  09:30:02 AM  Show Profile  Reply with Quote
Create declaration fails for long function signatures. When I click on create declaration for a 6 parameter function signature it creates a declaration but the declaration has only 4 parameters and is like this: "func(ta a, tb b, tc c, td d, te e,;" I'm guessing there is a buffer problem or something. I'm using 1626, the file I tried is compilable and the problem is completely reproducible with functions with more than 4 parameters. With 4 parameter functions no problem occurs.

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Mar 24 2008 :  5:14:27 PM  Show Profile  Reply with Quote
I have just tried Create Declaration on a function has 6 parameters, but I do not see any problems.
I have used this source in the header

class ta {};
class tb {};
class tc {};
class td {};
class te {};
class tf {};

cSomeClass {
};

and this one in the cpp

void cSomeClass::func(ta a, tb b, tc c, td d, te e, tf f)
{
}

and after create declaration I got this in cSomeClass:

void func(ta a, tb b, tc c, td d, te e, tf f);


Can you please give me an example, in which the problem happened?
Maybe something else in your source is the cause of your corrupted declaration.

Edited by - accord on Mar 24 2008 5:17:02 PM
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