From: Andre B. <and...@gm...> - 2002-12-23 19:14:39
|
Hi Baptiste, I was just trying out the "RenameTempVar" addin - nice job ! nothing is as good as trying the code at the user level ;-) However it fails with this example: { int test; { int a = test; if (test == 10) test = 10; } } Rename "test" into "ot" will result in: { int ot; { int a otst; ifotst == 10otst = 10; } } Is this code not yet supported ? -- Andre |
From: Baptiste L. <gai...@fr...> - 2002-12-23 19:49:53
|
I just recompiled everything after cleaning each project and it works fine for me. This sound a lot like the bug that was present in the first version. Though, looking at the CVS repository, only the correct version is archived. Please, makes sure that you update your CVS workspace. Also, the add-in should be compiled in release configuration. In any case, I just made a binary snapshot: http://cpptool.sourceforge.net/snapshot/ Are you using VC6 SP5 ? Baptiste. ----- Original Message ----- From: "Andre Baresel" <and...@gm...> To: "CppTool Mailing List" <Cpp...@li...> Sent: Monday, December 23, 2002 8:12 PM Subject: [Cpptool-develop] First Test of Addin ... and some bug report > Hi Baptiste, > > I was just trying out the "RenameTempVar" addin - nice job ! > nothing is as good as trying the code at the user level ;-) > > However it fails with this example: > > { > > int test; > { > int a = test; > if (test == 10) test = 10; > > } > } > > Rename "test" into "ot" will result in: > > { > > int ot; > { > int a otst; > ifotst == 10otst = 10; > > } > } > > Is this code not yet supported ? > > -- Andre |
From: Baptiste L. <gai...@fr...> - 2002-12-23 21:45:39
|
----- Original Message ----- From: "Andre Baresel" <and...@gm...> To: "Baptiste Lepilleur" <gai...@fr...> Sent: Monday, December 23, 2002 10:12 PM Subject: Re: [Cpptool-develop] First Test of Addin ... and some bug report > Baptiste Lepilleur wrote: > > >I just recompiled everything after cleaning each project and it works fine > >for me. This sound a lot like the bug that was present in the first version. > >Though, looking at the CVS repository, only the correct version is archived. > > > >Please, makes sure that you update your CVS workspace. Also, the add-in > >should be compiled in release configuration. > > > It's the same with your version. Since it works for me, it means that the TextDocument COM object provided by VC++ is probably bugged (or behave differently than in SP5). I'll try it at work tomorrow, just to be sure. > >In any case, I just made a binary snapshot: > >http://cpptool.sourceforge.net/snapshot/ > > > >Are you using VC6 SP5 ? > > > It's just the plain VC6 Professional (english). > Btw) english version also checks for local settings and replaces for > this reason all english comments > in a DSP File with german text on my PC :-(. Hope I will always check > for this problem, Maybe I'll just > write a simple batch which always replaces these automaticly. Weird, I've got the same version running on Windows 2000 Professional SP 3 (French), and the SP5 did not cause any weird stuff (comments are in english in the DSP files). You should try to download the 'english' version (http://msdn.microsoft.com/vstudio/downloads/updates/sp/vs6/sp5/dnldoverview .asp). > SP5 is required ?? I would dare say so. VC6 contains a lot of bugs, in particular in std::string. You also often run into compiler internal error when using template... The TextDocument issue might just be another one. > -- André |
From: Baptiste L. <gai...@fr...> - 2002-12-24 17:39:59
|
----- Original Message ----- From: "Baptiste Lepilleur" <gai...@fr...> To: "CppTool Mailing List" <Cpp...@li...> Sent: Monday, December 23, 2002 10:50 PM Subject: Re: [Cpptool-develop] First Test of Addin ... and some bug report > ----- Original Message ----- > From: "Andre Baresel" <and...@gm...> > To: "Baptiste Lepilleur" <gai...@fr...> > Sent: Monday, December 23, 2002 10:12 PM > Subject: Re: [Cpptool-develop] First Test of Addin ... and some bug report > > > > Baptiste Lepilleur wrote: > > > > >I just recompiled everything after cleaning each project and it works > fine > > >for me. This sound a lot like the bug that was present in the first > version. > > >Though, looking at the CVS repository, only the correct version is > archived. > > > > > >Please, makes sure that you update your CVS workspace. Also, the add-in > > >should be compiled in release configuration. > > > > > It's the same with your version. > > Since it works for me, it means that the TextDocument COM object provided by > VC++ is probably bugged (or behave differently than in SP5). I'll try it at > work tomorrow, just to be sure. I installed it on two differents computers at work and it works just fine. Both were VC6 SP5. Baptiste. |