mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
build: Remove permissive workaround
Tested with MSVC 2022, this is no longer required.
This commit is contained in:
@@ -104,7 +104,6 @@ if(MSVC)
|
|||||||
add_compile_options(/utf-8)
|
add_compile_options(/utf-8)
|
||||||
add_compile_options(/permissive-)
|
add_compile_options(/permissive-)
|
||||||
add_compile_options(/Zc:lambda)
|
add_compile_options(/Zc:lambda)
|
||||||
add_compile_options(/FI${PROJECT_SOURCE_DIR}/src/permissiveworkarounds.h)
|
|
||||||
|
|
||||||
# Workaround C1128 error
|
# Workaround C1128 error
|
||||||
add_compile_options(/bigobj)
|
add_compile_options(/bigobj)
|
||||||
|
|||||||
@@ -1,8 +0,0 @@
|
|||||||
// SPDX-FileCopyrightText: Copyright (C) 2018 swift Project Community / Contributors
|
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
|
|
||||||
|
|
||||||
//! \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