Browse Source

update docs about c99

blueloveTH 1 năm trước cách đây
mục cha
commit
76a17ab251
3 tập tin đã thay đổi với 7 bổ sung3 xóa
  1. 3 1
      README.md
  2. 3 1
      docs/index.md
  3. 1 1
      docs/quick-start.md

+ 3 - 1
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
 

+ 3 - 1
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

+ 1 - 1
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