Author Topic: the "²" bug  (Read 4588 times)

_Dim_

  • Guest
the "²" bug
« on: December 09, 2009, 09:31:10 am »
Hello,

I worked on Code::Blocks and I discovered a strange bug.
French v8.02


I accidentaly wrote a " ² " on my code (juste after a " ;") but I didn't see it immediatly.

=> BUG

I launch code::blocks again, load my project...

=> BUG

I reboot, ...

=> BUG


so I opened my file with a text editor and saw the " ² ", removed it. It fixed the bug.

I don't know if this bug is known by developpers.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5910
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: the "²" bug
« Reply #1 on: December 09, 2009, 09:40:18 am »
It seems this character shows badly in the CB 8.02 which use an old scintilla editor control.
I suggest you could use a Nightly builds. :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.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: the "²" bug
« Reply #2 on: December 09, 2009, 09:52:49 am »
You did not write which OS you use.

There is a known bug on XP with the 8.02 release, that can lead to a crash, this bug is fixed in the nightly builds.

You should give them a try (they are normally stable and have some enhancements).

_Dim_

  • Guest
Re: the "²" bug
« Reply #3 on: December 11, 2009, 01:09:40 pm »
I use Vista 32 bits (sorry).