ThrowTheSwitch / Unity

Simple Unit Testing for C
ThrowTheSwitch.org
MIT License
4.1k stars 980 forks source link

Compilation error with Microsoft Visual Studio Community 2019 #568

Open sdelisle25 opened 3 years ago

sdelisle25 commented 3 years ago

Dear,

I tried to compile Unity master branch (2f7406572e6f11212536c99a839e1bf512fe3fb6) by using Visual Studio Community 2019 (Plateform Toolset: Visual Studio 2019 (v142)),

_Unity\src\unityinternals.h(57,1): fatal error C1083: Cannot open include file: 'stdnoreturn.h': No such file or directory

By using Plateform Toolset: Visual Studio 2017 (v141), the compilation is ok (__STDC_VERSION__ < 201112L).

I tried to use Plateform Toolset: LLVM (clang-cl) provided by Visual Studio 2019, but the compilation fails on different errors.

Best regards Sylvain Delisle

AJIOB commented 2 years ago

Hello @sdelisle25

Looks like current master branch has fixes for your issue.

Maybe you can check & close issue.

With regards, Alex