Page 1 sur 1

use #include "tex.h" rather than <tex.h>

Publié : jeu. juil. 04, 2019 8:34 am
par dimpase
In src/mathml.h there is `#include <tex.h>` which is not the right thing to do for an internal header, and indeed it breaks e.g. Sage's `giacpy_sage` package. Sage on Gentoo has the following patch

Code : Tout sélectionner

diff --git a/src/mathml.h b/src/mathml.h
index 31ce57a..49b43af 100644
--- a/src/mathml.h
+++ b/src/mathml.h
@@ -19,7 +19,7 @@
 #define _GIAC_MATHML_H
 
 #include "first.h"
-#include <tex.h>
+#include "tex.h"
 #include <string>
 
 #ifndef NO_NAMESPACE_GIAC 
and will need to add it on https://trac.sagemath.org/ticket/28101

Please fix this in Giac itself, as after all tex.h is and internal header and should be included as `#include "tex.h"`

Re: use #include "tex.h" rather than <tex.h>

Publié : jeu. juil. 04, 2019 10:46 am
par parisse