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
 Error with '...'
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Ivan A. Fotan
Ketchup Master

Ukraine
67 Posts

Posted - Apr 04 2007 :  10:41:33 AM  Show Profile  Reply with Quote
Into VAX 1549, if you try to type
void f(char* fmt, ...);
you will have
void f(char* fmt, ..->);

For sure, it is not critical, but...

IAF

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Apr 04 2007 :  10:51:03 AM  Show Profile  Reply with Quote
Which IDE are you using?
Can you reproduce this on demand?

I have just tried this using VS2005 and VA 1549, typing in a cpp file, and I am not seeing this problem. I have checked, and dot is being converted to -> correctly for pointers for me.

zen is the art of being at one with the two'ness
Go to Top of Page

Ivan A. Fotan
Ketchup Master

Ukraine
67 Posts

Posted - Apr 04 2007 :  11:41:20 AM  Show Profile  Reply with Quote
I'm using VS2005 without SP1 under Vista Ultimate.
And what is strange -- I can reproduce this into only one .h file, and another stange thing -- into this .h file there is class declaration. If I'm writting
void f(...)
before class declaration -- all is ok.
But if I'm doing this after class declaration, I got:
void f(..->)
and for sure, If I will continue to add '.', I will have
void f(..->->->->->->->->->)



IAF
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Apr 04 2007 :  2:44:34 PM  Show Profile  Reply with Quote
I think it is safe to say this class is somehow confusing VA.

Can you simplify this class / header file down to the point where you would be able to send me the code / file so I can try to reproduce the problem here?

zen is the art of being at one with the two'ness
Go to Top of Page

schoenherr
Tomato Guru

Germany
160 Posts

Posted - Apr 05 2007 :  03:20:42 AM  Show Profile  Reply with Quote
i think this is a very old bug, already mentione here. It comes up mainly in the situation fo typing
try
{
}
catch (...)
{
}
that it also occures in function declarations with varargs is new to me.
i don't beleave that this will be fixed soon, since we are already waiting a long time and this bug only occures randomly.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Apr 05 2007 :  07:16:01 AM  Show Profile  Reply with Quote
From the history of fixes, the following fix was made in build 1535:

Dot no longer converted to -> after insert of try/catch via Autotext. (case=2069) 5120, 5230

how often do you get this problem? using VS2003 and VA 1549 I have just typed in 8 try / catch blocks, like this, in a row, ignoring all autotext and suggestion listboxes, and I have not had any problems.

zen is the art of being at one with the two'ness
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