X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=gmqcc.ini.example;h=2b4920c6d19ad55585b67e6911d716c576546eac;hp=5c1ad3777a8c999ad7815492da0fec9f0ba3d927;hb=c74fabffda68fb97716afe9d70744a071f717795;hpb=def1a26b12ffdec8f8e09fb9c41459ad30f573d3 diff --git a/gmqcc.ini.example b/gmqcc.ini.example index 5c1ad37..2b4920c 100644 --- a/gmqcc.ini.example +++ b/gmqcc.ini.example @@ -346,6 +346,14 @@ #expense of additional instructions. SPLIT_VECTOR_PARAMETERS = false + #Force all expressions to be "eraseable" which permits the compiler + #to remove unused functions, variables and statements. This is + #equivlant to putting [[eraseable]] on all definitions. This is + #dangerous as it breaks auto cvars, definitions for functions the + #engine may be looking for and translatable strings. Instead, you + #can mark a definition with [[noerase]] to prevent this from happening. + DEFAULT_ERASEABLE = false + [warnings] #Generate a warning about variables which are declared but never #used. This can be avoided by adding the ‘noref’ keyword in front