SOLVED! PB 6.04 CompilerIf #PB_Backend_Asm don't work
Posted: Tue Jan 09, 2024 9:03 pm
on PB6.04 LTS it is not possible to compile with
CompilerIf #PB_Backend_Asm because it is always #False and #PB_Backend_C is always #TRUE
// Moved from "Bugs - Windows" to "Coding Questions" (Kiffi)
CompilerIf #PB_Backend_Asm because it is always #False and #PB_Backend_C is always #TRUE
Code: Select all
; PureBasic 6.04 LTS (Windows - x64)
; does not matter which Compiler you adjust. It is always C-Backend!
Debug "#PB_Backend_Asm = " + #PB_Backend_Asm
Debug "#PB_Backend_C = " + #PB_Backend_C
CompilerIf #PB_Backend_Asm
MessageRequester("Backend!", "ASM-Backend")
CompilerElse
MessageRequester("Backend!", "C-Backend")
CompilerEndIf
CompilerIf #PB_Backend_C
MessageRequester("Backend!", "C-Backend")
CompilerElse
MessageRequester("Backend!", "ASM-Backend")
CompilerEndIf// Moved from "Bugs - Windows" to "Coding Questions" (Kiffi)