Package: 3depict
Version 0.0.22-1
Severity: normal

The error when compiling on ppc64el:

g++ -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 
-I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security --std=gnu++11   
-I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__  
-I/usr/include  -I/usr/include/libxml2 -L/lib -fopenmp -D_GLIBCXX_PARALLEL  
-pipe  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-Wformat -Werror=format-security --std=gnu++11 -c -o 
backend/3Depict-viscontrol.o `test -f 'backend/viscontrol.cpp' || echo 
In file included from /usr/include/qhull/qhull_a.h:28,
                 from backend/filters/algorithms/spatial.cpp:29:
/usr/include/qhull/libqhull.h:46:30: error: operator '&&' has no right operand
   46 | #if __MWERKS__ && __POWERPC__
      |                              ^ 
is due to the fact that __POWERPC__ macro is not defined by default on g++

A see a couple of solutions I have tested ,
- define __POWERPC__   before including  qhull_a.h
- or have the included library qhull_a.h using __powerpc__ instead of 

Reply via email to