summaryrefslogtreecommitdiff
path: root/GNUmakefile.mingw
diff options
context:
space:
mode:
authorBryan Ischo <bryan@ischo.com>2008-10-08 11:26:47 +0000
committerBryan Ischo <bryan@ischo.com>2008-10-08 11:26:47 +0000
commit3ed71a2e4f658bec7f0c886909bc3475778b7741 (patch)
tree68a3894dd3f13d4ff86c6e9ce685ee7c6abad042 /GNUmakefile.mingw
parent8cc18cbb67d459076d6d3df08b02c531d5ccc08f (diff)
downloadceph-libs3-3ed71a2e4f658bec7f0c886909bc3475778b7741.tar.gz
* Added -Wextra and -Wshadow compiler options, to enforce extra warnings, and
fixed the code necessary to comply with these flags * Fixed a bug introduced in the 1.0 release, that caused last modified time not to be reported to callbacks * Changed the semantics of the put data callback, to only make the callback enough times to get enough data to satisfy the content length * Fixed the error status when curl doesn't get a valid HTTP response from S3 to be S3StatusConnectionFailed instead of S3StatusHttpErrorUnknown * Fixed a bug where S3_runall_request_context would stop even though a callback had added another request * libs3.h doesn't need sys/time.h anymore, it just needs sys/select.h * Some minor documentation enhancements
Diffstat (limited to 'GNUmakefile.mingw')
-rw-r--r--GNUmakefile.mingw3
1 files changed, 2 insertions, 1 deletions
diff --git a/GNUmakefile.mingw b/GNUmakefile.mingw
index 27f3456..3451296 100644
--- a/GNUmakefile.mingw
+++ b/GNUmakefile.mingw
@@ -86,7 +86,8 @@ ifndef CFLAGS
CFLAGS = -O3
endif
-CFLAGS += -Wall -Werror -std=c99 -Iinc $(CURL_CFLAGS) $(LIBXML2_CFLAGS) \
+CFLAGS += -Wall -Werror -Wshadow -Wextra -std=c99 -Iinc \
+ $(CURL_CFLAGS) $(LIBXML2_CFLAGS) \
-DLIBS3_VER_MAJOR=\"$(LIBS3_VER_MAJOR)\" \
-DLIBS3_VER_MINOR=\"$(LIBS3_VER_MINOR)\" \
-Dsleep=Sleep -DFOPEN_EXTRA_FLAGS=\"b\" \