asmaloney/libE57Format

MinGW fails to compile due to warnings

开放

#247 创建于 2023年4月21日

 (2 条评论) (0 个反应) (0 位负责人)C++ (82 个派生)auto 404
bughelp wanted

仓库指标

星标
 (187 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

(From here: https://github.com/asmaloney/libE57Format/issues/245#issuecomment-1518088249)

I think his fix in CRCpp (which is what I used here) won't work for MinGW.

@UshnaGul - can you try changing the checks in CheckedFile.cpp from

#if defined( WIN32 ) || defined( _WIN32 ) || defined( WINCE )

to

#if defined( _MSC_VER )

That should turn off the pragmas MinGW doesn't understand. Not sure if it will throw other errors though.

贡献者指南