sherwinchetan / s3fs

Automatically exported from code.google.com/p/s3fs
GNU General Public License v2.0
0 stars 0 forks source link

Warnings during build #82

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. make clean
2. make

What is the expected output? What do you see instead?

No warnings.

What version of the product are you using? On what operating system?

r193

Please provide any additional information below.

s3fs.cpp: In function ‘std::string calc_signature(std::string, std::string,
std::string, curl_slist*, std::string)’:
s3fs.cpp:453: warning: value computed is not used
s3fs.cpp: In function ‘int put_local_fd(const char*, headers_t, int)’:
s3fs.cpp:794: 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:892: warning: comparison between signed and unsigned integer
expressions
s3fs.cpp: At global scope:
s3fs.cpp:467: warning: ‘size_t readCallback(void*, size_t, size_t, void*)’
defined but not used

Original issue reported on code.google.com by sobu...@gmail.com on 12 Mar 2010 at 9:49

GoogleCodeExporter commented 8 years ago
I'm getting exactly the same warnings on CentOS 5.3 x64

Original comment by steve.bl...@gmail.com on 6 Apr 2010 at 3:20

GoogleCodeExporter commented 8 years ago
This solved the problem for me:

yum install openssl-devel
make clean
make

Original comment by dcchrist...@gmail.com on 8 Apr 2010 at 3:32

GoogleCodeExporter commented 8 years ago
In Debian Sid (s3fs r191), I only get this warning:

s3fs.cpp:467: warning: ‘size_t readCallback(void*, size_t, size_t, void*)’ 
defined but not used

Well understood. There's a function that isn't used.  The author may have put 
it there for future use.  Use the attached patch to make it go away.

Original comment by moore...@gmail.com on 1 Jul 2010 at 1:03

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by dmoore4...@gmail.com on 18 Oct 2010 at 9:12

GoogleCodeExporter commented 8 years ago

Original comment by dmoore4...@gmail.com on 18 Oct 2010 at 9:12

GoogleCodeExporter commented 8 years ago
Applied supplied patch - fixed in subversion revision 197

Original comment by dmoore4...@gmail.com on 18 Oct 2010 at 9:17