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 in row cpp #83

Open
coelhocarlos opened this issue Jul 15, 2017 · 3 comments
Open

error in row cpp #83

coelhocarlos opened this issue Jul 15, 2017 · 3 comments

Comments

@coelhocarlos
Copy link

g++ -I inc -I /usr/include/cryptopp -I sdk -std=c++0x -O0 -g -fstack-protector-all -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include/x86_64-linux-gnu -I/usr/include/fuse -D_GLIBCXX_DEBUG -c src/file_cache_row.cpp -o src/file_cache_row.o
src/file_cache_row.cpp: In static member function ‘static int CacheManager::numChunks(size_t)’:
src/file_cache_row.cpp:72:59: error: ‘ceil’ was not declared in this scope
return 8 + ceil(float(pos-end)/(8.0*ChunkedHash::SEGSIZE));
^
Makefile:43: recipe for target 'src/file_cache_row.o' failed
make: *** [src/file_cache_row.o] Error 1

@ghost
Copy link

ghost commented Jul 15, 2017

Architecture? Distribution? Version?

@Human
Copy link

Human commented Jul 28, 2017

@Findower For me, it's happening on x86_64 Ubuntu 17.04.

@Human
Copy link

Human commented Aug 1, 2017

I just saw that there are actually several PRs with the same fix, going back to November, none of which are merged.

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