X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=gmqcc.ini.example;h=b99d2bfa2f181611717bbfe7afd84a967e07b7e7;hb=c7679722fb4f54bd5faa3fa6d1220c445a8a0bc1;hp=6f8f923b34d968d6045922d479fa27df7c05b8b4;hpb=793547a132108f09f1baf14a61f8cff0a6b61ba0;p=xonotic%2Fgmqcc.git diff --git a/gmqcc.ini.example b/gmqcc.ini.example index 6f8f923..b99d2bf 100644 --- a/gmqcc.ini.example +++ b/gmqcc.ini.example @@ -1,5 +1,5 @@ # This is an example INI file that can be used to set compiler options -# without the rquirement for supplying them as arguments on the command +# without the requirement for supplying them as arguments on the command # line, this can be coupled with progs.src. To utilize this file there # are two options availble, if it's named "gmqcc.ini" or "gmqcc.cfg" and # the file exists in the directory that GMQCC is invoked from, the compiler @@ -11,7 +11,7 @@ # These are common compiler flags usually represented via the -f prefix # from the command line. [flags] - # Enabling this can potentially reduces code size by overlapping + # Enabling this can potentially reduce code size by overlapping # locals where possible. OVERLAP_LOCALS = false @@ -99,9 +99,18 @@ # variables with the name 'nil' to be declared. PREMISSIVE = false - # Enable enhanced diagnostic messages. i.e provides a "did you mean" - # when you accidently typo. Amongst others - ENHANCED_DIAGNOSTICS = true + # Allow vararg access from within QC of the form: ...(argnumber, type) + VARIADIC_ARGS = true + + # Most Quake VMs, including the one from FTEQW or up till recently + # Darkplaces, do not cope well with vector instructions with overlapping + # input and output. This option will avoid producing such code. + LEGACY_VECTOR_MATHS = true + + # Builtin-numbers are usually just immediate constants. + # The following allows whole expressions to be used, as long as they + # are compile-time constant. + EXPRESSIONS_FOR_BUILTINS = false # These are all the warnings, usually present via the -W prefix from # the command line.