This is an automated email from the ASF dual-hosted git repository.

chaokunyang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fory-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 84aafa063 🔄 synced local 'docs/docs/guide/' with remote 'docs/guide/'
84aafa063 is described below

commit 84aafa06304c904213c9c36cb5d51ac2fd2601c3
Author: chaokunyang <[email protected]>
AuthorDate: Tue Dec 23 11:50:38 2025 +0000

    🔄 synced local 'docs/docs/guide/' with remote 'docs/guide/'
---
 docs/docs/guide/cpp/index.md | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/docs/docs/guide/cpp/index.md b/docs/docs/guide/cpp/index.md
index e31b99244..b623d6e00 100644
--- a/docs/docs/guide/cpp/index.md
+++ b/docs/docs/guide/cpp/index.md
@@ -52,7 +52,9 @@ project(my_project LANGUAGES CXX)
 
 set(CMAKE_CXX_STANDARD 17)
 set(CMAKE_CXX_STANDARD_REQUIRED ON)
-
+if(MSVC)
+    add_compile_options(/Zc:preprocessor)
+endif()
 include(FetchContent)
 FetchContent_Declare(
     fory


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to