Fixes needed to compile swift with MSVC with the /permissive- switch

which enables more C++ standard conformance.
This commit is contained in:
Mat Sutcliffe
2018-10-28 21:55:54 +00:00
committed by Klaus Basan
parent 919a31b250
commit df563d5b29
6 changed files with 29 additions and 2 deletions

View File

@@ -0,0 +1,14 @@
/* Copyright (C) 2018
* swift project Community / Contributors
*
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
* directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project,
* including this file, may be copied, modified, propagated, or distributed except according to the terms
* contained in the LICENSE file.
*/
//! \file
// Workaround for "unexpected token 'identifier'" in combaseapi.h when compiling with /permissive-
// https://developercommunity.visualstudio.com/solutions/187139/view.html
struct IUnknown;