Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trusty Builds are Broken #94

Open
kevinkreiser opened this issue Mar 2, 2021 · 0 comments
Open

Trusty Builds are Broken #94

kevinkreiser opened this issue Mar 2, 2021 · 0 comments
Labels

Comments

@kevinkreiser
Copy link
Owner

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant