Re: PureBasic 6.01 beta 2 is available
Posted: Sun Jan 29, 2023 10:10 am
Great work Fred. Fantastic to see the rapid updates.
Love to see posts from Fred saying "Fixed."
Love to see posts from Fred saying "Fixed."
http://www.purebasic.com
https://www.purebasic.fr/english/
Yup, no longer exists as it is no longer used.❤x1 wrote: Mon Jan 30, 2023 6:43 pm #PB_EventType_CloseItem seems to have disappeared with beta 2. Is it expected?
Code: Select all
CompilerIf Not Defined(PB_EventType_CloseItem, #PB_Constant)
#PB_EventType_CloseItem = $FFFF ; SDK Event.h
CompilerEndIf
CompilerIf Not Defined(PB_EventType_ReturnKey, #PB_Constant)
#PB_EventType_ReturnKey = $501 ; SDK Event.h
CompilerEndIf
Debug #PB_EventType_CloseItem
Debug #PB_EventType_ReturnKey
Code: Select all
Structure SelfReferencingStructure
ValueA.i
ValueB.i
List *Children.SelfReferencingStructure()
EndStructure
Isn't that option meaningful only for the C backend and when checked the compiler implement some code optimization ?Note: The optimizer needs to be manually enabled for ASM backend as well to have any effect.
I'm wondering the same thing! Does PB now let you toggle asm optimizations?luis wrote: Fri Feb 17, 2023 12:02 pmIsn't that option meaningful only for the C backend and when checked the compiler implement some code optimization ?Note: The optimizer needs to be manually enabled for ASM backend as well to have any effect.
Currently I enable it only if I have a "pbcompilerc" selected and I ignore it when using the ASM backend.