06-09-2022, 09:22 PM
(06-09-2022, 09:17 PM)DSMan195276 Wrote: Settings likeThanks for the explanation. That helped greatly.-O2,-O3, etc. are C++ compiler optimization settings. Generally speaking, they speed up (and usually decrease the size) of the compiled program by perform optimizations when compiling the C++ code. Theoretically it doesn't matter what it does because as a QB64 developer you're not writing the C++ code anyway.
Personally, if you're not familiar with what those flags do then I'm not sure I would recommend using it at this point, as it's still not extremely clear how stable QB64 programs are when compiled with that setting. That said a fair number of community members have been using them and I don't think I've seen any issues reported yet, so that is a good sign.
To use-O2you can simply check the 'Compile program with C++ optimization flag' option in that dialog. To use any other option besides-O2you'll have to put it into the compiler flags yourself.