Renaming gmqcc.init since it's used by default if it exists and it makes the testsuit...
[xonotic/gmqcc.git] / gmqcc.ini.example
1 # this is a template for an ini file
2 # these are comments
3 ; so are these
4
5 [flags]
6     OVERLAP_LOCALS               = false ; comments can exist on lines too
7     DARKPLACES_STRING_TABLE_BUG  = false # like this as well
8     ADJUST_VECTOR_FIELDS         = true
9     FTEPP                        = true
10     RELAXED_SWITCH               = false
11     SHORT_LOGIC                  = false
12     PERL_LOGIC                   = true
13     TRANSLATABLE_STRINGS         = false
14     INITIALIZED_NONCONSTANTS     = false
15     ASSIGN_FUNCTION_TYPES        = false
16     LNO                          = false
17     CORRECT_TERNARY              = true
18
19 # enable all warnings (minus debug)
20 [warnings]
21     DEBUG                        = false
22     UNUSED_VARIABLE              = true
23     USED_UNINITIALIZED           = true
24     UNKNOWN_CONTROL_SEQUENCE     = true
25     EXTENSIONS                   = true
26     FIELD_REDECLARED             = true
27     MISSING_RETURN_VALUES        = true
28     TOO_FEW_PARAMETERS           = true
29     LOCAL_SHADOWS                = true
30     LOCAL_CONSTANTS              = true
31     VOID_VARIABLES               = true
32     IMPLICIT_FUNCTION_POINTER    = true
33     VARIADIC_FUNCTION            = true
34     FRAME_MACROS                 = true
35     EFFECTLESS_STATEMENT         = true
36     END_SYS_FIELDS               = true
37     ASSIGN_FUNCTION_TYPES        = true
38     PREPROCESSOR                 = true
39     MULTIFILE_IF                 = true
40     DOUBLE_DECLARATION           = true
41     CONST_VAR                    = true
42     MULTIBYTE_CHARACTER          = true
43     TERNARY_PRECEDENCE           = true
44     UNKNOWN_PRAGMAS              = true
45
46 ; enable all optimizations!
47 [optimizations]
48     PEEPHOLE                     = true
49     LOCALTEMPS                   = true
50     TAIL_RECURSION               = true
51     TAIL_CALLS                   = true