[dpdk-dev] [PATCH v4 02/11] ip_pipeline: added config checks

Thomas Monjalon thomas.monjalon at 6wind.com
Fri Jul 3 22:27:04 CEST 2015


There is an error with clang (tested with 3.6.1):

examples/ip_pipeline/config_check.c:63:26: error: comparison of integers of
      different signs: 'uint32_t' (aka 'unsigned int') and 'int' [-Werror,-Wsign-compare]
        APP_CHECK((app->n_links == __builtin_popcountll(app->port_mask)),
                   ~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/thomas/projects/dpdk/dpdk/examples/ip_pipeline/app.h:518:8: note: expanded from macro 'APP_CHECK'
        if (!(exp)) {                                                   \
              ^




More information about the dev mailing list