Skip to content

Commit

Permalink
docs: warn about GCC 14 compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
tshakalekholoane committed Dec 14, 2024
1 parent 06f1187 commit d667936
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ usage: can [-h | -V] [--] file ...

The application can be built from source by cloning the repository and running the following commands which require working versions of [Make](https://www.gnu.org/software/make/) and a C compiler with C23 support.

> [!WARNING]
> [GCC 14 incorrectly uses `__STDC_VERSION__ == 202000` for C23](https://stackoverflow.com/a/78582932), which will produce an error even when the `-std=c23` flag is set.
```shell
git clone https://github.com/tshakalekholoane/can && cd can
make
Expand Down

0 comments on commit d667936

Please sign in to comment.