Page 1 of 1

Compiler Flags in first line of program

Posted: Mon Nov 05, 2007 8:25 pm
by Motu
it would be sometime usefull if you could place compilerflags in top of the program, because sometimes different programm version require different compilersetting:

compilerif NeedThreadSafty = 1
#PB_Compiler_Thread = 1
compilerelse
#PB_Compiler_Thread = 0
compilerend

Sometink like this :)

Re: Compiler Flags in first line of program

Posted: Sat Dec 29, 2007 4:43 am
by PB
Huh? That's up to the programmer, not PureBasic.