WinObjC: WOCCatalog sample fails to build with "STL1000: Unexpected compiler version, expected Clang 6 or newer."

Trying to build the WOCCatalog sample fails with:

Severity	Code	Description	Project	File	Line	Suppression State
Error		STL1000: Unexpected compiler version, expected Clang 6 or newer.	WOCCatalog (WOCCatalog\WOCCatalog)	C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.14.26428\include\yvals.h	297	

I’m using Visual Studio Community 15.7.5 with winobjc installed via Chocolatey with the --pre flag, which I believe installed winobjc-tools 0.2.180221-dev-20180516000001. Otherwise, I’m just following the Quick Start Tutorial.

I’d try building and installing from the latest source, but #2883 prevents that.

About this issue

  • Original URL
  • State: open
  • Created 6 years ago
  • Comments: 15 (1 by maintainers)

Most upvoted comments

Latest prerelease WinObjC packages v0.2.180221 fixes that issue, you will also need WinObjC.Compiler package. So far I’ve tested with Visual Studio 15.7.X works fine, I suppose latest 15.8.X should be fine too.

It’s fixed now for clang 6 error. But with VS 15.9.0 getting expected Clang 7 or newer.