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.

貢獻者指南