giac headers use undefined uchar type

Librairie C++ de calcul formel/ C++ symbolic computation library

Modérateur : xcasadmin

sagitter
Messages : 31
Inscription : sam. mai 14, 2016 6:19 pm
Localisation : Italy

giac headers use undefined uchar type

Message par sagitter » mer. janv. 11, 2023 9:20 pm

Hi again.

Original bug ticket in Fedora: 2160197

sagemath is failing to build against giac-1.9.0-35 with this error:

Code : Tout sélectionner

INFO: gcc: sage/libs/gsl/array.c
/usr/include/giac/plot.h:842:12: error: ‘uchar’ was not declared in this scope; did you mean ‘u_char’?
  842 | void blend(uchar r1,uchar g1,uchar b1,uchar r2,uchar g2,uchar b2,double t,uchar &r,uchar &g,uchar &b);
      |            ^~~~~
      |            u_char
/usr/include/giac/plot.h:842:21: error: ‘uchar’ was not declared in this scope; did you mean ‘u_char’?
  842 | void blend(uchar r1,uchar g1,uchar b1,uchar r2,uchar g2,uchar b2,double t,uchar &r,uchar &g,uchar &b);
      |                     ^~~~~
      |                     u_char
/usr/include/giac/plot.h:842:30: error: ‘uchar’ was not declared in this scope; did you mean ‘u_char’?
  842 | void blend(uchar r1,uchar g1,uchar b1,uchar r2,uchar g2,uchar b2,double t,uchar &r,uchar &g,uchar &b);
      |                              ^~~~~
      |                              u_char
mailto: sagitter 'at' fedoraproject 'dot' org
https://fedoraproject.org/wiki/User:Sagitter

parisse
Messages : 5740
Inscription : mar. déc. 20, 2005 4:02 pm
Contact :

Re: giac headers use undefined uchar type

Message par parisse » jeu. janv. 12, 2023 7:07 am


Répondre