update docs about c99

This commit is contained in:
blueloveTH 2025-01-08 18:50:25 +08:00
parent c044f5dd65
commit 76a17ab251
3 changed files with 7 additions and 3 deletions

View File

@ -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. pkpy should work on any platform with a C11 compiler.
These platforms are officially tested. These platforms are officially tested.
> C99 compilers also work currently according to users' feedback.
+ Windows 64-bit + Windows 64-bit
+ Linux 64-bit / 32-bit + Linux 64-bit / 32-bit
+ macOS 64-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: 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 + For MSVC, `/utf-8` flag must be set
+ `NDEBUG` macro should be defined for release build, or you will get poor performance + `NDEBUG` macro should be defined for release build, or you will get poor performance

View File

@ -29,9 +29,11 @@ print(primes)
## Supported platforms ## 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. These platforms are officially tested.
> C99 compilers also work currently according to users' feedback.
+ Windows 64-bit + Windows 64-bit
+ Linux 64-bit / 32-bit + Linux 64-bit / 32-bit
+ macOS 64-bit + macOS 64-bit

View File

@ -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: 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 + For MSVC, `/utf-8` flag must be set
+ `NDEBUG` macro should be defined for release build, or you will get poor performance + `NDEBUG` macro should be defined for release build, or you will get poor performance