From 9a17085b875085c40d8799fca03f03253c7a00eb Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Sun, 8 Oct 2023 11:45:42 +0800 Subject: [PATCH] fix a doc issue to add `/utf-8` on MSVC --- README.md | 1 + docs/quick-start/installation.md | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index 027bd9ed..ebce1fe3 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,7 @@ To compile it with your project, these flags must be set: + `--std=c++17` flag must be set + Exception must be enabled ++ For MSVC, `/utf-8` flag must be set For development build on Linux, use this snippet. ```bash diff --git a/docs/quick-start/installation.md b/docs/quick-start/installation.md index 4332c228..9a0f4f38 100644 --- a/docs/quick-start/installation.md +++ b/docs/quick-start/installation.md @@ -43,6 +43,7 @@ To compile it with your project, these flags must be set: + `--std=c++17` flag must be set + Exception must be enabled ++ For MSVC, `/utf-8` flag must be set For emscripten, you must enable exceptions to make pocketpy work properly. See https://emscripten.org/docs/porting/exceptions.html.