<?xml version="1.0"?>
<!DOCTYPE CodeBlocks_compiler_options>
<CodeBlocks_compiler_options>
    <Category name="General">
        <Option name="In C mode, support all ISO C90 programs. In C++ mode, remove GNU extensions that conflict with ISO C++"
                option="-ansi"/>
        <Option name="Have gcc follow the 1999 ISO C language standard"
                option="-std=c99"
                supersedes="-std=c++98 -std=c++0x -std=c++11 -std=c++14"/>
        <Option name="Have g++ follow the 1998 ISO C++ language standard"
                option="-std=c++98"
                supersedes="-std=c99 -std=c++0x -std=c++11 -std=c++14"/>
        <Option name="Have g++ follow the coming C++0x ISO C++ language standard"
                option="-std=c++0x"
                supersedes="-std=c99 -std=c++98 -std=c++11 -std=c++14"/>
        <if exec="C -dumpversion"
            regex="^4\.[7-9]|^[5-9]"
            default="true">
            <Option name="Have g++ follow the C++11 ISO C++ language standard"
                    option="-std=c++11"
                    supersedes="-std=c99 -std=c++98 -std=c++0x -std=c++14"/>
        </if>
        <if exec="C -dumpversion"
            regex="^[5-9]"
            default="true">
            <Option name="Have g++ follow the C++14 ISO C++ language standard"
                    option="-std=c++14"
                    supersedes="std=c99 -std=c++98 -std=c++0x -std=c++11"/>
        </if>
    </Category>
    <Category name="Warnings">
        <Option name="Enable all common compiler warnings (overrides many other settings)"
                option="-Wall"
                supersedes="-w"/>
        <Option name="Enable extra compiler warnings"
                option="-Wextra"/>
        <Option name="Stop compiling after first error"
                option="-Wfatal-errors"/>
        <Option name="Inhibit all warning messages"
                option="-w"
                supersedes="-Wall"/>
        <Option name="Enable warnings demanded by strict ISO C and ISO C++"
                option="-pedantic"/>
        <Option name="Treat as errors the warnings demanded by strict ISO C and ISO C++"
                option="-pedantic-errors"/>
        <Option name="Warn if main() is not conformant"
                option="-Wmain"/>
        <if exec="C -dumpversion"
            regex="^4\.[7-9]|^[5-9]"
            default="true">
            <Option name="Warn if '0' is used as a null pointer constant"
                    option="-Wzero-as-null-pointer-constant"/>
        </if>

    </Category>
</CodeBlocks_compiler_options>
