Closed
Description
Hello, I'm trying to build this project on Arch Linux and got the following warnings:
In file included from /home/builder/src/powershell/src/powershell-native/src/libpsl-native/src/getppid.cpp:11:
/usr/include/sys/sysctl.h:21:2: warning: #warning "The <sys/sysctl.h> header is deprecated and will be removed." [-Wcpp]
21 | #warning "The <sys/sysctl.h> header is deprecated and will be removed."
| ^~~~~~~
[ 24%] Building CXX object src/CMakeFiles/psl-native.dir/geterrorcategory.cpp.o
[ 26%] Building CXX object src/CMakeFiles/psl-native.dir/getinodedata.cpp.o
In file included from /home/builder/src/powershell/src/powershell-native/src/libpsl-native/src/getuserfrompid.cpp:15:
/usr/include/sys/sysctl.h:21:2: warning: #warning "The <sys/sysctl.h> header is deprecated and will be removed." [-Wcpp]
21 | #warning "The <sys/sysctl.h> header is deprecated and will be removed."
| ^~~~~~~
This forces me to remove the -Werror
flag in CMakeLists.txt
to be able to build and will be completely broken when glibc removes the header as stated in the warning.
Metadata
Metadata
Assignees
Labels
No labels