From 76a17ab251460b15f2645baa828480e326b3b5d7 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Wed, 8 Jan 2025 18:50:25 +0800 Subject: [PATCH] update docs about c99 --- README.md | 4 +++- docs/index.md | 4 +++- docs/quick-start.md | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3979ef74..dc4ec8d1 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,8 @@ Please see https://pocketpy.dev for details and try the following resources. pkpy should work on any platform with a C11 compiler. These platforms are officially tested. +> C99 compilers also work currently according to users' feedback. + + Windows 64-bit + Linux 64-bit / 32-bit + macOS 64-bit @@ -72,7 +74,7 @@ It is safe to use `main` branch in production if CI badge is green. To compile it with your project, these flags must be set: -+ `--std=c11` flag must be set ++ `--std=c11` flag must be set (`--std=c99` may also work) + For MSVC, `/utf-8` flag must be set + `NDEBUG` macro should be defined for release build, or you will get poor performance diff --git a/docs/index.md b/docs/index.md index 142daddd..21794657 100644 --- a/docs/index.md +++ b/docs/index.md @@ -29,9 +29,11 @@ print(primes) ## Supported platforms -pkpy should work on any platform with a C++17 compiler. +pkpy should work on any platform with a C11 compiler. These platforms are officially tested. +> C99 compilers also work currently according to users' feedback. + + Windows 64-bit + Linux 64-bit / 32-bit + macOS 64-bit diff --git a/docs/quick-start.md b/docs/quick-start.md index a585e3ab..99b4b0c2 100644 --- a/docs/quick-start.md +++ b/docs/quick-start.md @@ -29,7 +29,7 @@ It is safe to use `main` branch in production if CI badge is green. To compile it with your project, these flags must be set: -+ `--std=c11` flag must be set ++ `--std=c11` flag must be set (`--std=c99` may also work) + For MSVC, `/utf-8` flag must be set + `NDEBUG` macro should be defined for release build, or you will get poor performance