Package: libgiac-dev
Version: 1.9.0.35+dfsg2-1
Severity: serious
Tags: ftbfs
X-Debbugs-Cc: Rogo <rog...@proton.me>, Tobias Hansen <than...@debian.org>
Control: affects -1 src:sagemath

Minimal testcase for a problem from #1020576 breaking the sagemath build:

$ cat test.cc
#include <giac/giac.h>
$ g++ -c test.cc
In file included from /usr/include/giac/giac.h:37,
                 from test.cc:1:
/usr/include/giac/plot.h:842:6: error: variable or field ‘blend’ declared void
  842 | void blend(uchar r1,uchar g1,uchar b1,uchar r2,uchar g2,uchar b2,double 
t,uchar &r,uchar &g,uchar &b);
      |      ^~~~~
/usr/include/giac/plot.h:842:12: error: ‘uchar’ was not declared in this scope; 
did you mean ‘u_char’?
...


Adding (as in giac/signalprocessing.h)
  typedef unsigned char uchar;
at the top of giac.h or plot.h fixes the problem.

This bug is a regression from bullseye.

Reply via email to