Problem: Failures when char is unsigned.
Solution: Use int8_T. Make a CI run with unsigned char. (James McCoy,
closes #8936)
compiler: gcc
coverage: true
extra: testgui
+ uchar: true
- features: huge
compiler: clang
extra: asan
;;
esac
+ CFLAGS=""
if ${{ matrix.coverage == true }}; then
- echo "CFLAGS=--coverage -DUSE_GCOV_FLUSH"
+ CFLAGS="$CFLAGS --coverage -DUSE_GCOV_FLUSH"
echo "LDFLAGS=--coverage"
fi
+ if ${{ matrix.uchar == true }}; then
+ CFLAGS="$CFLAGS -funsigned-char"
+ fi
if ${{ contains(matrix.extra, 'testgui') }}; then
echo "TEST=-C src testgui"
fi
if ${{ contains(matrix.extra, 'vimtags') }}; then
echo "TEST=-C runtime/doc vimtags VIMEXE=../../${SRCDIR}/vim"
fi
+ echo "CFLAGS=$CFLAGS"
) >> $GITHUB_ENV
- name: Set up system
struct type_S {
vartype_T tt_type;
int8_T tt_argcount; // for func, incl. vararg, -1 for unknown
- char tt_min_argcount; // number of non-optional arguments
- char tt_flags; // TTFLAG_ values
+ int8_T tt_min_argcount; // number of non-optional arguments
+ char_u tt_flags; // TTFLAG_ values
type_T *tt_member; // for list, dict, func return type
type_T **tt_args; // func argument types, allocated
};
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 3481,
/**/
3480,
/**/