yrnkrn / zapcc

zapcc is a caching C++ compiler based on clang, designed to perform faster compilations
Other
1.25k stars 61 forks source link

Cannot compile using mingw-w64 #8

Closed Mathtin closed 6 years ago

Mathtin commented 6 years ago

Sure, mingw-w64 support is experimental. But there are only two errors: M_PI undefined - need to add _USE_MATH_DEFINES definition under mingw definition condition; InitializeProcThreadAttributeList undefined - need to specify _WIN32_WINNT > 0x0600;

yrnkrn commented 6 years ago

Fixed in aead2bda7dc2e7459159c9a49da60dfb8ea5fcf2 and f653b2dba4cc6c5a66f032222032366132fc9785.