Page 10 of 42

Re: PureBasic 6.00 Alpha 3 released !

Posted: Fri Jul 09, 2021 4:08 pm
by Fred
Unfortunately gcc doesn't display any update as well on the overall progress, so I don't know if we can display anything more.

Re: PureBasic 6.00 Alpha 3 released !

Posted: Fri Jul 09, 2021 4:10 pm
by DoubleDutch
That's a shame, maybe gcc could be modded to send back progress?

Re: PureBasic 6.00 Alpha 3 released !

Posted: Fri Jul 09, 2021 6:18 pm
by chi
Fred wrote: Fri Jul 09, 2021 4:08 pm Unfortunately gcc doesn't display any update as well on the overall progress, so I don't know if we can display anything more.
How about using gcc -v(erbose)? It would also be nice if we could have the compiler + linker + rc + lib to output something in the error log window.

By replacing the original exe with my own dummy version, calling the original with the verbose switch, I was able to write to the log...

Image

If I recall correctly, the linker outputs a few hundred lines on bigger projects since it displays every lib/obj searchpath. But maybe this could be filtered?!

Re: PureBasic 6.00 Alpha 3 released !

Posted: Fri Jul 09, 2021 9:50 pm
by Psychophanta
Awesome!
Let me try this 6.00 alfa 3.
Thanks a lot.

Re: PureBasic 6.00 Alpha 3 released !

Posted: Fri Jul 09, 2021 11:22 pm
by netmaestro
Why didn't they call Alpha 2 "Alfalfa" ?

Re: PureBasic 6.00 Alpha 3 released !

Posted: Fri Jul 09, 2021 11:46 pm
by kenmo
Thank you team!!! Looking forward to testing the C Backend!
Work and life have been eventful and I haven't had the time yet :|

I hope this doesn't prevent IDE Pull Requests :wink:

Re: PureBasic 6.00 Alpha 3 released !

Posted: Sat Jul 10, 2021 10:45 am
by Lord
Announcement says:
PureBasic 6.00 Alpha 3 released !
Downloade page says:
Alpha
If you want to beta test the next version of PureBasic feel free to download it and test it. Please remember to backup your current PureBasic directory before installing the alpha. Don't use it in production !

Download PureBasic 6.00 Alpha 2 for Windows (x64)
Just only forgotten to change "2" to "3"?

Re: PureBasic 6.00 Alpha 3 released !

Posted: Sat Jul 10, 2021 11:05 am
by mk-soft
Just only forgotten to change "2" to "3"?
Just only forgotten to change "2" to "X"? 8)

Re: PureBasic 6.00 Alpha 3 released !

Posted: Sat Jul 10, 2021 1:06 pm
by akee
Was there a roll back?

Re: PureBasic 6.00 Alpha 3 released !

Posted: Sat Jul 10, 2021 5:16 pm
by flood
Alpha 3 seems to work fine with my 16k+ lines program, which makes use of pretty much every aspect of the PB language. Very good work, Fred. 8)

Question: Could this change eventually result in supporting ARM devices?

Re: PureBasic 6.00 Alpha 3 released !

Posted: Sun Jul 11, 2021 3:06 pm
by bbanelli
Wow!

PCI-Z (~7k LoC) runs smoothly (heavy WinAPI involved) and only gives less than 10% size overhead.

Great work, looking forward seeing "full" version! :)

Re: PureBasic 6.00 Alpha 3 released !

Posted: Mon Jul 12, 2021 9:43 am
by zikitrake
Error founded here: viewtopic.php?f=43&t=77590
Edit: There seems to be something wrong with my current configuration ( c:\Users\zikitrake\AppData\Roaming\PureBasic\)
When I rename that folder so that it is created from scratch, the compilation is correct. I will keep disabling things until I find the "error".


I don't know if I have installed PB6 wrong (standard installation of the downloaded setup) or I missed some information about a previous change to make before compiling.
This simple code gives me an invalid memory error (Windows 10 pro 64, user with admin privileges)
(C Backend)
Image
I'm sorry if this has already been discussed, I've searched for some information but didn't find anything.

PS: I didn't want to put it in the bugs area because I guess it's for another reason

Re: PureBasic 6.00 Alpha 3 released !

Posted: Tue Jul 13, 2021 3:55 am
by DeanH
The code below compiles and executes error free using 5.73 64-bit.

Code: Select all

w.l=OpenWindow(#PB_Any,#PB_Ignore,#PB_Ignore,640,480,"Test",#PB_Window_SystemMenu | #PB_Window_ScreenCentered)
AddKeyboardShortcut(w,#PB_Shortcut_Escape,#ESC)
Repeat
Until WaitWindowEvent()=#PB_Event_CloseWindow

6.00 Alpha 3 stops compiling at the AddKeyboardShortcut statement reporting a window not initialised error.

If I change the variable W.l to W.i, then it compiles and runs correctly.
The value of w returned in the two versions of PB is very different. The PB6 value is much larger and if type l (long int), goes negative.

I am not sure if this is a bug or a change. It feels like a change. Is it?

Re: PureBasic 6.00 Alpha 3 released !

Posted: Tue Jul 13, 2021 6:07 am
by GPI
as far as i know: Handles in PB are *ALWAYS* in Integer. so ".l" is not correct and when it work, it is pure luck.

Re: PureBasic 6.00 Alpha 3 released !

Posted: Tue Jul 13, 2021 7:12 am
by DeanH
I understand about handles and types. However, my example highlights what might be a significant difference in the new PB6. I use the Printer_Lib library by ABBKlaus and Pure_PDF by Thorsten1867. Both of these compile perfectly in the 32 and 64-bit versions of PureBasic 5.73, but generate errors in 6.00 alpha2 and 3. I've been trying to go through them to correct but it is a big detective job. They both use .l types a lot instead of .i. My point is that the size and range of the values returned by OpenWindow(#PB_Any and other functions are hugely different for the two 64-bit compiler versions.