This file is indexed.

/usr/share/codeblocks/compilers/options_msvc10.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
<?xml version="1.0"?>
<!DOCTYPE CodeBlocks_compiler_options>
<CodeBlocks_compiler_options>
    <Program name="C"         value="cl.exe"/>
    <Program name="CPP"       value="cl.exe"/>
    <Program name="LD"        value="link.exe"/>
    <Program name="DBGconfig" value=""/>
    <Program name="LIB"       value="link.exe"/>
    <Program name="WINDRES"   value="rc.exe"/>
    <Program name="MAKE"      value="nmake.exe"/>

    <Switch name="includeDirs"             value="/I"/>
    <Switch name="libDirs"                 value="/LIBPATH:"/>
    <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="false"/>
    <Switch name="logging"                 value="default"/>
    <Switch name="libPrefix"               value=""/>
    <Switch name="libExtension"            value="lib"/>
    <Switch name="linkerNeedsLibPrefix"    value="false"/>
    <Switch name="linkerNeedsLibExtension" value="true"/>

    <Category name="Debugging">
        <Option name="Produce debugging symbols"
                option="/Zi"
                additionalLibs="/DEBUG"
                checkAgainst="/Og /O1 /O2 /Os /Ot /Ox /NDEBUG"
                checkMessage="You have optimizations enabled. This is Not A Good Thing(tm) when producing debugging symbols..."/>
        <Option name="Enable Edit and Continue debug info"
                option="/ZI"
                checkAgainst="/Og /O1 /O2 /Os /Ot /Ox /NDEBUG"
                checkMessage="You have optimizations enabled. This is Not A Good Thing(tm) when producing debugging symbols..."/>
    </Category>

    <Category name="Language">
        <Option name="Disable extensions"
                option="/Za"/>
        <Option name="Enforce Standard C++ for scoping rules"
                option="/Zc:forScope"/>
        <Option name="wchar_t is the native type, not a typedef"
                option="/Zc:wchar_t"/>
        <Option name="enforce the new Standard C++ meaning for auto"
                option="/Zc:auto"/>
        <Option name="enable trigraphs (off by default)"
                option="/Zc:trigraphs"/>
        <Option name="Enable OpenMP 2.0 language extensions"
                option="/openmp"/>
    </Category>

    <Common name="warnings-msvc"/>
    <Option name="Enable one line diagnostics"
            option="/WL"
            category="Warnings"/>

    <Common name="optimize-msvc"/>
    <Category name="Optimization">
        <Option name="Enable intrinsic functions"
                option="/Oi"
                checkAgainst="/Zi /ZI"
                checkMessage="You have debugging symbols enabled. This is Not A Good Thing(tm) when optimizing..."/>
        <Option name="Enable frame pointer omission"
                option="/Oy"
                checkAgainst="/Zi /ZI"
                checkMessage="You have debugging symbols enabled. This is Not A Good Thing(tm) when optimizing..."/>
        <Option name="Inline expansion"
                option="/Ob"
                checkAgainst="/Zi /ZI"
                checkMessage="You have debugging symbols enabled. This is Not A Good Thing(tm) when optimizing..."/>
    </Category>

    <Common name="codegen"/>

    <Category name="Other">
        <Option name="Default char type is unsigned"
                option="/J"/>
        <Option name="Compile all files as .c"
                option="/TC"
                supersedes="/TP"/>
        <Option name="Compile all files as .cpp"
                option="/TP"
                supersedes="TC"/>
    </Category>

    <Common name="runtime"/>

    <Command name="CompileObject"
             value="$compiler /nologo $options $includes /c $file /Fo$object"/>
    <Command name="CompileResource"
             value="$rescomp $res_includes -fo$resource_output $file"/>
    <Command name="LinkExe"
             value="$linker /nologo /subsystem:windows $libdirs /out:$exe_output $libs $link_objects $link_resobjects $link_options"/>
    <Command name="LinkConsoleExe"
             value="$linker /nologo $libdirs /out:$exe_output $libs $link_objects $link_resobjects $link_options"/>
    <Command name="LinkDynamic"
             value="$linker /dll /nologo $libdirs /out:$exe_output $libs $link_objects $link_resobjects $link_options"/>
    <Command name="LinkStatic"
             value="$lib_linker /lib /nologo $libdirs /out:$static_output $libs $link_objects $link_resobjects $link_options"/>
    <Command name="LinkNative"
             value="$linker /nologo /subsystem:native $libdirs /out:$exe_output $libs $link_objects $link_resobjects $link_options"/>
    <Common name="cmds"/>

    <Common name="re-msvc"/>
</CodeBlocks_compiler_options>