Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Bug in automatic formatting CDT 4.0
Bug in automatic formatting CDT 4.0 [message #199337] Thu, 09 August 2007 21:51 Go to next message
Eclipse UserFriend
Originally posted by: spam.noway.com

Following line:

static bool Parse(wxString value, UnitPoint* result, ScalarUnit
defaultUnit);

Hit Ctrl+Shift+F, result is:

static bool
Parse(wxString value, UnitPoint* result, ScalarUnit defaultUnit);

Hit Ctrl+Shift+F again:

static boolParse(wxString value, UnitPoint* result, ScalarUnit defaultUnit);

This has happened to me in more than one file, though rarely. 2 Occurrences
so far. I didn't even realize it was a potential bug until it happened to
me in a second file I knew I didn't modify beyond hitting the auto format.

I can send the source file where this happens in its entirety on request
for testing.

--
Stephan
2003 Yamaha R6

君のこと思い出す日なんてないのは
君のこと忘れたときがないから
Re: Bug in automatic formatting CDT 4.0 [message #199630 is a reply to message #199337] Thu, 16 August 2007 12:28 Go to previous messageGo to next message
Anton Leherbauer is currently offline Anton LeherbauerFriend
Messages: 490
Registered: July 2009
Senior Member
Stephan Rose wrote:
> Following line:
>
> static bool Parse(wxString value, UnitPoint* result, ScalarUnit
> defaultUnit);
>
> Hit Ctrl+Shift+F, result is:
>
> static bool
> Parse(wxString value, UnitPoint* result, ScalarUnit defaultUnit);
>
> Hit Ctrl+Shift+F again:
>
> static boolParse(wxString value, UnitPoint* result, ScalarUnit defaultUnit);
>
> This has happened to me in more than one file, though rarely. 2 Occurrences
> so far. I didn't even realize it was a potential bug until it happened to
> me in a second file I knew I didn't modify beyond hitting the auto format.
>
> I can send the source file where this happens in its entirety on request
> for testing.
>

I think this is bug 194603
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=194603).
Feel free to raise another bug if this does not match.

Toni
--
Anton Leherbauer
Wind River CDT Team, Austria
Re: Bug in automatic formatting CDT 4.0 [message #200341 is a reply to message #199630] Mon, 27 August 2007 18:03 Go to previous message
Eclipse UserFriend
Originally posted by: spam.noway.com

On Thu, 16 Aug 2007 14:28:07 +0200, Anton Leherbauer wrote:

> Stephan Rose wrote:
>> Following line:
>>
>> static bool Parse(wxString value, UnitPoint* result, ScalarUnit
>> defaultUnit);
>>
>> Hit Ctrl+Shift+F, result is:
>>
>> static bool
>> Parse(wxString value, UnitPoint* result, ScalarUnit defaultUnit);
>>
>> Hit Ctrl+Shift+F again:
>>
>> static boolParse(wxString value, UnitPoint* result, ScalarUnit defaultUnit);
>>
>> This has happened to me in more than one file, though rarely. 2 Occurrences
>> so far. I didn't even realize it was a potential bug until it happened to
>> me in a second file I knew I didn't modify beyond hitting the auto format.
>>
>> I can send the source file where this happens in its entirety on request
>> for testing.
>>
>
> I think this is bug 194603
> (https://bugs.eclipse.org/bugs/show_bug.cgi?id=194603).
> Feel free to raise another bug if this does not match.
>
> Toni

Yup, that is it. =)

Thanks

--
Stephan
2003 Yamaha R6

君のこと思い出す日なんてないのは
君のこと忘れたときがないから
Previous Topic:Make is always called when launching the debugger
Next Topic:Launching CDT-Debug: java.lang. NullPointerException & others !!!
Goto Forum:
  


Current Time: Fri Nov 08 23:14:33 GMT 2024

Powered by FUDForum. Page generated in 0.24115 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top