mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
doc: clarify the need of compiler compatible with c++20
Very often someone appear in the #node-core slack channel asking for guidance on this compilation error PR-URL: https://github.com/nodejs/node/pull/59297 Reviewed-By: Jacob Smith <jacob@frende.me> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
parent
55b7d2890d
commit
9bc923ac63
1 changed files with 5 additions and 0 deletions
|
@ -272,6 +272,11 @@ export CXX=g++-12
|
|||
make -j4
|
||||
```
|
||||
|
||||
> \[!IMPORTANT]
|
||||
> If you face a compilation error during this process such as
|
||||
> `error: no matching conversion for functional-style cast from 'unsigned int' to 'TypeIndex'`
|
||||
> Make sure to use a `g++` or `clang` version compatible with C++20.
|
||||
|
||||
We can speed up the builds by using [Ninja](https://ninja-build.org/). For more
|
||||
information, see
|
||||
[Building Node.js with Ninja](doc/contributing/building-node-with-ninja.md).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue