build: Remove permissive workaround

Tested with MSVC 2022, this is no longer required.
This commit is contained in:
Lars Toenning
2024-10-06 19:09:45 +02:00
parent 0599241929
commit 7cdec8eeb6
2 changed files with 0 additions and 9 deletions

View File

@@ -104,7 +104,6 @@ if(MSVC)
add_compile_options(/utf-8)
add_compile_options(/permissive-)
add_compile_options(/Zc:lambda)
add_compile_options(/FI${PROJECT_SOURCE_DIR}/src/permissiveworkarounds.h)
# Workaround C1128 error
add_compile_options(/bigobj)

View File

@@ -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;