Code::Blocks
October 23, 2014, 07:52:30 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: When registered with our forums, feel free to send a "here I am" post in http://forums.codeblocks.org/index.php/topic,14168.0.html to differ human beings from SPAM bots.
 
   Home   Help Search Login Register  :: WebsiteWiki  
Pages: 1 2 [3]  All   Go Down
  Send this topic  |  Print  
Author Topic: The 27 November 2010 build (6863) is out.  (Read 21502 times)
oBFusCATed
Developer
Lives here!
*****
Offline Offline

Posts: 7661


« 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'.
Logged

<debugger plugin maintainer>
(most of the time I ignore long posts)
AndyJ
Advanced newcomer
*
Offline Offline

Posts: 11


« 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.
Logged
MortenMacFly
Administrator
Lives here!
*****
Offline Offline

Posts: 8676



« 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 » Logged

Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ
oBFusCATed
Developer
Lives here!
*****
Offline Offline

Posts: 7661


« 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:
Logged

<debugger plugin maintainer>
(most of the time I ignore long posts)
cacb
Regular
***
Offline Offline

Posts: 259


« 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  Cheesy

So which is the first nightly with this bug fixed? I am going to install that ASAP!
Logged
oBFusCATed
Developer
Lives here!
*****
Offline Offline

Posts: 7661


« Reply #35 on: February 05, 2011, 08:04:08 am »

The next one Smiley
Logged

<debugger plugin maintainer>
(most of the time I ignore long posts)
cacb
Regular
***
Offline Offline

Posts: 259


« Reply #36 on: February 05, 2011, 02:35:26 pm »

The next one Smiley

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

Posts: 337



WWW
« 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 ?
Logged

Sorry for my english, I'm french
MS Visual Studio: the soft which brings problems starting from solutions.
jens
Administrator
Lives here!
*****
Offline Offline

Posts: 6630



WWW
« 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.
Logged

Regards

Jens  Debian - nightlies (and release) : http://apt.jenslody.de/ Fedora [18 - 20]- and CentOS/RedHat [5, 6 & 7] - nightlies : http://rpm.jenslody.de/
Pages: 1 2 [3]  All   Go Up
  Send this topic  |  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!