diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2024-02-17 13:58:45 -0500 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2024-02-17 13:58:45 -0500 |
| commit | a155071981b401f72fa3dad4626c7a891ff8f761 (patch) | |
| tree | 595e0f92c21cb9a7c58aaa8e031942fed4357937 /docs | |
| parent | 3653b4cc73557ad9c57d1376dbc4ecddc2531b68 (diff) | |
fix -std syntax on clang examples
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/guide/type.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/guide/type.md b/docs/guide/type.md index ecfafc09..15a77d2a 100644 --- a/docs/guide/type.md +++ b/docs/guide/type.md @@ -295,11 +295,11 @@ From this example, the flags would be: ##### For Windows -For windows, there's no easy command to list all the include paths so you have to piece them together from the `Include Directory` property in a Visual Studio project. You also want to include `-x c -std c99` since Windows headers include lots of C++ types that the type importer currently does not support. +For windows, there's no easy command to list all the include paths so you have to piece them together from the `Include Directory` property in a Visual Studio project. You also want to include `-x c -std=c99` since Windows headers include lots of C++ types that the type importer currently does not support. You will end up with something like the following for user mode: - -x c -std c99 + -x c -std=c99 -isystem"C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29333\include" -isystem"C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt" -isystem"C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\shared" @@ -307,7 +307,7 @@ You will end up with something like the following for user mode: Or, for kernel mode: - -x c -std c99 + -x c -std=c99 -isystem"C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29333\include" -isystem"C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt" -isystem"C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\shared" |
