view cfg.test01 @ 746:a557d1b2a356

Move TH_ATTR_PRINTF_FMT macro definition to th_types.h and improve the preprocessor checks. Apparently newer versions (not sure since which version exactly) seem to work fine with the attribute defined. Enabling for MinGW GCC >= 12 for now, though it may have worked earlier.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 21 Dec 2022 13:19:02 +0200
parents 77495c646208
children
line wrap: on
line source

# Configuration written by th-libs unit tests 0.2

general = {
    # A comment that
    # spans multiple
    # lines automatically
    a_string_setting = "v_str1" #test

    # Hex triplet value setting
    hexval="11223344"

    # A boolean value
    boolval = no

    # A string list
    string_list = "\zoo",

   "foo",
"b\"ar"
}

another_sect = {
    # Another section
    boolval = yes
    inside_sect = {
        # Section inside a section
        intval
= 112
    }
}