Skip to content

Commit

Permalink
doc: add g++11 incompatibility with c++20
Browse files Browse the repository at this point in the history
Closes: nodejs#1007
  • Loading branch information
KevinEady committed Jun 11, 2021
1 parent b75afc4 commit 0a1b740
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doc/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,11 @@ targeted node version *does not* have Node-API built-in.

The preprocessor directive `NODE_ADDON_API_DISABLE_DEPRECATED` can be defined at
compile time before including `napi.h` to skip the definition of deprecated APIs.

## Known Issues

There is a known incompatibility between `node-addon-api` and `gcc-11` when
using the (currently
[experimental](https://gcc.gnu.org/onlinedocs/gcc-11.1.0/gcc/C-Dialect-Options.html#C-Dialect-Options))
`c++20` standard. This issue is tracked on the GCC bug tracker, see
[here](https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101032).

0 comments on commit 0a1b740

Please sign in to comment.