Fix MinGW warnings caused by the unknown MSVC pragmas
Merge branch 'awulkiew-fixes' into develop
Removed some unused typedef/variable warnings