move note about compiler

This commit is contained in:
Vaxry 2024-08-08 11:56:51 +02:00
parent 82eb59d6a1
commit 3f9b660a37

View file

@ -264,6 +264,13 @@ For updating later on, you can overwrite the binaries (hyprctl, hyprland, hyprpm
Dependencies: Dependencies:
{{< callout type=info >}}
Please note that Hyprland uses the C++26 standard, so both your compiler and your
C++ standard library has to support that (`gcc>=14` or `clang>=18`).
{{< /callout >}}
{{% details title="Arch" closed="true" %}} {{% details title="Arch" closed="true" %}}
```plain ```plain
@ -300,11 +307,6 @@ export CC=gcc CXX=g++ LDFLAGS="-static-libstdc++ -static-libgcc"
refer to the Ubuntu tab above refer to the Ubuntu tab above
Please note that Hyprland uses the C++23 standard, so both your compiler and your
C++ library has to support that (`gcc>=13.0.0` or `clang>=15`). On Clang-based
systems libc++ may be used by default, so until libc++ supports C++23 you have
to pass `-stdlib=libstdc++` or switch to GCC.
{{% /details %}} {{% /details %}}
{{< callout type=warning >}} {{< callout type=warning >}}