]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - gmqcc.ini.example
Resolve undefined functions to compiler builtins if they exist.
[xonotic/gmqcc.git] / gmqcc.ini.example
index acff3b3daaecadc5868f60b1363d71b4c5f8040d..0a263df6da6631aeabfb159884ee30c3eb2bd093 100644 (file)
     DIRECTIVE_INMACRO = true
 
 
+    #When using a function that is not explicitly defined, the compiler
+    #will search its intrinsics table for something that matches that
+    #function name by appending "__builtin_" to it. This behaviour may
+    #be unexpected, so enabling this will produce a diagnostic when
+    #such a function is resolved to a builtin.
+
+    BUILTINS = true
+
 
 [optimizations]
     #Some general peephole optimizations. For instance the code `a = b