mingw_part=__windows
fi
- echo "build__${version}__unicode_${unicode_enabled}__xml_context_${xml_context}${libbsd_part}${mingw_part}"
+ local char_part=
+ if ${with_unsigned_char}; then
+ char_part=__unsigned_char
+ fi
+
+ echo "build__${version}__unicode_${unicode_enabled}__xml_context_${xml_context}${libbsd_part}${mingw_part}${char_part}"
}
local BASE_FLAGS='-pipe -Wall -Wextra -pedantic -Wno-overlength-strings'
BASE_FLAGS+=' --coverage --no-inline'
+ ${with_unsigned_char} && BASE_FLAGS="${BASE_FLAGS} -funsigned-char"
+
local CFLAGS="-std=c99 ${BASE_FLAGS}"
local CXXFLAGS="-std=c++98 ${BASE_FLAGS}"
}
# All combinations:
+ with_unsigned_char=false
with_libbsd=false
for with_mingw in true false ; do
for unicode_enabled in false ; do
# Single cases:
with_libbsd=true _build_case
+ with_unsigned_char=true _build_case
echo
echo 'Merging coverage files...'