User forums > Nightly builds
The 27 November 2010 build (6863) is out.
oBFusCATed:
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'.
AndyJ:
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.
MortenMacFly:
--- Quote from: oBFusCATed 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'.
--- End quote ---
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)
--- End quote ---
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... ;-)
oBFusCATed:
--- Quote from: MortenMacFly on February 02, 2011, 02:27:35 pm ---Let the wx guys decide if/how to react.
--- End quote ---
They would do nothing, they like it the way it is now :x :twisted:
cacb:
--- Quote from: oBFusCATed on February 01, 2011, 11:12:06 pm ---
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....
--- End quote ---
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!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version