core: Move to C++26 and use native_handle to CLOEXEC the debug fd (#7219)

Requires GCC >= 14 / Clang >= 18

---------

Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
This commit is contained in:
Vaxry
2024-08-08 10:54:41 +01:00
committed by GitHub
parent 9a09eac79b
commit 83a334f97d
7 changed files with 24 additions and 4 deletions

View File

@@ -6,7 +6,7 @@ project('Hyprland', 'cpp', 'c',
'optimization=3',
'buildtype=release',
'debug=false',
'cpp_std=c++23',
'cpp_std=c++26',
])
datarootdir = '-DDATAROOTDIR="' + get_option('prefix') / get_option('datadir') + '"'