[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#961444: grcompiler FTBFS on architectures where char is unsigned



Source: grcompiler
Version: 5.2-1
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/package.php?p=grcompiler&suite=sid

...
 7/15 Test #13: compile_PadaukTest_v3 ...............Child aborted***Exception:   0.20 sec
Frexx C Preprocessor v1.5 Copyright (C) by FrexxWare 1993 - 1997.
Revised by SIL International for Graphite Description Language, May 24 2020
grcompiler: /<<PKGBUILDDIR>>/compiler/GdlExpression.cpp:3259: virtual void GdlSlotRefExpression::GenerateEngineCode(int, std::vector<unsigned char>&, int, std::vector<int>*, int, bool, int, int*): Assertion `(int)bOffset == nOffset' failed.
...


The build passes if I rewrite the line above the assert to
  signed char bOffset = (signed char)nOffset;
but someone who knows the code better should check what
is actually the correct fix.


Reply to: