Skip to content

Instantly share code, notes, and snippets.

View weakcamel's full-sized avatar

Waldek Maleska weakcamel

  • United Kingdoom
View GitHub Profile
@weakcamel
weakcamel / mingw.h
Created March 29, 2015 18:19
fix proposal - warnings
$ git diff compat/mingw.h
diff --git a/compat/mingw.h b/compat/mingw.h
index 02ead6a..180b2c9 100644
--- a/compat/mingw.h
+++ b/compat/mingw.h
@@ -395,7 +395,7 @@ static inline char *mingw_find_last_dir_sep(const char *path)
int mingw_offset_1st_component(const char *path);
#define offset_1st_component mingw_offset_1st_component
#define PATH_SEP ';'
-#ifndef __MINGW64_VERSION_MAJOR
@weakcamel
weakcamel / gist:7ac5f7333923ab3d46a8
Created March 29, 2015 18:12
Fixed some, broken some
--- E:\PROJEKTY\git\stderr_broken.txt
+++ E:\PROJEKTY\git\stderr_fixed.txt
@@ -2,139 +2,34 @@
* new build flags
* new link flags
* new prefix flags
-pack-check.c: In function 'verify_packfile':
-pack-check.c:114:5: warning: unknown conversion type character 'l' in format [-Wformat=]
- err = error("index CRC mismatch for object %s "
- ^