Closed Apteryks closed 6 months ago
Doing as GCC suggested fixes the build.
Another one, exposed while attempting to build autotrace:
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/gnu/store/0y1frga3xwcnj0qrzyq2m96nmd4625qq-imagemagick-6.9.1
3-5/include/ImageMagick-6 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -pthread -I/gn
u/store/z8fw63658ag30p3r20m8im5710as48rh-glib-2.72.3/include/glib-2.0 -I/gnu/store/z8fw63658ag30p3r20m8im5
710as48rh-glib-2.72.3/lib/glib-2.0/include -DLOCALEDIR=\"/gnu/store/wwrglnw01kc1d8llkyc759q57h659npk-autot
race-0.31.9/share/locale\" -g -O2 -c src/median.c -fPIC -DPIC -o src/.libs/median.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/gnu/store/0y1frga3xwcnj0qrzyq2m96nmd4625qq-imagemagick-6.9.1
3-5/include/ImageMagick-6 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -pthread -I/gn
u/store/z8fw63658ag30p3r20m8im5710as48rh-glib-2.72.3/include/glib-2.0 -I/gnu/store/z8fw63658ag30p3r20m8im5
710as48rh-glib-2.72.3/lib/glib-2.0/include -DLOCALEDIR=\"/gnu/store/wwrglnw01kc1d8llkyc759q57h659npk-autot
race-0.31.9/share/locale\" -g -O2 -c src/thin-image.c -fPIC -DPIC -o src/.libs/thin-image.o
In file included from src/output-pstoedit.c:30:
/gnu/store/9sh42hrzzd6kz86xpga7ppjw6a6rw735-pstoedit-4.00/include/pstoedit/pstoedit.h:105:48: error: unkno
wn type name ‘std’; did you mean ‘stdin’?
105 | void loadpstoeditplugins(const char* progname, std::ostream & errstream, bool verbose);
| ^~~
| stdin
src/output-pstoedit.c: In function ‘install_output_pstoedit_writers’:
Looks like the #ifdef are wrong for guarding the C++ sections?
Clarification: the above error appears to be during the build of autotrace; pstoedit builds fine itself.
Wolfgang Glunz - 2024-03-28 fixed in 4.01
https://sourceforge.net/p/pstoedit/bugs/33/ https://sourceforge.net/p/pstoedit/patches/5/
Hi,
Trying to build the latest version 4.0.0 with GCC 11, I get: