From: Wolfgang (Blub) Bumiller Date: Tue, 18 Dec 2012 10:48:03 +0000 (+0100) Subject: Renaming gmqcc.init since it's used by default if it exists and it makes the testsuit... X-Git-Tag: 0.1.9~68 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=26f3370ea6f6a33a232d7c30166dff2a3589fc30;p=xonotic%2Fgmqcc.git Renaming gmqcc.init since it's used by default if it exists and it makes the testsuite fail --- diff --git a/gmqcc.ini b/gmqcc.ini deleted file mode 100644 index 748e206..0000000 --- a/gmqcc.ini +++ /dev/null @@ -1,51 +0,0 @@ -# this is a template for an ini file -# these are comments -; so are these - -[flags] - OVERLAP_LOCALS = false ; comments can exist on lines too - DARKPLACES_STRING_TABLE_BUG = false # like this as well - ADJUST_VECTOR_FIELDS = true - FTEPP = true - RELAXED_SWITCH = false - SHORT_LOGIC = false - PERL_LOGIC = true - TRANSLATABLE_STRINGS = false - INITIALIZED_NONCONSTANTS = false - ASSIGN_FUNCTION_TYPES = false - LNO = false - CORRECT_TERNARY = true - -# enable all warnings (minus debug) -[warnings] - DEBUG = false - UNUSED_VARIABLE = true - USED_UNINITIALIZED = true - UNKNOWN_CONTROL_SEQUENCE = true - EXTENSIONS = true - FIELD_REDECLARED = true - MISSING_RETURN_VALUES = true - TOO_FEW_PARAMETERS = true - LOCAL_SHADOWS = true - LOCAL_CONSTANTS = true - VOID_VARIABLES = true - IMPLICIT_FUNCTION_POINTER = true - VARIADIC_FUNCTION = true - FRAME_MACROS = true - EFFECTLESS_STATEMENT = true - END_SYS_FIELDS = true - ASSIGN_FUNCTION_TYPES = true - PREPROCESSOR = true - MULTIFILE_IF = true - DOUBLE_DECLARATION = true - CONST_VAR = true - MULTIBYTE_CHARACTER = true - TERNARY_PRECEDENCE = true - UNKNOWN_PRAGMAS = true - -; enable all optimizations! -[optimizations] - PEEPHOLE = true - LOCALTEMPS = true - TAIL_RECURSION = true - TAIL_CALLS = true diff --git a/gmqcc.ini.example b/gmqcc.ini.example new file mode 100644 index 0000000..748e206 --- /dev/null +++ b/gmqcc.ini.example @@ -0,0 +1,51 @@ +# this is a template for an ini file +# these are comments +; so are these + +[flags] + OVERLAP_LOCALS = false ; comments can exist on lines too + DARKPLACES_STRING_TABLE_BUG = false # like this as well + ADJUST_VECTOR_FIELDS = true + FTEPP = true + RELAXED_SWITCH = false + SHORT_LOGIC = false + PERL_LOGIC = true + TRANSLATABLE_STRINGS = false + INITIALIZED_NONCONSTANTS = false + ASSIGN_FUNCTION_TYPES = false + LNO = false + CORRECT_TERNARY = true + +# enable all warnings (minus debug) +[warnings] + DEBUG = false + UNUSED_VARIABLE = true + USED_UNINITIALIZED = true + UNKNOWN_CONTROL_SEQUENCE = true + EXTENSIONS = true + FIELD_REDECLARED = true + MISSING_RETURN_VALUES = true + TOO_FEW_PARAMETERS = true + LOCAL_SHADOWS = true + LOCAL_CONSTANTS = true + VOID_VARIABLES = true + IMPLICIT_FUNCTION_POINTER = true + VARIADIC_FUNCTION = true + FRAME_MACROS = true + EFFECTLESS_STATEMENT = true + END_SYS_FIELDS = true + ASSIGN_FUNCTION_TYPES = true + PREPROCESSOR = true + MULTIFILE_IF = true + DOUBLE_DECLARATION = true + CONST_VAR = true + MULTIBYTE_CHARACTER = true + TERNARY_PRECEDENCE = true + UNKNOWN_PRAGMAS = true + +; enable all optimizations! +[optimizations] + PEEPHOLE = true + LOCALTEMPS = true + TAIL_RECURSION = true + TAIL_CALLS = true