Author Topic: The 09 February 2026 build (13785) is out.  (Read 15322 times)

Offline Xaviou

  • Regular
  • ***
  • Posts: 442
    • X@v's wxStuff
Re: The 09 February 2026 build (13785) is out.
« Reply #15 on: Yesterday at 10:05:55 am »
Hi
Hi, Xaviou, I'm not sure why the "at" is preferred instead of "[]"?
Well, I don't either really know  :-[ It's a solution given by chatgpt to solve this building problem:
Quote from: chatgpt
ArrayChecks is a wxArrayBool, and with GCC 15, the non-const [] operator of wxBaseArray<bool> breaks (bool& is impossible with vector<bool>)

We have some discussion here: New wxWidgets releases
I apologize : I had this solution just after rev13802 (solving the first building problem).
I updated to rev 13810 before creating the patch, and tested the build, but only with the patch, not without.

Now that I have tested the rev 13810 "as is", I can confirm it works without the watch.
Again, sorry.

Regards.
Xav'
My wxWidgets's stuff : https://wxstuff.xaviou.fr/

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6190
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 09 February 2026 build (13785) is out.
« Reply #16 on: Today at 07:48:32 am »
Hi Xaviou, never mind. I really appreciate all your contributions to wxWidgets and Code::Blocks.
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.