Trusty Builds are Broken
kevinkreiser opened this issue · 0 comments
kevinkreiser commented
g++ -DHAVE_CONFIG_H -I. -I./prime_server -pthread -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>>/prime_server -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -std=c++11 -c -o src/prime_httpd-prime_httpd.o `test -f 'src/prime_httpd.cpp' || echo './'`src/prime_httpd.cpp
In file included from src/prime_serverd.cpp:14:0:
src/prime_helpers.hpp:12:84: error: default argument for template parameter for class enclosing ‘__lambda4’
const std::function<T(const std::string&)>& transform = [](const std::string& s) { return s; }) {
^
In file included from src/prime_httpd.cpp:2:0:
src/prime_helpers.hpp:12:84: error: default argument for template parameter for class enclosing ‘__lambda4’
const std::function<T(const std::string&)>& transform = [](const std::string& s) { return s; }) {
^
make[1]: *** [src/prime_serverd-prime_serverd.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Apparently the compilers there dont like this. Admittedly when I wrote it I was kind of worried it wouldn't work 😄
The question is do we care about trusty support anymore...