This file is indexed.

/usr/share/codeblocks/compilers/options_dmc.xml is in codeblocks-common 13.12-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
<?xml version="1.0"?>
<!DOCTYPE CodeBlocks_compiler_options>
<CodeBlocks_compiler_options>
    <Program name="C"         value="dmc.exe"/>
    <Program name="CPP"       value="dmc.exe"/>
    <Program name="LD"        value="link.exe"/>
    <Program name="LIB"       value="lib.exe"/>
    <Program name="WINDRES"   value="rcc.exe"/>
    <Program name="MAKE"      value="mingw32-make.exe"/>

    <Switch name="includeDirs"             value="-I"/>
    <Switch name="libDirs"                 value=""/>
    <Switch name="linkLibs"                value=""/>
    <Switch name="defines"                 value="-D"/>
    <Switch name="genericSwitch"           value="-"/>
    <Switch name="objectExtension"         value="obj"/>
    <Switch name="needDependencies"        value="false"/>
    <Switch name="forceCompilerUseQuotes"  value="false"/>
    <Switch name="forceLinkerUseQuotes"    value="true"/>
    <Switch name="logging"                 value="default"/>
    <Switch name="libPrefix"               value=""/>
    <Switch name="libExtension"            value="lib"/>
    <Switch name="linkerNeedsLibPrefix"    value="false"/>
    <Switch name="linkerNeedsLibExtension" value="true"/>

    <Option name="Produce debugging symbols"
            option="-g"
            category="Debugging"
            checkAgainst="-o -o+space"
            checkMessage="You have optimizations enabled. This is Not A Good Thing(tm) when producing debugging symbols..."/>

    <Category name="Warnings">
        <Option name="Suppress all warning messages"
                option="-w"/>
        <Option name="Warn on C style casts"
                option="-wc"/>
        <Option name="Treat warnings as errors"
                option="-wx"/>
        <Option name="Turn off error maximum"
                option="-x"/>
    </Category>

    <Category name="C++ Features">
        <Option name="Enforce strict compliance with ANSI C/C++"
                option="-A"/>
        <Option name="Enable new[] and delete[] overloading"
                option="-Aa"/>
        <Option name="Enable bool"
                option="-Ab"/>
        <Option name="Enable exception handling"
                option="-Ae"/>
        <Option name="Enable RTTI"
                option="-Ar"/>
        <Option name="Compile all source files as C++"
                option="-cpp"/>
        <Option name="Symbol info for globals"
                option="-gh"/>
        <Option name="Suppress non-ANSI predefined macros"
                option="-u"/>
        <Option name="Instantiate templates"
                option="-XD"/>
    </Category>

    <Category name="Debugging">
        <Option name="No inline function expansion"
                option="-C"/>
        <Option name="#define DEBUG 1"
                option="-D"/>
        <Option name="Debug line numbers only"
                option="-gl"/>
        <Option name="Debug symbol info only"
                option="-gs"/>
    </Category>

    <Category name="Optimization">
        <Option name="Fast inline 8087 code"
                option="-ff"/>
        <Option name="Disable debug info optimization"
                option="-gf"/>
        <Option name="Make static functions global"
                option="-gg"/>
        <Option name="No empty base class optimization"
                option="-Jb"/>
        <Option name="Perform function level linking"
                option="-Nc"/>
        <Option name="No default library"
                option="-NL"/>
        <Option name="Place expr strings in code seg"
                option="-Ns"/>
        <Option name="New code seg for each function"
                option="-NS"/>
        <Option name="Minimize space"
                option="-o+space"
                supersedes="-o"/>
        <Option name="Maximize speed"
                option="-o"
                supersedes="-o+space"/>
    </Category>

    <Category name="Linkage">
        <Option name="Make Pascal linkage the default"
                option="-P"/>
        <Option name="Make stdcall linkage the default"
                option="-Pz"/>
    </Category>

    <Category name="Others">
        <Option name="Generate .cod (assembly) file"
                option="-cod"/>
        <Option name="Generate .dep (make dependency) file"
                option="-d"/>
        <Option name="Show results of preprocessor"
                option="-e"/>
        <Option name="Do not elide comments"
                option="-EC"/>
        <Option name="#line directives not output"
                option="-EL"/>
        <Option name="IEEE 754 inline 8087 code"
                option="-f"/>
        <Option name="Work around FDIV problem"
                option="-fd"/>
        <Option name="Generate pointer validations"
                option="-gp"/>
        <Option name="Generate trace prolog/epilog"
                option="-gt"/>
        <Option name="Use precompiled headers (ph)"
                option="-H"/>
        <Option name="Include files only once"
                option="-HO"/>
        <Option name="Only search -I directories"
                option="-HS"/>
        <Option name="Relaxed type checking"
                option="-Jm"/>
        <Option name="char==unsigned"
                option="-Ju"/>
        <Option name="chars are unsigned"
                option="-J"/>
        <Option name="vtables in far data"
                option="-NV"/>
        <Option name="Turn off function auto-prototyping"
                option="-p"/>
        <Option name="Require strict function prototyping"
                option="-r"/>
        <Option name="Put switch tables in code seg"
                option="-R"/>
        <Option name="Stack overflow checking"
                option="-s"/>
        <Option name="Always generate stack frame"
                option="-S"/>
    </Category>

    <Category name="Architecture">
        <Option name="Windows prolog/epilog : Win32 Exe"
                option="-WA"
                supersedes="-WD"/>
        <Option name="Windows prolog/epilog : Win32 Dll"
                option="-WD"
                supersedes="-WA"/>
        <Option name="Optimize for 80386"
                option="-3"
                supersedes="-4 -5 -6"/>
        <Option name="Optimize for 80486"
                option="-4"
                supersedes="-3 -5 -6"/>
        <Option name="Optimize for Pentium"
                option="-5"
                supersedes="-3 -4 -6"/>
        <Option name="Optimize for Pentium Pro, Pentium II, Pentium III"
                option="-6"
                supersedes="-3 -4 -5"/>
    </Category>

    <Command name="CompileObject"
             value="$compiler -mn -c $options $includes -o$object $file"/>
    <Command name="CompileResource"
             value="$rescomp -32 $res_includes -o$resource_output $file"/>
    <Command name="LinkConsoleExe"
             value="$linker /NOLOGO $link_objects, $exe_output, , $libs $link_options"/>
    <Command name="LinkNative"
             value="$linker /NOLOGO $link_objects, $exe_output, , $libs $link_options"/>
    <Command name="LinkExe"
             value="$linker /NOLOGO /subsystem:windows $link_objects, $exe_output, , $libs $link_options, , $link_resobjects"/>
    <Command name="LinkDynamic"
             value="$linker /NOLOGO /subsystem:windows $link_objects, $exe_output, , $libs $link_options, , $link_resobjects"/>
    <Command name="LinkStatic"
             value="$lib_linker -c $link_options $static_output $link_objects"/>
    <Common name="cmds"/>

    <RegEx name="Linker error"
           type="error"
           msg="2"
           file="1">
        <![CDATA[([][{}() \t#%$~[:alnum:]&_:+/\.-]+)[ \t]+:[ \t]+(.*error LNK[0-9]+.*)]]>
    </RegEx>
    <RegEx name="Compiler warning"
           type="warning"
           msg="3"
           file="1"
           line="2">
        <![CDATA[([][{}() \t#%$~[:alnum:]&_:+/\.-]+)\(([0-9]+)\)[ \t]*:[ \t]*[Ww][Aa][Rr][Nn][Ii][Nn][Gg][ \t]*(.*)]]>
    </RegEx>
    <RegEx name="Compiler error"
           type="error"
           msg="3"
           file="1"
           line="2">
        <![CDATA[([][{}() \t#%$~[:alnum:]&_:+/\.-]+)\(([0-9]+)\)[ \t]*:[ \t]*(.*)]]>
    </RegEx>
    <RegEx name="Fatal error"
           type="error"
           msg="1">
        <![CDATA[Fatal error:[ \t](.*)]]>
    </RegEx>
</CodeBlocks_compiler_options>