Adrian Bunk <b...@debian.org> writes:

> /usr/include/c++/7/limits:357:7: error: invalid abstract return type 
> 'pm::graph::EdgeMapBase'
>        denorm_min() _GLIBCXX_USE_NOEXCEPT { return _Tp(); }
>        ^~~~~~~~~~
> /build/1st/polymake-3.1/support/corelib.make:86: recipe for target 
> '../../perlx-5.26.0-x86_64-linux-gnu-thread-multi/RuleGraph.o' failed
> make[5]: *** [../../perlx-5.26.0-x86_64-linux-gnu-thread-multi/RuleGraph.o] 
> Error 1

I've pushed a patch to collab-maint that fixes this particular failure,
but it still needs something else related to -Werror=format-security
(below)

I suspect fedora will have a patch for this as they already transitioned
to gcc7, but I haven't had a chance to check yet.


g++ -c -o raycomputationcdd.o -fPIC -Wall -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -I/<<PKGBUILDDIR>>/include/core-wrappers 
-I/<<PKGBUILDDIR>>/include/core -I/<<PKGBUILDDIR>>/include/external/permlib 
-I/<<PKGBUILDDIR>>/bundled/sympol/include/app-wrappers 
-I/<<PKGBUILDDIR>>/bundled/sympol/include/apps 
-I../../../../../bundled/lrs/include/app-wrappers 
-I../../../../../bundled/lrs/include/apps 
-I../../../../../bundled/cdd/include/app-wrappers 
-I../../../../../bundled/cdd/include/apps 
-I/<<PKGBUILDDIR>>/include/app-wrappers -I/<<PKGBUILDDIR>>/include/apps 
-I/usr/include/cdd -I../../../../../bundled/sympol/external/sympol -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -std=c++14 -ftemplate-depth-200 -fno-strict-aliasing 
-Wno-parentheses -fwrapv -fopenmp -DPOLYMAKE_APPNAME=polytope  
-I/usr/include/cdd -I../../../../../bundled/sympol/external/sympol -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -std=c++14 -ftemplate-depth-200 -fno-strict-aliasing 
-Wno-parentheses -fwrapv -fopenmp -Wno-uninitialized -Wno-unused 
-Wno-parentheses -Wno-unused-but-set-variable -Wno-enum-compare 
-Wno-sign-compare -Wno-switch -Wno-format -Wno-write-strings -DNDEBUG 
-DPOLYMAKE_DEBUG=0 -O2 -I/<<PKGBUILDDIR>>/bundled/sympol/external/sympol/sympol 
 -DGMP -DLRS_QUIET -I/usr/include/cdd  -DGMPRATIONAL 
-I/<<PKGBUILDDIR>>/include/external/permlib -MD   
/<<PKGBUILDDIR>>/bundled/sympol/external/sympol/sympol/raycomputationcdd.cpp
cc1plus: error: -Wformat-security ignored without -Wformat 
[-Werror=format-security]

Reply via email to