News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Patch for C::B codecomplete bug needs attention

Started by Greatwolf, December 17, 2010, 02:54:14 AM

Previous topic - Next topic

Greatwolf

Hi,

This post is really just to redirect some attention to my original post here. ollydbg was the only one to really respond to my post and he even posted a patch that fixes this bug (many thanks btw kudos to him!). Can one of the maintainers with commit access please review this and apply the patch to the trunk so this bug is fixed for the next version?

Many thanks

ollydbg

If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

MortenMacFly

Quote from: ollydbg on December 17, 2010, 03:54:16 AM
my patch should be reviewed.
I've at least applied it. However, I am rarely using C::B these days (temporarily!) so I cannot do intensive testing. But it shouldn't get lost, at least...
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

Loaden

After testing, this patch can fix the issue.
Thanks!

ollydbg

Quote from: Loaden on December 20, 2010, 03:17:59 AM
After testing, this patch can fix the issue.
Thanks!
not sure this patch may cause other issue.... :D
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.