Re: How to add a -W flag in local Makefile
Date: Fri, 19 Apr 2024 10:58:19 UTC
Wei Hu <weh@microsoft.com> writes: > The same code already exists in Linux and Windows. Linux also added a compiling > flag to suppress similar warnings. That's not an excuse. The code makes no sense. > Anyway, the purpose of this email is to understand how to add such flags in local > Makefiles and make it effective for global buildkernel. Adding such flags > in local Makefiles already proves to be working when only building under local > directory. You would have to add it to every line in sys/conf/files* that references a C file which includes this header. DES -- Dag-Erling Smørgrav - des@FreeBSD.org