PEP 7: Prohibit compiler extensions in general, not just GCC, per #758 (#2263)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
This commit is contained in:
CAM Gerlach 2022-01-25 16:24:40 -06:00 committed by GitHub
parent 8723bc4945
commit 1f0826ea62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -50,8 +50,8 @@ C dialect
Future C99 features may be added to this list in the future
depending on compiler support (mostly significantly MSVC).
* Don't use GCC extensions (e.g. don't write multi-line strings
without trailing backslashes).
* Don't use compiler-specific extensions, such as those of GCC or MSVC
(e.g. don't write multi-line strings without trailing backslashes).
* All function declarations and definitions must use full prototypes
(i.e. specify the types of all arguments).