Skip to content

Instantly share code, notes, and snippets.

@gaker
Created August 24, 2009 04:50
Show Gist options
  • Save gaker/173667 to your computer and use it in GitHub Desktop.
Save gaker/173667 to your computer and use it in GitHub Desktop.
# make
g++ -ggdb -Wall -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -pthread -L/usr/local/lib -lfuse -lrt -ldl -lcurl -I/usr/include/libxml2 -lxml2 -lcrypto s3fs.cpp -o s3fs
s3fs.cpp: In function ‘std::string calc_signature(std::string, std::string, std::string, curl_slist*, std::string)’:
s3fs.cpp:426: warning: value computed is not used
s3fs.cpp: In function ‘int put_local_fd(const char*, headers_t, int)’:
s3fs.cpp:759: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 4 has type ‘__off_t’
s3fs.cpp: In function ‘int s3fs_readlink(const char*, char*, size_t)’:
s3fs.cpp:852: warning: comparison between signed and unsigned integer expressions
s3fs.cpp: At global scope:
s3fs.cpp:440: warning: ‘size_t readCallback(void*, size_t, size_t, void*)’ defined but not used
ok!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment