mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
Fixes needed to compile swift with MSVC with the /permissive- switch
which enables more C++ standard conformance.
This commit is contained in:
committed by
Klaus Basan
parent
919a31b250
commit
df563d5b29
14
src/permissiveworkarounds.h
Normal file
14
src/permissiveworkarounds.h
Normal 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;
|
||||
Reference in New Issue
Block a user