PlanetSquires Forums

Support Forums => General Board => Topic started by: Paul Squires on August 27, 2019, 10:17:05 AM

Title: FreeBasic 1.07 release (August 27, 2019)
Post by: Paul Squires on August 27, 2019, 10:17:05 AM
This is exciting news! New compiler release version 1.07.
https://www.freebasic.net/forum/viewtopic.php?f=1&t=27812

Also, the guys are working on upgrading the toolchain to GCC 9.1
https://www.freebasic.net/forum/viewtopic.php?f=17&t=27670

Looks like I have a lot of work to do. I want to integrate the new 1.07 compiler and see if the new WSTRING is compatible and/or replace Jose's awesome CWSTR class. Hopefully such a switch will not break the WinFBE source code.

Updating to GCC 9.1 would be awesome as well. Nice to be using the latest and greatest tools.
Title: Re: FreeBasic 1.07 release (August 27, 2019)
Post by: José Roca on August 27, 2019, 10:39:22 AM
> Looks like I have a lot of work to do. I want to integrate the new 1.07 compiler and see if the new WSTRING is compatible and/or replace Jose's awesome CWSTR class. Hopefully such a switch will not break the WinFBE source code.

There is NOT a new WSTRING. What is new is that classes such CWSTR can extend WSTRING. This allows the intrinsic FB string functions such LEFT, MID, etc., to know that it has to treat it as a WSTRING instead of an ANSI string. Therefore, with the changes that I already have done you can use, for example, LEFT(cws, 3) instead of LEFT(**cws, 3) with unicode.

See this thread for the changes:
https://www.planetsquires.com/protect/forum/index.php?topic=4295.0
Title: Re: FreeBasic 1.07 release (August 27, 2019)
Post by: Paul Squires on August 27, 2019, 10:53:43 AM
Thanks Jose... my brain had forgotten all of that :-)