libr3 is a high-performance path dispatching library. It compiles your route paths into a prefix tree (trie). By using the constructed prefix trie in the start-up time, you may dispatch your routes with efficiency
Clang warnings:
When building using a newer Clang with additional diagnostics the following warnings are indicated:
unused-but-set-variable
strict-prototypes
This is corrected by removing the unused variable and adding void to function definitions/declarations.
Reproducible using CC="clang-13" CFLAGS="-Wall -pedantic" cmake ..
GCC warnings:
When building with gcc >= 11 the following warning is indicated:
format-extra-args
This is corrected by replacing the use of the deprecated libcheck API fail_if() with ck_assert_msg according to recommendation.
coverage: 91.281% (-0.02%) from 91.304% when pulling 7c625f8f4c006ec5bb8059d6b154f84ea4279662 on Nordix:fix-warnings into c105117b40d1a7b2b9ddf1672cd08b11bd565bd9 on c9s:2.0.
Clang warnings: When building using a newer Clang with additional diagnostics the following warnings are indicated:
This is corrected by removing the unused variable and adding
void
to function definitions/declarations. Reproducible usingCC="clang-13" CFLAGS="-Wall -pedantic" cmake ..
GCC warnings: When building with gcc >= 11 the following warning is indicated:
This is corrected by replacing the use of the deprecated libcheck API
fail_if()
withck_assert_msg
according to recommendation.This warning can be seen in a CI run.