Open hazrasudip9 opened 7 years ago
Could I have the complete error message with line numbers, also what compiler are you using.
syncfs.cpp: In function ‘int syncfs_readdir(const char, void, fuse_fill_dir_t, off_t, fuse_file_info)’:
syncfs.cpp:1027:34: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘off_t {aka long int}’ [-Wformat=]
buf, filler, offset, fi);
^
syncfs.cpp: In function ‘int pending_read(char, size_t, off_t, fuse_file_info)’:
syncfs.cpp:1641:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (offset >= len)
^
In file included from syncfs.cpp:55:0:
sqlite3.hpp: In instantiation of ‘void SqlResult::get0(int, T&, Ts& ...) [with T = long unsigned int; Ts = {const char}]’:
sqlite3.hpp:169:5: recursively required from ‘void SqlResult::get0(int, T&, Ts& ...) [with T = bool; Ts = {long int, long unsigned int, const char}]’
sqlite3.hpp:169:5: required from ‘void SqlResult::get0(int, T&, Ts& ...) [with T = std::__cxx11::basic_string
I am using GCC version gcc (Ubuntu 5.4.1-2ubuntu1~16.04) 5.4.1 20160904
. What changes to the make file needs to be done?
Gcc 5.4.1 may not support enough of C++11 you might need to upgrade to a newer version. See the README.
error: invalid initialization of non-const reference of type ‘long long int&’ from an rvalue of type ‘long long int’