I'm just trying to compile under MinGW32-W64 compiler.
Here there are some patches. I think that 91c8f61 can be used to format strings without check the potinters size. This code can be used also in other places, removing the printf-like code.
4c87b5f must be also included because when we compile using mingw-make tool, the directory schema uses the Windows convention (C:/xxxxx) instead Cygwin (/c/....). $(CURDIR) is filled by make tool with the correct value.
configure: permit to set build and base directories. Useful when used…
MinGW and MSYS enviroments.
Use $(CURDIR) instead $(shell pwd). This assures compatibility with M…
WIN32: Use WIN32's defines instead hardcoded values.
win32: Enable C++11 if compiler supports it.
mingw/win64: check for WIN64 and enable LLP64 schema.
Format string using ostringstream and avoiding #if/#endef
Don't compare signed with unsigned.
Include some Win32 libs to compile
MinGW doesn't implement a wide character startup module. Use standard…
… main() call instead.
Add Mingw32-W64 configuration
Fix compilation on WIN64 target
Remove some warning.
for performance reasons, we try to avoid std streams for functionality like this one
I reviewed all the proposed changes. Most are good, but some we can not merge:
The rest seems fine; please do modify and resubmit the pull.
most of these are useless now as you can cross-compile with cmake, see PR #651, #652, #653, #654
b399587, b2bdc0d( "Fix compilation on WIN64 target") are useless as _WIN32 is also defined when WIN64 is.
0076696 & 1e80c64 might be interesting though.
Mingw64 #414 (small portion)
0076696 merged, the rest passed on