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

error: call to non-constexpr function ‘const _Tp& std::max #48

Closed
norrest opened this issue May 19, 2017 · 2 comments
Closed

error: call to non-constexpr function ‘const _Tp& std::max #48

norrest opened this issue May 19, 2017 · 2 comments

Comments

@norrest
Copy link

norrest commented May 19, 2017

Wshadow -Wpointer-arith -Wcast-qual -Wwrite-strings -Wsign-compare -MT src/output/libmpd_a-Source.o -MD -MP -MF src/output/.deps/libmpd_a-Source.Tpo -c -o src/output/libmpd_a-Source.o test -f 'src/output/Source.cxx' || echo './'src/output/Source.cxx
src/Main.cxx:129:23: error: call to non-constexpr function ‘const _Tp& std::max(const _Tp&, const _Tp&) [with _Tp = unsigned int]’
64 * KILOBYTE);
^
Makefile:14264: recipe for target 'src/Main.o' failed
make[1]: *** [src/Main.o] Error 1
make[1]: *** Waiting for unfinished jobs....

mpd ver
http://www.musicpd.org/download/mpd/0.20/mpd-0.20.7.tar.xz

@norrest
Copy link
Author

norrest commented May 19, 2017

Previously mpd-0.20.6 - ok!

@MaxKellermann
Copy link
Member

Duplicate of #45

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

No branches or pull requests

2 participants