asmaloney/libE57Format

MinGW fails to compile due to warnings

Offen

#247 geöffnet am 21.04.2023

 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C++ (82 Forks)auto 404
bughelp wanted

Repository-Metriken

Stars
 (187 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

(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.

Contributor Guide