Werror sys/types.h sys/sysmacros.h
A free file archiver for extremely high compression
Brought to you by:
ipavlov
Not sure if you want to help here, as this is a automated build as a dependency. But I figured letting you know would be better than patching it at the distro, as when compiling with werror it halts due to types.h which was changed about 4 years ago to deprecated?
Thanks.
I'll change the code to this:
Are there any additional cases where we must include
<sys/types.h>
instead of<sys/sysmacros.h>
?What exact cases where
major
macro is not placed insys/sysmacros.h
orsys/sysmacros.h
is not provided?I believe, at this time, that it's only gcc/g++ on Linux, that requires the change to compile, the change you made, was basically how I was gonna patch it myself if I didn't hear back. I believe all the other platforms still use types.h
Sent from Proton Mail mobile
-------- Original Message --------
On Sept 27, 2023, 10:05 p.m., Igor Pavlov wrote:
More info https://bugzilla.redhat.com/show_bug.cgi?id=130601#c6, The only thing I would check is that, there is not code that requires including types.h in the first place, as that won't be made available to the builds going forward on linux, with the suggested change. the major and minor defs do reside in types.h but is there anything else...
Last edit: Terrence Yellowquill-Hill 2023-09-28