Author Topic: The 27 November 2010 build (6863) is out.  (Read 52507 times)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: The 27 November 2010 build (6863) is out.
« Reply #30 on: February 02, 2011, 11:06:32 am »
The problem with this method is that it breaks this rule: http://www.faqs.org/docs/artu/ch11s01.html
That is why I've said 'the API is broken'.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline AndyJ

  • Multiple posting newcomer
  • *
  • Posts: 24
Re: The 27 November 2010 build (6863) is out.
« Reply #31 on: February 02, 2011, 02:21:30 pm »
For the last few nightly releases I've found that starting CB and dragging a workspace file onto it seems to result in CB hanging most of the time. I then have to manually kill it. This is on Win XP. Has anyone else experienced this, or is it something specific to my computer?

Thanks for the great work.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: The 27 November 2010 build (6863) is out.
« Reply #32 on: February 02, 2011, 02:27:35 pm »
The problem with this method is that it breaks this rule: http://www.faqs.org/docs/artu/ch11s01.html
That is why I've said 'the API is broken'.
You have a const literally for everything. I've learned the meaning of const once (during studies) as the following:
Quote
 const int* const my_method(const int* const&) const;
  - the var pointed to by the returned ptr  won't be changable
  - the returned ptr itself                 won't be changable
  - the var pointed to by the given ptr     won't be changable (by the method)
  - the given ptr itself                    won't be changable (by the method)
  - the object the method belongs to        won't be changed (during method call)
According to this the const only tells you "wxArrayString does not modify it's internal members when you use the operator method []". This is true, even in out case. If we modify the reference we get that this has nothing to do with it anymore, as the call to the operator is done, so the validity of the const rule.

Anyway - it's getting quite philosophic. I think the good thing is simply that you found that bug. Let the wx guys decide if/how to react. Having the knowledge in mind we know now what we shouldn't do next time... ;-)
« Last Edit: February 02, 2011, 02:31:49 pm by MortenMacFly »
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: The 27 November 2010 build (6863) is out.
« Reply #33 on: February 02, 2011, 02:32:26 pm »
Let the wx guys decide if/how to react.
They would do nothing, they like it the way it is now :x :twisted:
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline cacb

  • Lives here!
  • ****
  • Posts: 536
Re: The 27 November 2010 build (6863) is out.
« Reply #34 on: February 05, 2011, 12:08:27 am »

OK, I have the steps to reproduce:

1. Close C::B if it is open
2. Double click on a project in explorer/total commander
3. Open a .cpp file and type #include "|<- press ctrl + space
4. Open the build options and you have your global vars broken....


Great!! Sounds like you have found it. This has been one of my biggest issues with C::B lately, it has caused me a lot of frustration. If this is now solved, I am really happy  :D

So which is the first nightly with this bug fixed? I am going to install that ASAP!

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: The 27 November 2010 build (6863) is out.
« Reply #35 on: February 05, 2011, 08:04:08 am »
The next one :)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline cacb

  • Lives here!
  • ****
  • Posts: 536
Re: The 27 November 2010 build (6863) is out.
« Reply #36 on: February 05, 2011, 02:35:26 pm »
The next one :)

Ok, as this bug was rather annoying for several people, I hope that means "very soon"  :lol:

Offline Folco

  • Regular
  • ***
  • Posts: 343
    • Folco's blog (68k lover)
Re: The 27 November 2010 build (6863) is out.
« Reply #37 on: February 05, 2011, 02:43:20 pm »
If the patch has been commited, you could compile CB to get this bug out ?
Kernel Extremist - PedroM power ©

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 27 November 2010 build (6863) is out.
« Reply #38 on: February 05, 2011, 03:09:18 pm »
If the patch has been commited, you could compile CB to get this bug out ?
Should work.
If you use my repo (debian): I just finished compiling the latest trunk.