Changeset 14371


Ignore:
Timestamp:
Dec 11, 2014, 5:25:26 AM (8 years ago)
Author:
mikedld
Message:

Fix utils test; move -Winline to C-only flags (it only harms C++)

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/CMakeLists.txt

    r14370 r14371  
    277277        -Wfloat-equal
    278278        -Wformat-security
    279         -Winline
    280279        -Wmissing-format-attribute
    281280        -Wpointer-arith
     
    293292    set(NEEDED_C_COMPILER_FLAGS
    294293        ${NEEDED_COMPILER_FLAGS}
     294        -Winline
    295295        -Wmissing-declarations
    296296        -Wnested-externs
  • trunk/libtransmission/utils-test.c

    r14370 r14371  
    122122  out = tr_utf8clean (in, 17);
    123123  check (out != NULL);
    124   check ((strlen (out) == 17) || (strlen (out) == 32));
     124  check ((strlen (out) == 17) || (strlen (out) == 33));
    125125  check (tr_utf8_validate (out, -1, NULL));
    126126  tr_free (out);
Note: See TracChangeset for help on using the changeset viewer.